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

Unified Diff: Source/web/WebPageOverlay.cpp

Issue 922713002: Remove legacy WebPageOverlay method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | « no previous file | Source/web/web.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPageOverlay.cpp
diff --git a/Source/web/WebPageOverlay.cpp b/Source/web/WebPageOverlay.cpp
deleted file mode 100644
index 7d3260bca3e31c95ca5db44259068904d5c3b692..0000000000000000000000000000000000000000
--- a/Source/web/WebPageOverlay.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "config.h"
-#include "public/web/WebPageOverlay.h"
-
-#include "public/platform/WebSize.h"
-#include "public/web/WebGraphicsContext.h"
-#include "third_party/skia/include/core/SkCanvas.h"
-#include "third_party/skia/include/core/SkRect.h"
-
-namespace blink {
-
-void WebPageOverlay::paintPageOverlay(WebGraphicsContext* context, const WebSize& webViewSize)
-{
- WebFloatRect rect(0, 0, webViewSize.width, webViewSize.height);
- WebCanvas* canvas = context->beginDrawing(rect);
- int saveCount = canvas->save();
- canvas->clipRect(SkRect::MakeWH(webViewSize.width, webViewSize.height));
- paintPageOverlay(canvas);
- canvas->restoreToCount(saveCount);
- context->endDrawing();
-}
-
-void WebPageOverlay::paintPageOverlay(WebCanvas*)
-{
-}
-
-} // namespace blink
« no previous file with comments | « no previous file | Source/web/web.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698