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 "content/browser/browser_plugin/browser_plugin_guest.h" | 5 #include "content/browser/browser_plugin/browser_plugin_guest.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 29 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
30 #include "content/browser/renderer_host/render_view_host_impl.h" | 30 #include "content/browser/renderer_host/render_view_host_impl.h" |
31 #include "content/browser/renderer_host/render_widget_host_impl.h" | 31 #include "content/browser/renderer_host/render_widget_host_impl.h" |
32 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 32 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
33 #include "content/browser/web_contents/web_contents_impl.h" | 33 #include "content/browser/web_contents/web_contents_impl.h" |
34 #include "content/browser/web_contents/web_contents_view_guest.h" | 34 #include "content/browser/web_contents/web_contents_view_guest.h" |
35 #include "content/common/browser_plugin/browser_plugin_constants.h" | 35 #include "content/common/browser_plugin/browser_plugin_constants.h" |
36 #include "content/common/browser_plugin/browser_plugin_messages.h" | 36 #include "content/common/browser_plugin/browser_plugin_messages.h" |
37 #include "content/common/content_constants_internal.h" | 37 #include "content/common/content_constants_internal.h" |
38 #include "content/common/drag_messages.h" | 38 #include "content/common/drag_messages.h" |
39 #include "content/common/host_shared_bitmap_manager.h" | |
40 #include "content/common/input_messages.h" | 39 #include "content/common/input_messages.h" |
41 #include "content/common/site_isolation_policy.h" | 40 #include "content/common/site_isolation_policy.h" |
42 #include "content/common/text_input_state.h" | 41 #include "content/common/text_input_state.h" |
43 #include "content/common/view_messages.h" | 42 #include "content/common/view_messages.h" |
44 #include "content/public/browser/browser_context.h" | 43 #include "content/public/browser/browser_context.h" |
45 #include "content/public/browser/browser_plugin_guest_manager.h" | 44 #include "content/public/browser/browser_plugin_guest_manager.h" |
46 #include "content/public/browser/content_browser_client.h" | 45 #include "content/public/browser/content_browser_client.h" |
47 #include "content/public/browser/guest_host.h" | 46 #include "content/public/browser/guest_host.h" |
48 #include "content/public/browser/guest_mode.h" | 47 #include "content/public/browser/guest_mode.h" |
49 #include "content/public/browser/navigation_handle.h" | 48 #include "content/public/browser/navigation_handle.h" |
(...skipping 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1058 range, character_bounds); | 1057 range, character_bounds); |
1059 } | 1058 } |
1060 #endif | 1059 #endif |
1061 | 1060 |
1062 void BrowserPluginGuest::SetContextMenuPosition(const gfx::Point& position) { | 1061 void BrowserPluginGuest::SetContextMenuPosition(const gfx::Point& position) { |
1063 if (delegate_) | 1062 if (delegate_) |
1064 delegate_->SetContextMenuPosition(position); | 1063 delegate_->SetContextMenuPosition(position); |
1065 } | 1064 } |
1066 | 1065 |
1067 } // namespace content | 1066 } // namespace content |
OLD | NEW |