Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1086)

Side by Side Diff: content/renderer/render_view.cc

Issue 6869051: Move PepperPluginRegistry to content, while leaving the Chrome specific bits (NaCl, registration ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "content/renderer/render_view.h" 5 #include "content/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>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/lazy_instance.h" 15 #include "base/lazy_instance.h"
16 #include "base/metrics/histogram.h" 16 #include "base/metrics/histogram.h"
17 #include "base/path_service.h" 17 #include "base/path_service.h"
18 #include "base/process_util.h" 18 #include "base/process_util.h"
19 #include "base/string_piece.h" 19 #include "base/string_piece.h"
20 #include "base/string_util.h" 20 #include "base/string_util.h"
21 #include "base/sys_string_conversions.h" 21 #include "base/sys_string_conversions.h"
22 #include "base/time.h" 22 #include "base/time.h"
23 #include "base/utf_string_conversions.h" 23 #include "base/utf_string_conversions.h"
24 #include "chrome/common/pepper_plugin_registry.h"
25 #include "chrome/common/render_messages.h" 24 #include "chrome/common/render_messages.h"
26 #include "content/common/appcache/appcache_dispatcher.h" 25 #include "content/common/appcache/appcache_dispatcher.h"
27 #include "content/common/bindings_policy.h" 26 #include "content/common/bindings_policy.h"
28 #include "content/common/clipboard_messages.h" 27 #include "content/common/clipboard_messages.h"
29 #include "content/common/content_constants.h" 28 #include "content/common/content_constants.h"
30 #include "content/common/content_switches.h" 29 #include "content/common/content_switches.h"
31 #include "content/common/database_messages.h" 30 #include "content/common/database_messages.h"
32 #include "content/common/drag_messages.h" 31 #include "content/common/drag_messages.h"
33 #include "content/common/file_system/file_system_dispatcher.h" 32 #include "content/common/file_system/file_system_dispatcher.h"
34 #include "content/common/file_system/webfilesystem_callback_dispatcher.h" 33 #include "content/common/file_system/webfilesystem_callback_dispatcher.h"
35 #include "content/common/json_value_serializer.h" 34 #include "content/common/json_value_serializer.h"
36 #include "content/common/notification_service.h" 35 #include "content/common/notification_service.h"
37 #include "content/common/pepper_messages.h" 36 #include "content/common/pepper_messages.h"
37 #include "content/common/pepper_plugin_registry.h"
38 #include "content/common/quota_dispatcher.h" 38 #include "content/common/quota_dispatcher.h"
39 #include "content/common/renderer_preferences.h" 39 #include "content/common/renderer_preferences.h"
40 #include "content/common/url_constants.h" 40 #include "content/common/url_constants.h"
41 #include "content/common/view_messages.h" 41 #include "content/common/view_messages.h"
42 #include "content/renderer/audio_message_filter.h" 42 #include "content/renderer/audio_message_filter.h"
43 #include "content/renderer/content_renderer_client.h" 43 #include "content/renderer/content_renderer_client.h"
44 #include "content/renderer/device_orientation_dispatcher.h" 44 #include "content/renderer/device_orientation_dispatcher.h"
45 #include "content/renderer/external_popup_menu.h" 45 #include "content/renderer/external_popup_menu.h"
46 #include "content/renderer/geolocation_dispatcher.h" 46 #include "content/renderer/geolocation_dispatcher.h"
47 #include "content/renderer/load_progress_tracker.h" 47 #include "content/renderer/load_progress_tracker.h"
(...skipping 4272 matching lines...) Expand 10 before | Expand all | Expand 10 after
4320 const webkit_glue::CustomContextMenuContext& custom_context) { 4320 const webkit_glue::CustomContextMenuContext& custom_context) {
4321 if (custom_context.is_pepper_menu) 4321 if (custom_context.is_pepper_menu)
4322 pepper_delegate_.OnContextMenuClosed(custom_context); 4322 pepper_delegate_.OnContextMenuClosed(custom_context);
4323 else 4323 else
4324 context_menu_node_.reset(); 4324 context_menu_node_.reset();
4325 } 4325 }
4326 4326
4327 void RenderView::OnNetworkStateChanged(bool online) { 4327 void RenderView::OnNetworkStateChanged(bool online) {
4328 WebNetworkStateNotifier::setOnLine(online); 4328 WebNetworkStateNotifier::setOnLine(online);
4329 } 4329 }
OLDNEW
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698