OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WebFrameletClient_h |
| 6 #define WebFrameletClient_h |
| 7 |
| 8 #include "public/platform/WebFocusType.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 class WebInputEvent; |
| 13 class WebFramelet; |
| 14 struct WebRect; |
| 15 |
| 16 class WebFrameletClient { |
| 17 public: |
| 18 virtual void didAttach(WebFramelet*) = 0; |
| 19 |
| 20 virtual void didDetach() = 0; |
| 21 |
| 22 virtual void forwardInputEvent(const WebInputEvent*) {} |
| 23 |
| 24 virtual void frameRectsChanged(const WebRect&) {} |
| 25 |
| 26 virtual void updateFocus(bool focused, WebFocusType type) {} |
| 27 |
| 28 virtual void updateVisibility(bool visible) {} |
| 29 }; |
| 30 |
| 31 } // namespace blink |
| 32 |
| 33 #endif // WebFrameletClient_h |
OLD | NEW |