Title: [131980] trunk/Source/WebKit2
- Revision
- 131980
- Author
- [email protected]
- Date
- 2012-10-19 23:28:46 -0700 (Fri, 19 Oct 2012)
Log Message
[EFL][WK2] Change the title of inspector window when inspected page is changed
https://bugs.webkit.org/show_bug.cgi?id=99684
Patch by Seokju Kwon <[email protected]> on 2012-10-19
Reviewed by Gyuyoung Kim.
Implement platformInspectedURLChanged() to change the title of inspector window
when inspected page is changed.
* UIProcess/efl/WebInspectorProxyEfl.cpp:
(WebKit::WebInspectorProxy::platformInspectedURLChanged):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (131979 => 131980)
--- trunk/Source/WebKit2/ChangeLog 2012-10-20 06:05:14 UTC (rev 131979)
+++ trunk/Source/WebKit2/ChangeLog 2012-10-20 06:28:46 UTC (rev 131980)
@@ -1,3 +1,16 @@
+2012-10-19 Seokju Kwon <[email protected]>
+
+ [EFL][WK2] Change the title of inspector window when inspected page is changed
+ https://bugs.webkit.org/show_bug.cgi?id=99684
+
+ Reviewed by Gyuyoung Kim.
+
+ Implement platformInspectedURLChanged() to change the title of inspector window
+ when inspected page is changed.
+
+ * UIProcess/efl/WebInspectorProxyEfl.cpp:
+ (WebKit::WebInspectorProxy::platformInspectedURLChanged):
+
2012-10-19 Dan Bernstein <[email protected]>
Add bundle API for hit-testing
Modified: trunk/Source/WebKit2/UIProcess/efl/WebInspectorProxyEfl.cpp (131979 => 131980)
--- trunk/Source/WebKit2/UIProcess/efl/WebInspectorProxyEfl.cpp 2012-10-20 06:05:14 UTC (rev 131979)
+++ trunk/Source/WebKit2/UIProcess/efl/WebInspectorProxyEfl.cpp 2012-10-20 06:28:46 UTC (rev 131980)
@@ -133,9 +133,13 @@
return false;
}
-void WebInspectorProxy::platformInspectedURLChanged(const String&)
+void WebInspectorProxy::platformInspectedURLChanged(const String& url)
{
- notImplemented();
+ if (!m_inspectorWindow)
+ return;
+
+ String title = "WebInspector - " + url;
+ ecore_evas_title_set(m_inspectorWindow, title.utf8().data());
}
String WebInspectorProxy::inspectorPageURL() const
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes