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

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.cpp

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 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
Index: third_party/WebKit/Source/core/frame/VisualViewport.cpp
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
index 8b88e82bdb3d9b1d1a9615b3aff2850ecb11372c..36f962068c3dd39c9ee25752b4aa7b901fa75685 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
@@ -151,7 +151,7 @@ FloatRect VisualViewport::visibleRectInDocument() const
if (!mainFrame() || !mainFrame()->view())
return FloatRect();
- FloatPoint viewLocation = FloatPoint(mainFrame()->view()->scrollableArea()->scrollPositionDouble());
+ FloatPoint viewLocation = FloatPoint(mainFrame()->view()->getScrollableArea()->scrollPositionDouble());
return FloatRect(viewLocation, visibleSize());
}
@@ -431,7 +431,7 @@ void VisualViewport::clearLayersForTreeView(WebLayerTreeView* layerTreeView) con
layerTreeView->clearViewportLayers();
}
-HostWindow* VisualViewport::hostWindow() const
+HostWindow* VisualViewport::getHostWindow() const
{
return &frameHost().chromeClient();
}
@@ -583,7 +583,7 @@ LocalFrame* VisualViewport::mainFrame() const
return frameHost().page().mainFrame() && frameHost().page().mainFrame()->isLocalFrame() ? frameHost().page().deprecatedLocalMainFrame() : 0;
}
-Widget* VisualViewport::widget()
+Widget* VisualViewport::getWidget()
{
return mainFrame()->view();
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/VisualViewport.h ('k') | third_party/WebKit/Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698