Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(632)

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

Issue 6691002: Move AppCache common code to content and split off AppCache messages into the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 | « chrome/renderer/render_thread.cc ('k') | chrome/renderer/renderer_webkitclient_impl.cc » ('j') | 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 "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>
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 "build/build_config.h" 24 #include "build/build_config.h"
25 #include "chrome/common/appcache/appcache_dispatcher.h"
26 #include "chrome/common/autofill_messages.h" 25 #include "chrome/common/autofill_messages.h"
27 #include "chrome/common/bindings_policy.h" 26 #include "chrome/common/bindings_policy.h"
28 #include "chrome/common/child_process_logging.h" 27 #include "chrome/common/child_process_logging.h"
29 #include "chrome/common/chrome_constants.h" 28 #include "chrome/common/chrome_constants.h"
30 #include "chrome/common/chrome_paths.h" 29 #include "chrome/common/chrome_paths.h"
31 #include "chrome/common/chrome_switches.h" 30 #include "chrome/common/chrome_switches.h"
32 #include "chrome/common/clipboard_messages.h" 31 #include "chrome/common/clipboard_messages.h"
33 #include "chrome/common/extensions/extension.h" 32 #include "chrome/common/extensions/extension.h"
34 #include "chrome/common/extensions/extension_constants.h" 33 #include "chrome/common/extensions/extension_constants.h"
35 #include "chrome/common/extensions/extension_set.h" 34 #include "chrome/common/extensions/extension_set.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 #include "chrome/renderer/spellchecker/spellcheck_provider.h" 92 #include "chrome/renderer/spellchecker/spellcheck_provider.h"
94 #include "chrome/renderer/translate_helper.h" 93 #include "chrome/renderer/translate_helper.h"
95 #include "chrome/renderer/user_script_idle_scheduler.h" 94 #include "chrome/renderer/user_script_idle_scheduler.h"
96 #include "chrome/renderer/user_script_slave.h" 95 #include "chrome/renderer/user_script_slave.h"
97 #include "chrome/renderer/visitedlink_slave.h" 96 #include "chrome/renderer/visitedlink_slave.h"
98 #include "chrome/renderer/web_ui_bindings.h" 97 #include "chrome/renderer/web_ui_bindings.h"
99 #include "chrome/renderer/webgraphicscontext3d_command_buffer_impl.h" 98 #include "chrome/renderer/webgraphicscontext3d_command_buffer_impl.h"
100 #include "chrome/renderer/webplugin_delegate_proxy.h" 99 #include "chrome/renderer/webplugin_delegate_proxy.h"
101 #include "chrome/renderer/websharedworker_proxy.h" 100 #include "chrome/renderer/websharedworker_proxy.h"
102 #include "chrome/renderer/webworker_proxy.h" 101 #include "chrome/renderer/webworker_proxy.h"
102 #include "content/common/appcache/appcache_dispatcher.h"
103 #include "content/common/content_constants.h" 103 #include "content/common/content_constants.h"
104 #include "content/common/database_messages.h" 104 #include "content/common/database_messages.h"
105 #include "content/common/file_system/file_system_dispatcher.h" 105 #include "content/common/file_system/file_system_dispatcher.h"
106 #include "content/common/file_system/webfilesystem_callback_dispatcher.h" 106 #include "content/common/file_system/webfilesystem_callback_dispatcher.h"
107 #include "content/common/notification_service.h" 107 #include "content/common/notification_service.h"
108 #include "grit/generated_resources.h" 108 #include "grit/generated_resources.h"
109 #include "grit/renderer_resources.h" 109 #include "grit/renderer_resources.h"
110 #include "media/base/filter_collection.h" 110 #include "media/base/filter_collection.h"
111 #include "media/base/media_switches.h" 111 #include "media/base/media_switches.h"
112 #include "media/base/message_loop_factory_impl.h" 112 #include "media/base/message_loop_factory_impl.h"
(...skipping 5492 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | chrome/renderer/renderer_webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698