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

Unified Diff: Source/web/PageOverlay.cpp

Issue 1264483002: PageOverlays: Remove PageOverlayList (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 5 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/web/PageOverlay.h ('k') | Source/web/PageOverlayList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/PageOverlay.cpp
diff --git a/Source/web/PageOverlay.cpp b/Source/web/PageOverlay.cpp
index ee9c9775a7de578dc4bca497783d46b6621ee36f..12aa5767f08c4042c80e12099dcc59515ec188a5 100644
--- a/Source/web/PageOverlay.cpp
+++ b/Source/web/PageOverlay.cpp
@@ -36,7 +36,6 @@
#include "platform/graphics/GraphicsLayer.h"
#include "platform/graphics/GraphicsLayerClient.h"
#include "public/platform/WebLayer.h"
-#include "public/web/WebPageOverlay.h"
#include "public/web/WebViewClient.h"
#include "web/WebDevToolsAgentImpl.h"
#include "web/WebGraphicsContextImpl.h"
@@ -44,19 +43,18 @@
namespace blink {
-PassOwnPtr<PageOverlay> PageOverlay::create(WebViewImpl* viewImpl, WebPageOverlay* overlay)
+PassOwnPtr<PageOverlay> PageOverlay::create(WebViewImpl* viewImpl, PassOwnPtr<PageOverlay::Delegate> overlay)
{
return adoptPtr(new PageOverlay(viewImpl, overlay));
}
-PageOverlay::PageOverlay(WebViewImpl* viewImpl, WebPageOverlay* overlay)
+PageOverlay::PageOverlay(WebViewImpl* viewImpl, PassOwnPtr<PageOverlay::Delegate> overlay)
: m_viewImpl(viewImpl)
, m_overlay(overlay)
- , m_zOrder(0)
{
}
-void PageOverlay::clear()
+PageOverlay::~PageOverlay()
{
invalidateWebFrame();
« no previous file with comments | « Source/web/PageOverlay.h ('k') | Source/web/PageOverlayList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698