OLD | NEW |
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" |
11 #include "base/location.h" | 11 #include "base/location.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
15 #include "base/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
16 #include "cc/surfaces/surface.h" | 16 #include "cc/surfaces/surface.h" |
17 #include "content/common/browser_plugin/browser_plugin_constants.h" | 17 #include "content/common/browser_plugin/browser_plugin_constants.h" |
18 #include "content/common/browser_plugin/browser_plugin_messages.h" | 18 #include "content/common/browser_plugin/browser_plugin_messages.h" |
19 #include "content/common/view_messages.h" | 19 #include "content/common/view_messages.h" |
20 #include "content/public/common/content_client.h" | 20 #include "content/public/common/content_client.h" |
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/browser_plugin/browser_plugin_manager.h" | 24 #include "content/renderer/browser_plugin/browser_plugin_manager.h" |
25 #include "content/renderer/child_frame_compositing_helper.h" | 25 #include "content/renderer/child_frame_compositing_helper.h" |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 | 567 |
568 bool BrowserPlugin::HandleMouseLockedInputEvent( | 568 bool BrowserPlugin::HandleMouseLockedInputEvent( |
569 const blink::WebMouseEvent& event) { | 569 const blink::WebMouseEvent& event) { |
570 BrowserPluginManager::Get()->Send( | 570 BrowserPluginManager::Get()->Send( |
571 new BrowserPluginHostMsg_HandleInputEvent(browser_plugin_instance_id_, | 571 new BrowserPluginHostMsg_HandleInputEvent(browser_plugin_instance_id_, |
572 &event)); | 572 &event)); |
573 return true; | 573 return true; |
574 } | 574 } |
575 | 575 |
576 } // namespace content | 576 } // namespace content |
OLD | NEW |