Commit 824882fa authored by seokju@webkit.org's avatar 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:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0af5841b
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.
......@@ -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;
......
......@@ -95,7 +95,6 @@ public:
void connectFrontend(InspectorFrontendChannel*);
void disconnectFrontend();
void setProcessId(long);
void webViewResized(const IntSize&);
void inspect(Node*);
void drawHighlight(GraphicsContext&) const;
......
......@@ -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();
......
......@@ -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*);
......
......@@ -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;
......
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment