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

Side by Side Diff: Source/web/WebPageOverlay.h

Issue 1264483002: PageOverlays: Remove PageOverlayList (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 10 *
(...skipping 19 matching lines...) Expand all
30 #define WebPageOverlay_h 30 #define WebPageOverlay_h
31 31
32 #include "public/platform/WebCanvas.h" 32 #include "public/platform/WebCanvas.h"
33 #include "public/platform/WebCommon.h" 33 #include "public/platform/WebCommon.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 class WebGraphicsContext; 37 class WebGraphicsContext;
38 struct WebSize; 38 struct WebSize;
39 39
40 class BLINK_EXPORT WebPageOverlay { 40 class BLINK_EXPORT WebPageOverlay {
dgozman 2015/07/28 16:16:56 Let's rename this to PageOverlayDelegate. Maybe ev
sergeyv 2015/07/29 18:12:36 Done.
41 public: 41 public:
42 // Paints page overlay contents. 42 // Paints page overlay contents.
43 virtual void paintPageOverlay(WebGraphicsContext*, const WebSize& webViewSiz e) = 0; 43 virtual void paintPageOverlay(WebGraphicsContext*, const WebSize& webViewSiz e) = 0;
44 virtual ~WebPageOverlay() { } 44 virtual ~WebPageOverlay() { }
45 }; 45 };
46 46
47 } // namespace blink 47 } // namespace blink
48 48
49 #endif // WebPageOverlay_h 49 #endif // WebPageOverlay_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698