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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 String debugName() const final { return "PageOverlay"; } | 70 String debugName() const final { return "PageOverlay"; } |
71 // TODO(chrishtr): fix this. | 71 // TODO(chrishtr): fix this. |
72 IntRect visualRect() const override { return IntRect(); } | 72 IntRect visualRect() const override { return IntRect(); } |
73 | 73 |
74 // GraphicsLayerClient implementation | 74 // GraphicsLayerClient implementation |
75 IntRect computeInterestRect(const GraphicsLayer*, const IntRect&) const over
ride; | 75 IntRect computeInterestRect(const GraphicsLayer*, const IntRect&) const over
ride; |
76 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain
tingPhase, const IntRect& interestRect) const override; | 76 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain
tingPhase, const IntRect& interestRect) const override; |
77 String debugName(const GraphicsLayer*) const override; | 77 String debugName(const GraphicsLayer*) const override; |
78 | 78 |
79 private: | 79 private: |
| 80 DISPLAY_ITEM_CACHE_STATUS_UNCACHEABLE_IMPLEMENTATION |
| 81 |
80 PageOverlay(WebViewImpl*, PageOverlay::Delegate*); | 82 PageOverlay(WebViewImpl*, PageOverlay::Delegate*); |
81 | 83 |
82 WebViewImpl* m_viewImpl; | 84 WebViewImpl* m_viewImpl; |
83 Persistent<PageOverlay::Delegate> m_delegate; | 85 Persistent<PageOverlay::Delegate> m_delegate; |
84 OwnPtr<GraphicsLayer> m_layer; | 86 OwnPtr<GraphicsLayer> m_layer; |
85 }; | 87 }; |
86 | 88 |
87 } // namespace blink | 89 } // namespace blink |
88 | 90 |
89 #endif // PageOverlay_h | 91 #endif // PageOverlay_h |
OLD | NEW |