Web Inspector: webViewResized() is not used anywhere in WebInspectorUI
authorseokju@webkit.org <seokju@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Dec 2013 18:08:34 +0000 (18:08 +0000)
committerseokju@webkit.org <seokju@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Dec 2013 18:08:34 +0000 (18:08 +0000)
https://bugs.webkit.org/show_bug.cgi?id=125137

Reviewed by Darin Adler.

Remove leftover code.

No new tests, no behavior changes.

* inspector/InspectorController.cpp:
* inspector/InspectorController.h:
* inspector/InspectorOverlay.cpp:
* inspector/InspectorOverlay.h:
* inspector/InspectorPageAgent.cpp:
* inspector/InspectorPageAgent.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160012 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/InspectorController.cpp
Source/WebCore/inspector/InspectorController.h
Source/WebCore/inspector/InspectorOverlay.cpp
Source/WebCore/inspector/InspectorOverlay.h
Source/WebCore/inspector/InspectorPageAgent.cpp
Source/WebCore/inspector/InspectorPageAgent.h

index a2cac5b..b20c946 100644 (file)
@@ -1,3 +1,21 @@
+2013-12-03  Seokju Kwon  <seokju@webkit.org>
+
+        Web Inspector: webViewResized() is not used anywhere in WebInspectorUI
+        https://bugs.webkit.org/show_bug.cgi?id=125137
+
+        Reviewed by Darin Adler.
+
+        Remove leftover code.
+
+        No new tests, no behavior changes.
+
+        * inspector/InspectorController.cpp:
+        * inspector/InspectorController.h:
+        * inspector/InspectorOverlay.cpp:
+        * inspector/InspectorOverlay.h:
+        * inspector/InspectorPageAgent.cpp:
+        * inspector/InspectorPageAgent.h:
+
 2013-12-03  László Langó  <lango@inf.u-szeged.hu>
 
         ASSERTION FAILED: !value || (value->isPrimitiveValue()) in WebCore::StyleProperties::getLayeredShorthandValue.
index d7516a5..bdb8e17 100644 (file)
@@ -279,11 +279,6 @@ void InspectorController::setProcessId(long processId)
     IdentifiersFactory::setProcessId(processId);
 }
 
-void InspectorController::webViewResized(const IntSize& size)
-{
-    m_pageAgent->webViewResized(size);
-}
-
 bool InspectorController::isUnderTest()
 {
     return m_isUnderTest;
index 95ec7e3..7d90a01 100644 (file)
@@ -95,7 +95,6 @@ public:
     void connectFrontend(InspectorFrontendChannel*);
     void disconnectFrontend();
     void setProcessId(long);
-    void webViewResized(const IntSize&);
 
     void inspect(Node*);
     void drawHighlight(GraphicsContext&) const;
index 9be4bf0..286841f 100644 (file)
@@ -275,12 +275,6 @@ void InspectorOverlay::getHighlight(Highlight* highlight) const
         buildQuadHighlight(m_page, *m_highlightQuad, m_quadHighlightConfig, highlight);
 }
 
-void InspectorOverlay::resize(const IntSize& size)
-{
-    m_size = size;
-    update();
-}
-
 void InspectorOverlay::setPausedInDebuggerMessage(const String* message)
 {
     m_pausedInDebuggerMessage = message ? *message : String();
index 9f6d287..ef99230 100644 (file)
@@ -113,7 +113,6 @@ public:
     void paint(GraphicsContext&);
     void drawOutline(GraphicsContext*, const LayoutRect&, const Color&);
     void getHighlight(Highlight*) const;
-    void resize(const IntSize&);
 
     void setPausedInDebuggerMessage(const String*);
 
index 3247d3d..73d906d 100644 (file)
@@ -386,11 +386,6 @@ void InspectorPageAgent::willDestroyFrontendAndBackend()
 #endif
 }
 
-void InspectorPageAgent::webViewResized(const IntSize& size)
-{
-    m_overlay->resize(m_screenWidthOverride ? size : IntSize());
-}
-
 void InspectorPageAgent::enable(ErrorString*)
 {
     m_enabled = true;
index 8f4bd44..c121141 100644 (file)
@@ -165,8 +165,6 @@ public:
     virtual void didCreateFrontendAndBackend(InspectorFrontendChannel*, InspectorBackendDispatcher*) OVERRIDE;
     virtual void willDestroyFrontendAndBackend() OVERRIDE;
 
-    void webViewResized(const IntSize&);
-
     // Cross-agents API
     Page* page() { return m_page; }
     Frame* mainFrame();