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

Unified Diff: third_party/WebKit/Source/web/WebPagePopupImpl.cpp

Issue 2868173002: Add PlatformLocalFrame class. (Closed)
Patch Set: this time with new file included Created 3 years, 7 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 | « third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebPagePopupImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
index 27fd14f47a416696251aa34584c15ccf0bbf6fdf..b1c5474125dbb6264ccb43209171a67987a482b7 100644
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
@@ -89,9 +89,8 @@ class PagePopupChromeClient final : public EmptyChromeClient {
IntRect RootWindowRect() override { return popup_->WindowRectInScreen(); }
- IntRect ViewportToScreen(
- const IntRect& rect,
- const FrameViewBase* frame_view_base) const override {
+ IntRect ViewportToScreen(const IntRect& rect,
+ const PlatformLocalFrame*) const override {
WebRect rect_in_screen(rect);
WebRect window_rect = popup_->WindowRectInScreen();
popup_->WidgetClient()->ConvertViewportToWindow(&rect_in_screen);
@@ -124,7 +123,7 @@ class PagePopupChromeClient final : public EmptyChromeClient {
popup_->WidgetClient()->DidInvalidateRect(paint_rect);
}
- void ScheduleAnimation(LocalFrame*) override {
+ void ScheduleAnimation(const PlatformLocalFrame*) override {
// Calling scheduleAnimation on m_webView so WebViewTestProxy will call
// beginFrame.
if (LayoutTestSupport::IsRunningLayoutTest())
« no previous file with comments | « third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698