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

Unified Diff: sky/engine/web/PageWidgetDelegate.cpp

Issue 687003002: Remove PageOverlays. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/web/PageWidgetDelegate.h ('k') | sky/engine/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/PageWidgetDelegate.cpp
diff --git a/sky/engine/web/PageWidgetDelegate.cpp b/sky/engine/web/PageWidgetDelegate.cpp
index c13ec87ed58423a7f2a928df2c5342a097a86234..585da257aea1da1a500274cad732a47b0e762599 100644
--- a/sky/engine/web/PageWidgetDelegate.cpp
+++ b/sky/engine/web/PageWidgetDelegate.cpp
@@ -41,7 +41,6 @@
#include "platform/Logging.h"
#include "platform/graphics/GraphicsContext.h"
#include "public/web/WebInputEvent.h"
-#include "web/PageOverlayList.h"
#include "web/WebInputEventConversion.h"
#include "wtf/CurrentTime.h"
@@ -80,7 +79,7 @@ void PageWidgetDelegate::layout(Page* page, LocalFrame* rootFrame)
page->animator().updateLayoutAndStyleForPainting(rootFrame);
}
-void PageWidgetDelegate::paint(Page* page, PageOverlayList* overlays, WebCanvas* canvas, const WebRect& rect, CanvasBackground background, LocalFrame* rootFrame)
+void PageWidgetDelegate::paint(Page* page, WebCanvas* canvas, const WebRect& rect, CanvasBackground background, LocalFrame* rootFrame)
{
if (rect.isEmpty())
return;
@@ -94,8 +93,6 @@ void PageWidgetDelegate::paint(Page* page, PageOverlayList* overlays, WebCanvas*
if (view) {
gc.clip(dirtyRect);
view->paint(&gc, dirtyRect);
- if (overlays)
- overlays->paintWebFrame(gc);
} else {
gc.fillRect(dirtyRect, Color::white);
}
« no previous file with comments | « sky/engine/web/PageWidgetDelegate.h ('k') | sky/engine/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698