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 FrameletClient_h |
| 6 #define FrameletClient_h |
| 7 |
| 8 #include "platform/heap/Handle.h" |
| 9 #include "public/platform/WebFocusType.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class Event; |
| 14 class IntRect; |
| 15 |
| 16 class FrameletClient { |
| 17 public: |
| 18 virtual ~FrameletClient() {} |
| 19 |
| 20 virtual void didAttach() = 0; |
| 21 virtual void didDetach() = 0; |
| 22 virtual void forwardInputEvent(Event*) = 0; |
| 23 virtual void frameRectsChanged(const IntRect& frameRect) = 0; |
| 24 virtual void updateFocus(bool, WebFocusType) = 0; |
| 25 virtual void updateVisibility(bool) = 0; |
| 26 |
| 27 DEFINE_INLINE_VIRTUAL_TRACE() {} |
| 28 }; |
| 29 |
| 30 } // namespace blink |
| 31 |
| 32 #endif // FrameletClient_h |
OLD | NEW |