OLD | NEW |
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 11 matching lines...) Expand all Loading... |
22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 #ifndef WebPageOverlay_h | 29 #ifndef WebPageOverlay_h |
30 #define WebPageOverlay_h | 30 #define WebPageOverlay_h |
31 | 31 |
32 #include "../platform/WebCanvas.h" | 32 #include "public/platform/WebCanvas.h" |
33 #include "../platform/WebRect.h" | 33 #include "public/platform/WebRect.h" |
34 | 34 |
35 namespace blink { | 35 namespace blink { |
36 | 36 |
37 class WebPageOverlay { | 37 class WebPageOverlay { |
38 public: | 38 public: |
39 // Paints page overlay contents. | 39 // Paints page overlay contents. |
40 virtual void paintPageOverlay(WebCanvas*) = 0; | 40 virtual void paintPageOverlay(WebCanvas*) = 0; |
41 | 41 |
42 protected: | 42 protected: |
43 virtual ~WebPageOverlay() { } | 43 virtual ~WebPageOverlay() { } |
44 }; | 44 }; |
45 | 45 |
46 } // namespace blink | 46 } // namespace blink |
47 | 47 |
48 #endif // WebPageOverlay_h | 48 #endif // WebPageOverlay_h |
OLD | NEW |