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

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

Issue 2844823002: Support Coalesced Touch in ppapi (Closed)
Patch Set: Support Coalesced Touch in ppapi Created 3 years, 7 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 unified diff | Download patch
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void UpdateGeometry(const blink::WebRect& window_rect, 91 void UpdateGeometry(const blink::WebRect& window_rect,
92 const blink::WebRect& clip_rect, 92 const blink::WebRect& clip_rect,
93 const blink::WebRect& unobscured_rect, 93 const blink::WebRect& unobscured_rect,
94 const blink::WebVector<blink::WebRect>& cut_outs_rects, 94 const blink::WebVector<blink::WebRect>& cut_outs_rects,
95 bool is_visible) override; 95 bool is_visible) override;
96 96
97 void UpdateFocus(bool foucsed, blink::WebFocusType focus_type) override; 97 void UpdateFocus(bool foucsed, blink::WebFocusType focus_type) override;
98 void UpdateVisibility(bool) override {} 98 void UpdateVisibility(bool) override {}
99 99
100 blink::WebInputEventResult HandleInputEvent( 100 blink::WebInputEventResult HandleInputEvent(
101 const blink::WebInputEvent& event, 101 const blink::WebCoalescedInputEvent& event,
102 blink::WebCursorInfo& cursor_info) override; 102 blink::WebCursorInfo& cursor_info) override;
103 103
104 void DidReceiveResponse(const blink::WebURLResponse& response) override; 104 void DidReceiveResponse(const blink::WebURLResponse& response) override;
105 void DidReceiveData(const char* data, int data_length) override; 105 void DidReceiveData(const char* data, int data_length) override;
106 void DidFinishLoading() override; 106 void DidFinishLoading() override;
107 void DidFailLoading(const blink::WebURLError& error) override; 107 void DidFailLoading(const blink::WebURLError& error) override;
108 108
109 private: 109 private:
110 friend class base::DeleteHelper<WebViewPlugin>; 110 friend class base::DeleteHelper<WebViewPlugin>;
111 WebViewPlugin(content::RenderView* render_view, 111 WebViewPlugin(content::RenderView* render_view,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // Owned by us, deleted via |close()|. 178 // Owned by us, deleted via |close()|.
179 blink::WebView* web_view_; 179 blink::WebView* web_view_;
180 }; 180 };
181 WebViewHelper web_view_helper_; 181 WebViewHelper web_view_helper_;
182 182
183 // Should be invalidated when destroy() is called. 183 // Should be invalidated when destroy() is called.
184 base::WeakPtrFactory<WebViewPlugin> weak_factory_; 184 base::WeakPtrFactory<WebViewPlugin> weak_factory_;
185 }; 185 };
186 186
187 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ 187 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_
OLDNEW
« no previous file with comments | « no previous file | components/plugins/renderer/webview_plugin.cc » ('j') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698