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

Side by Side Diff: content/renderer/browser_plugin/browser_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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
7 7
8 #include "third_party/WebKit/public/web/WebPlugin.h" 8 #include "third_party/WebKit/public/web/WebPlugin.h"
9 9
10 #include <memory> 10 #include <memory>
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 bool CanProcessDrag() const override; 88 bool CanProcessDrag() const override;
89 void UpdateAllLifecyclePhases() override {} 89 void UpdateAllLifecyclePhases() override {}
90 void Paint(blink::WebCanvas* canvas, const blink::WebRect& rect) override {} 90 void Paint(blink::WebCanvas* canvas, const blink::WebRect& rect) override {}
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 bool is_visible) override; 94 bool is_visible) override;
95 void UpdateFocus(bool focused, blink::WebFocusType focus_type) override; 95 void UpdateFocus(bool focused, blink::WebFocusType focus_type) override;
96 void UpdateVisibility(bool visible) override; 96 void UpdateVisibility(bool visible) override;
97 blink::WebInputEventResult HandleInputEvent( 97 blink::WebInputEventResult HandleInputEvent(
98 const blink::WebInputEvent& event, 98 const blink::WebCoalescedInputEvent& event,
99 blink::WebCursorInfo& cursor_info) override; 99 blink::WebCursorInfo& cursor_info) override;
100 bool HandleDragStatusUpdate(blink::WebDragStatus drag_status, 100 bool HandleDragStatusUpdate(blink::WebDragStatus drag_status,
101 const blink::WebDragData& drag_data, 101 const blink::WebDragData& drag_data,
102 blink::WebDragOperationsMask mask, 102 blink::WebDragOperationsMask mask,
103 const blink::WebPoint& position, 103 const blink::WebPoint& position,
104 const blink::WebPoint& screen) override; 104 const blink::WebPoint& screen) override;
105 void DidReceiveResponse(const blink::WebURLResponse& response) override; 105 void DidReceiveResponse(const blink::WebURLResponse& response) override;
106 void DidReceiveData(const char* data, int data_length) override; 106 void DidReceiveData(const char* data, int data_length) override;
107 void DidFinishLoading() override; 107 void DidFinishLoading() override;
108 void DidFailLoading(const blink::WebURLError& error) override; 108 void DidFailLoading(const blink::WebURLError& error) override;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might 204 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might
205 // get called after BrowserPlugin has been destroyed. 205 // get called after BrowserPlugin has been destroyed.
206 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; 206 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_;
207 207
208 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); 208 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin);
209 }; 209 };
210 210
211 } // namespace content 211 } // namespace content
212 212
213 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 213 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
OLDNEW
« no previous file with comments | « components/plugins/renderer/webview_plugin.cc ('k') | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698