| 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 19 matching lines...) Expand all Loading... |
| 30 #define PageOverlay_h | 30 #define PageOverlay_h |
| 31 | 31 |
| 32 #include "wtf/OwnPtr.h" | 32 #include "wtf/OwnPtr.h" |
| 33 #include "wtf/PassOwnPtr.h" | 33 #include "wtf/PassOwnPtr.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 class GraphicsContext; | 37 class GraphicsContext; |
| 38 class GraphicsLayer; | 38 class GraphicsLayer; |
| 39 class GraphicsLayerClient; | 39 class GraphicsLayerClient; |
| 40 class OverlayGraphicsLayerClientImpl; | |
| 41 class WebPageOverlay; | 40 class WebPageOverlay; |
| 42 class WebViewImpl; | 41 class WebViewImpl; |
| 43 struct WebRect; | |
| 44 | 42 |
| 45 class PageOverlay { | 43 class PageOverlay { |
| 46 public: | 44 public: |
| 47 static PassOwnPtr<PageOverlay> create(WebViewImpl*, WebPageOverlay*); | 45 static PassOwnPtr<PageOverlay> create(WebViewImpl*, WebPageOverlay*); |
| 48 | 46 |
| 49 ~PageOverlay() { } | 47 ~PageOverlay() { } |
| 50 | 48 |
| 51 WebPageOverlay* overlay() const { return m_overlay; } | 49 WebPageOverlay* overlay() const { return m_overlay; } |
| 52 void setOverlay(WebPageOverlay* overlay) { m_overlay = overlay; } | 50 void setOverlay(WebPageOverlay* overlay) { m_overlay = overlay; } |
| 53 | 51 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 67 WebViewImpl* m_viewImpl; | 65 WebViewImpl* m_viewImpl; |
| 68 WebPageOverlay* m_overlay; | 66 WebPageOverlay* m_overlay; |
| 69 OwnPtr<GraphicsLayerClient> m_layerClient; | 67 OwnPtr<GraphicsLayerClient> m_layerClient; |
| 70 OwnPtr<GraphicsLayer> m_layer; | 68 OwnPtr<GraphicsLayer> m_layer; |
| 71 int m_zOrder; | 69 int m_zOrder; |
| 72 }; | 70 }; |
| 73 | 71 |
| 74 } // namespace blink | 72 } // namespace blink |
| 75 | 73 |
| 76 #endif // PageOverlay_h | 74 #endif // PageOverlay_h |
| OLD | NEW |