| 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 22 matching lines...) Expand all Loading... |
| 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 { |
| 41 public: | 41 public: |
| 42 // Paints page overlay contents. | 42 // Paints page overlay contents. |
| 43 // FIXME: Once Chromium no longer uses the WebCanvas* overload: | 43 virtual void paintPageOverlay(WebGraphicsContext*, const WebSize& webViewSiz
e) = 0; |
| 44 // - remove it | |
| 45 // - make the WebGraphicsContext* overload pure virtual | |
| 46 // - remove the BLINK_EXPORT tag from this class | |
| 47 virtual void paintPageOverlay(WebGraphicsContext*, const WebSize& webViewSiz
e); | |
| 48 virtual void paintPageOverlay(WebCanvas*); | |
| 49 | 44 |
| 50 protected: | 45 protected: |
| 51 virtual ~WebPageOverlay() { } | 46 virtual ~WebPageOverlay() { } |
| 52 }; | 47 }; |
| 53 | 48 |
| 54 } // namespace blink | 49 } // namespace blink |
| 55 | 50 |
| 56 #endif // WebPageOverlay_h | 51 #endif // WebPageOverlay_h |
| OLD | NEW |