Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: third_party/WebKit/public/web/WebFrameletClient.h

Issue 1602663003: Framelet Prototype 2016 using Mojo IPC Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Disabled oilpan Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/public/web/WebFramelet.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebFrameletClient.h
diff --git a/third_party/WebKit/public/web/WebFrameletClient.h b/third_party/WebKit/public/web/WebFrameletClient.h
new file mode 100644
index 0000000000000000000000000000000000000000..edf274ec5bdfdc2ddf89cc63378319fc31099c0c
--- /dev/null
+++ b/third_party/WebKit/public/web/WebFrameletClient.h
@@ -0,0 +1,33 @@
+// 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 WebFrameletClient_h
+#define WebFrameletClient_h
+
+#include "public/platform/WebFocusType.h"
+
+namespace blink {
+
+class WebInputEvent;
+class WebFramelet;
+struct WebRect;
+
+class WebFrameletClient {
+public:
+ virtual void didAttach(WebFramelet*) = 0;
+
+ virtual void didDetach() = 0;
+
+ virtual void forwardInputEvent(const WebInputEvent*) {}
+
+ virtual void frameRectsChanged(const WebRect&) {}
+
+ virtual void updateFocus(bool focused, WebFocusType type) {}
+
+ virtual void updateVisibility(bool visible) {}
+};
+
+} // namespace blink
+
+#endif // WebFrameletClient_h
« no previous file with comments | « third_party/WebKit/public/web/WebFramelet.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698