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> |
| 8 |
7 #include "base/command_line.h" | 9 #include "base/command_line.h" |
8 #include "base/location.h" | 10 #include "base/location.h" |
9 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
10 #include "base/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
11 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
12 #include "base/thread_task_runner_handle.h" | 14 #include "base/thread_task_runner_handle.h" |
13 #include "cc/surfaces/surface.h" | 15 #include "cc/surfaces/surface.h" |
14 #include "content/common/browser_plugin/browser_plugin_constants.h" | 16 #include "content/common/browser_plugin/browser_plugin_constants.h" |
15 #include "content/common/browser_plugin/browser_plugin_messages.h" | 17 #include "content/common/browser_plugin/browser_plugin_messages.h" |
16 #include "content/common/view_messages.h" | 18 #include "content/common/view_messages.h" |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 bool BrowserPlugin::HandleMouseLockedInputEvent( | 645 bool BrowserPlugin::HandleMouseLockedInputEvent( |
644 const blink::WebMouseEvent& event) { | 646 const blink::WebMouseEvent& event) { |
645 BrowserPluginManager::Get()->Send( | 647 BrowserPluginManager::Get()->Send( |
646 new BrowserPluginHostMsg_HandleInputEvent(browser_plugin_instance_id_, | 648 new BrowserPluginHostMsg_HandleInputEvent(browser_plugin_instance_id_, |
647 view_rect_, | 649 view_rect_, |
648 &event)); | 650 &event)); |
649 return true; | 651 return true; |
650 } | 652 } |
651 | 653 |
652 } // namespace content | 654 } // namespace content |
OLD | NEW |