Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1094)

Unified Diff: Source/core/page/Chrome.cpp

Issue 13851023: Remove ChromeClient cruft (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/Chrome.h ('k') | Source/core/page/ChromeClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Chrome.cpp
diff --git a/Source/core/page/Chrome.cpp b/Source/core/page/Chrome.cpp
index 1def1b5e9800cebda9c6155dc57b990716838151..293d5755a38c55c6dd4d865468542908926cbc45 100644
--- a/Source/core/page/Chrome.cpp
+++ b/Source/core/page/Chrome.cpp
@@ -79,11 +79,6 @@ PassOwnPtr<Chrome> Chrome::create(Page* page, ChromeClient* client)
return adoptPtr(new Chrome(page, client));
}
-void Chrome::invalidateRootView(const IntRect& updateRect)
-{
- m_client->invalidateRootView(updateRect);
-}
-
void Chrome::invalidateContentsAndRootView(const IntRect& updateRect)
{
m_client->invalidateContentsAndRootView(updateRect);
@@ -175,11 +170,6 @@ void Chrome::focusedNodeChanged(Node* node) const
m_client->focusedNodeChanged(node);
}
-void Chrome::focusedFrameChanged(Frame* frame) const
-{
- m_client->focusedFrameChanged(frame);
-}
-
Page* Chrome::createWindow(Frame* frame, const FrameLoadRequest& request, const WindowFeatures& features, const NavigationAction& action) const
{
Page* newPage = m_client->createWindow(frame, request, features, action);
@@ -360,15 +350,6 @@ void Chrome::setStatusbarText(Frame* frame, const String& status)
m_client->setStatusbarText(frame->displayStringModifiedByEncoding(status));
}
-bool Chrome::shouldInterruptJavaScript()
-{
- // Defer loads in case the client method runs a new event loop that would
- // otherwise cause the load to continue while we're in the middle of executing JavaScript.
- PageGroupLoadDeferrer deferrer(m_page, true);
-
- return m_client->shouldInterruptJavaScript();
-}
-
IntRect Chrome::windowResizerRect() const
{
return m_client->windowResizerRect();
@@ -505,16 +486,6 @@ bool ChromeClient::paintCustomOverhangArea(GraphicsContext*, const IntRect&, con
return false;
}
-bool Chrome::selectItemWritingDirectionIsNatural()
-{
- return m_client->selectItemWritingDirectionIsNatural();
-}
-
-bool Chrome::selectItemAlignmentFollowsMenuWritingDirection()
-{
- return m_client->selectItemAlignmentFollowsMenuWritingDirection();
-}
-
bool Chrome::hasOpenedPopup() const
{
return m_client->hasOpenedPopup();
@@ -532,11 +503,6 @@ PassRefPtr<SearchPopupMenu> Chrome::createSearchPopupMenu(PopupMenuClient* clien
return m_client->createSearchPopupMenu(client);
}
-bool Chrome::requiresFullscreenForVideoPlayback()
-{
- return m_client->requiresFullscreenForVideoPlayback();
-}
-
void Chrome::registerPopupOpeningObserver(PopupOpeningObserver* observer)
{
ASSERT(observer);
« no previous file with comments | « Source/core/page/Chrome.h ('k') | Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698