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

Side by Side Diff: components/plugins/renderer/webview_plugin.h

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Creating CoalescedWebInputEvent Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/plugins/renderer/webview_plugin.cc » ('j') | content/common/DEPS » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ 5 #ifndef COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_
6 #define COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ 6 #define COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 void updateGeometry(const blink::WebRect& window_rect, 93 void updateGeometry(const blink::WebRect& window_rect,
94 const blink::WebRect& clip_rect, 94 const blink::WebRect& clip_rect,
95 const blink::WebRect& unobscured_rect, 95 const blink::WebRect& unobscured_rect,
96 const blink::WebVector<blink::WebRect>& cut_outs_rects, 96 const blink::WebVector<blink::WebRect>& cut_outs_rects,
97 bool is_visible) override; 97 bool is_visible) override;
98 98
99 void updateFocus(bool foucsed, blink::WebFocusType focus_type) override; 99 void updateFocus(bool foucsed, blink::WebFocusType focus_type) override;
100 void updateVisibility(bool) override {} 100 void updateVisibility(bool) override {}
101 101
102 blink::WebInputEventResult handleInputEvent( 102 blink::WebInputEventResult handleInputEvent(
103 const blink::WebInputEvent& event, 103 const blink::CoalescedWebInputEvent& event,
104 blink::WebCursorInfo& cursor_info) override; 104 blink::WebCursorInfo& cursor_info) override;
105 105
106 void didReceiveResponse(const blink::WebURLResponse& response) override; 106 void didReceiveResponse(const blink::WebURLResponse& response) override;
107 void didReceiveData(const char* data, int data_length) override; 107 void didReceiveData(const char* data, int data_length) override;
108 void didFinishLoading() override; 108 void didFinishLoading() override;
109 void didFailLoading(const blink::WebURLError& error) override; 109 void didFailLoading(const blink::WebURLError& error) override;
110 110
111 // WebViewClient methods: 111 // WebViewClient methods:
112 bool acceptsLoadDrops() override; 112 bool acceptsLoadDrops() override;
113 113
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 private: 171 private:
172 WebViewPlugin* plugin_; 172 WebViewPlugin* plugin_;
173 }; 173 };
174 PluginWebFrameClient web_frame_client_; 174 PluginWebFrameClient web_frame_client_;
175 175
176 // Should be invalidated when destroy() is called. 176 // Should be invalidated when destroy() is called.
177 base::WeakPtrFactory<WebViewPlugin> weak_factory_; 177 base::WeakPtrFactory<WebViewPlugin> weak_factory_;
178 }; 178 };
179 179
180 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ 180 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_
OLDNEW
« no previous file with comments | « no previous file | components/plugins/renderer/webview_plugin.cc » ('j') | content/common/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698