| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "base/bind_helpers.h" | 5 #include "base/bind_helpers.h" |
| 6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
| 9 #include "content/browser/browser_plugin/browser_plugin_guest.h" | 9 #include "content/browser/browser_plugin/browser_plugin_guest.h" |
| 10 #include "content/browser/renderer_host/render_view_host_impl.h" | 10 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 11 #include "content/browser/renderer_host/render_widget_host_view_guest.h" | 11 #include "content/browser/renderer_host/render_widget_host_view_guest.h" |
| 12 #include "content/common/browser_plugin/browser_plugin_messages.h" | 12 #include "content/common/browser_plugin/browser_plugin_messages.h" |
| 13 #include "content/common/gpu/gpu_messages.h" | 13 #include "content/common/gpu/gpu_messages.h" |
| 14 #include "content/common/view_messages.h" | 14 #include "content/common/view_messages.h" |
| 15 #include "content/common/webplugin_geometry.h" | 15 #include "content/common/webplugin_geometry.h" |
| 16 #include "content/public/common/content_switches.h" | 16 #include "content/public/common/content_switches.h" |
| 17 #include "skia/ext/platform_canvas.h" | 17 #include "skia/ext/platform_canvas.h" |
| 18 #include "third_party/WebKit/public/web/WebScreenInfo.h" | 18 #include "third_party/WebKit/public/platform/WebScreenInfo.h" |
| 19 | 19 |
| 20 #if defined(OS_MACOSX) | 20 #if defined(OS_MACOSX) |
| 21 #import "content/browser/renderer_host/render_widget_host_view_mac_dictionary_he
lper.h" | 21 #import "content/browser/renderer_host/render_widget_host_view_mac_dictionary_he
lper.h" |
| 22 #endif | 22 #endif |
| 23 | 23 |
| 24 #if defined(OS_WIN) || defined(USE_AURA) | 24 #if defined(OS_WIN) || defined(USE_AURA) |
| 25 #include "content/browser/renderer_host/ui_events_helper.h" | 25 #include "content/browser/renderer_host/ui_events_helper.h" |
| 26 #endif | 26 #endif |
| 27 | 27 |
| 28 namespace content { | 28 namespace content { |
| (...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 581 return; | 581 return; |
| 582 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); | 582 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); |
| 583 g_it != gestures->end(); | 583 g_it != gestures->end(); |
| 584 ++g_it) { | 584 ++g_it) { |
| 585 ForwardGestureEventToRenderer(*g_it); | 585 ForwardGestureEventToRenderer(*g_it); |
| 586 } | 586 } |
| 587 } | 587 } |
| 588 | 588 |
| 589 | 589 |
| 590 } // namespace content | 590 } // namespace content |
| OLD | NEW |