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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin.cc

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase 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 | « content/public/test/render_view_test.cc ('k') | content/renderer/input/input_event_filter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/renderer/browser_plugin/browser_plugin.h" 5 #include "content/renderer/browser_plugin/browser_plugin.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 10 matching lines...) Expand all
21 #include "content/public/common/content_switches.h" 21 #include "content/public/common/content_switches.h"
22 #include "content/public/renderer/browser_plugin_delegate.h" 22 #include "content/public/renderer/browser_plugin_delegate.h"
23 #include "content/public/renderer/content_renderer_client.h" 23 #include "content/public/renderer/content_renderer_client.h"
24 #include "content/renderer/accessibility/render_accessibility_impl.h" 24 #include "content/renderer/accessibility/render_accessibility_impl.h"
25 #include "content/renderer/browser_plugin/browser_plugin_manager.h" 25 #include "content/renderer/browser_plugin/browser_plugin_manager.h"
26 #include "content/renderer/child_frame_compositing_helper.h" 26 #include "content/renderer/child_frame_compositing_helper.h"
27 #include "content/renderer/cursor_utils.h" 27 #include "content/renderer/cursor_utils.h"
28 #include "content/renderer/drop_data_builder.h" 28 #include "content/renderer/drop_data_builder.h"
29 #include "content/renderer/render_thread_impl.h" 29 #include "content/renderer/render_thread_impl.h"
30 #include "content/renderer/sad_plugin.h" 30 #include "content/renderer/sad_plugin.h"
31 #include "third_party/WebKit/public/platform/WebGestureEvent.h"
32 #include "third_party/WebKit/public/platform/WebInputEvent.h"
31 #include "third_party/WebKit/public/platform/WebRect.h" 33 #include "third_party/WebKit/public/platform/WebRect.h"
32 #include "third_party/WebKit/public/web/WebAXObject.h" 34 #include "third_party/WebKit/public/web/WebAXObject.h"
33 #include "third_party/WebKit/public/web/WebDocument.h" 35 #include "third_party/WebKit/public/web/WebDocument.h"
34 #include "third_party/WebKit/public/web/WebElement.h" 36 #include "third_party/WebKit/public/web/WebElement.h"
35 #include "third_party/WebKit/public/web/WebInputEvent.h"
36 #include "third_party/WebKit/public/web/WebLocalFrame.h" 37 #include "third_party/WebKit/public/web/WebLocalFrame.h"
37 #include "third_party/WebKit/public/web/WebPluginContainer.h" 38 #include "third_party/WebKit/public/web/WebPluginContainer.h"
38 #include "third_party/WebKit/public/web/WebView.h" 39 #include "third_party/WebKit/public/web/WebView.h"
39 #include "ui/events/keycodes/keyboard_codes.h" 40 #include "ui/events/keycodes/keyboard_codes.h"
40 41
41 using blink::WebPluginContainer; 42 using blink::WebPluginContainer;
42 using blink::WebPoint; 43 using blink::WebPoint;
43 using blink::WebRect; 44 using blink::WebRect;
44 using blink::WebURL; 45 using blink::WebURL;
45 using blink::WebVector; 46 using blink::WebVector;
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 609
609 bool BrowserPlugin::HandleMouseLockedInputEvent( 610 bool BrowserPlugin::HandleMouseLockedInputEvent(
610 const blink::WebMouseEvent& event) { 611 const blink::WebMouseEvent& event) {
611 BrowserPluginManager::Get()->Send( 612 BrowserPluginManager::Get()->Send(
612 new BrowserPluginHostMsg_HandleInputEvent(browser_plugin_instance_id_, 613 new BrowserPluginHostMsg_HandleInputEvent(browser_plugin_instance_id_,
613 &event)); 614 &event));
614 return true; 615 return true;
615 } 616 }
616 617
617 } // namespace content 618 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/render_view_test.cc ('k') | content/renderer/input/input_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698