Changeset 126960 in webkit
- Timestamp:
- Aug 28, 2012 10:54:51 PM (12 years ago)
- Location:
- trunk/Source/WebKit/efl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/efl/ChangeLog
r126926 r126960 1 2012-08-28 Seokju Kwon <seokju.kwon@samsung.com> 2 3 [EFL] Add support for localization to the Web Inspector 4 https://bugs.webkit.org/show_bug.cgi?id=92961 5 6 Reviewed by Gyuyoung Kim. 7 8 Implement InspectorFrontendClientEfl::localizedStringsURL() 9 to return the URL of the localizedStrings.js. 10 11 * WebCoreSupport/InspectorClientEfl.cpp: 12 (WebCore::InspectorClientEfl::openInspectorFrontend): 13 (WebCore::InspectorClientEfl::inspectorFilesPath): 14 (WebCore::InspectorFrontendClientEfl::localizedStringsURL): 15 1 16 2012-08-28 Sheriff Bot <webkit.review.bot@gmail.com> 2 17 -
trunk/Source/WebKit/efl/WebCoreSupport/InspectorClientEfl.cpp
r123831 r126960 94 94 m_inspectorView = inspectorView; 95 95 96 String inspectorUri = inspectorFilesPath() ;96 String inspectorUri = inspectorFilesPath() + "/inspector.html"; 97 97 ewk_view_uri_set(m_inspectorView, inspectorUri.utf8().data()); 98 98 … … 141 141 String InspectorClientEfl::inspectorFilesPath() 142 142 { 143 String inspectorFilesPath = makeString("file://", WEB_INSPECTOR_INSTALL_DIR, "/inspector.html");144 if (access(inspectorFilesPath.utf8().data(), R_OK)) // On success, zero is returned145 inspectorFilesPath = makeString("file://", WEB_INSPECTOR_DIR, "/inspector.html");143 String inspectorFilesPath = "file://" + String(WEB_INSPECTOR_INSTALL_DIR); 144 if (access(inspectorFilesPath.utf8().data(), R_OK)) 145 inspectorFilesPath = "file://" + String(WEB_INSPECTOR_DIR); 146 146 147 147 return inspectorFilesPath; … … 169 169 String InspectorFrontendClientEfl::localizedStringsURL() 170 170 { 171 notImplemented(); 172 return String(); 171 return m_inspectorClient->inspectorFilesPath() + "/localizedStrings.js"; 173 172 } 174 173
Note: See TracChangeset
for help on using the changeset viewer.