OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/renderer/render_view.h" | 5 #include "chrome/renderer/render_view.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cmath> | 8 #include <cmath> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "chrome/common/bindings_policy.h" | 26 #include "chrome/common/bindings_policy.h" |
27 #include "chrome/common/child_process_logging.h" | 27 #include "chrome/common/child_process_logging.h" |
28 #include "chrome/common/chrome_constants.h" | 28 #include "chrome/common/chrome_constants.h" |
29 #include "chrome/common/chrome_paths.h" | 29 #include "chrome/common/chrome_paths.h" |
30 #include "chrome/common/chrome_switches.h" | 30 #include "chrome/common/chrome_switches.h" |
31 #include "chrome/common/extensions/extension.h" | 31 #include "chrome/common/extensions/extension.h" |
32 #include "chrome/common/extensions/extension_constants.h" | 32 #include "chrome/common/extensions/extension_constants.h" |
33 #include "chrome/common/extensions/extension_set.h" | 33 #include "chrome/common/extensions/extension_set.h" |
34 #include "chrome/common/json_value_serializer.h" | 34 #include "chrome/common/json_value_serializer.h" |
35 #include "chrome/common/jstemplate_builder.h" | 35 #include "chrome/common/jstemplate_builder.h" |
36 #include "chrome/common/page_zoom.h" | |
37 #include "chrome/common/pepper_plugin_registry.h" | 36 #include "chrome/common/pepper_plugin_registry.h" |
38 #include "chrome/common/render_messages.h" | 37 #include "chrome/common/render_messages.h" |
39 #include "chrome/common/render_messages_params.h" | 38 #include "chrome/common/render_messages_params.h" |
40 #include "chrome/common/render_view_commands.h" | 39 #include "chrome/common/render_view_commands.h" |
41 #include "chrome/common/renderer_preferences.h" | 40 #include "chrome/common/renderer_preferences.h" |
42 #include "chrome/common/thumbnail_score.h" | 41 #include "chrome/common/thumbnail_score.h" |
43 #include "chrome/common/url_constants.h" | 42 #include "chrome/common/url_constants.h" |
44 #include "chrome/common/web_apps.h" | 43 #include "chrome/common/web_apps.h" |
45 #include "chrome/common/window_container_type.h" | 44 #include "chrome/common/window_container_type.h" |
46 #include "chrome/renderer/about_handler.h" | 45 #include "chrome/renderer/about_handler.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 #include "chrome/renderer/webplugin_delegate_proxy.h" | 87 #include "chrome/renderer/webplugin_delegate_proxy.h" |
89 #include "chrome/renderer/websharedworker_proxy.h" | 88 #include "chrome/renderer/websharedworker_proxy.h" |
90 #include "chrome/renderer/webworker_proxy.h" | 89 #include "chrome/renderer/webworker_proxy.h" |
91 #include "content/common/appcache/appcache_dispatcher.h" | 90 #include "content/common/appcache/appcache_dispatcher.h" |
92 #include "content/common/clipboard_messages.h" | 91 #include "content/common/clipboard_messages.h" |
93 #include "content/common/content_constants.h" | 92 #include "content/common/content_constants.h" |
94 #include "content/common/database_messages.h" | 93 #include "content/common/database_messages.h" |
95 #include "content/common/file_system/file_system_dispatcher.h" | 94 #include "content/common/file_system/file_system_dispatcher.h" |
96 #include "content/common/file_system/webfilesystem_callback_dispatcher.h" | 95 #include "content/common/file_system/webfilesystem_callback_dispatcher.h" |
97 #include "content/common/notification_service.h" | 96 #include "content/common/notification_service.h" |
| 97 #include "content/common/page_zoom.h" |
98 #include "content/common/pepper_messages.h" | 98 #include "content/common/pepper_messages.h" |
99 #include "content/renderer/audio_message_filter.h" | 99 #include "content/renderer/audio_message_filter.h" |
100 #include "content/renderer/device_orientation_dispatcher.h" | 100 #include "content/renderer/device_orientation_dispatcher.h" |
101 #include "content/renderer/geolocation_dispatcher.h" | 101 #include "content/renderer/geolocation_dispatcher.h" |
102 #include "content/renderer/ggl.h" | 102 #include "content/renderer/ggl.h" |
103 #include "content/renderer/media/audio_renderer_impl.h" | 103 #include "content/renderer/media/audio_renderer_impl.h" |
104 #include "content/renderer/media/ipc_video_decoder.h" | 104 #include "content/renderer/media/ipc_video_decoder.h" |
105 #include "content/renderer/notification_provider.h" | 105 #include "content/renderer/notification_provider.h" |
106 #include "content/renderer/p2p/socket_dispatcher.h" | 106 #include "content/renderer/p2p/socket_dispatcher.h" |
107 #include "content/renderer/speech_input_dispatcher.h" | 107 #include "content/renderer/speech_input_dispatcher.h" |
(...skipping 5497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5605 const webkit_glue::CustomContextMenuContext& custom_context) { | 5605 const webkit_glue::CustomContextMenuContext& custom_context) { |
5606 if (custom_context.is_pepper_menu) | 5606 if (custom_context.is_pepper_menu) |
5607 pepper_delegate_.OnContextMenuClosed(custom_context); | 5607 pepper_delegate_.OnContextMenuClosed(custom_context); |
5608 else | 5608 else |
5609 context_menu_node_.reset(); | 5609 context_menu_node_.reset(); |
5610 } | 5610 } |
5611 | 5611 |
5612 void RenderView::OnNetworkStateChanged(bool online) { | 5612 void RenderView::OnNetworkStateChanged(bool online) { |
5613 WebNetworkStateNotifier::setOnLine(online); | 5613 WebNetworkStateNotifier::setOnLine(online); |
5614 } | 5614 } |
OLD | NEW |