Index: third_party/WebKit/Source/core/frame/FrameletClient.h |
diff --git a/third_party/WebKit/Source/core/frame/FrameletClient.h b/third_party/WebKit/Source/core/frame/FrameletClient.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a67c7dfe468248805db852b83dcd58cf7cc2ec89 |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/frame/FrameletClient.h |
@@ -0,0 +1,32 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef FrameletClient_h |
+#define FrameletClient_h |
+ |
+#include "platform/heap/Handle.h" |
+#include "public/platform/WebFocusType.h" |
+ |
+namespace blink { |
+ |
+class Event; |
+class IntRect; |
+ |
+class FrameletClient { |
+public: |
+ virtual ~FrameletClient() {} |
+ |
+ virtual void didAttach() = 0; |
+ virtual void didDetach() = 0; |
+ virtual void forwardInputEvent(Event*) = 0; |
+ virtual void frameRectsChanged(const IntRect& frameRect) = 0; |
+ virtual void updateFocus(bool, WebFocusType) = 0; |
+ virtual void updateVisibility(bool) = 0; |
+ |
+ DEFINE_INLINE_VIRTUAL_TRACE() {} |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // FrameletClient_h |