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

Side by Side Diff: content/browser/renderer_host/render_message_filter.cc

Issue 10441019: Move render_view_host_delegate.h out of content/public. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
OLDNEW
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/renderer_host/render_message_filter.h" 5 #include "content/browser/renderer_host/render_message_filter.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/debug/alias.h" 12 #include "base/debug/alias.h"
13 #include "base/file_util.h" 13 #include "base/file_util.h"
14 #include "base/process_util.h" 14 #include "base/process_util.h"
15 #include "base/sys_string_conversions.h" 15 #include "base/sys_string_conversions.h"
16 #include "base/threading/thread.h" 16 #include "base/threading/thread.h"
17 #include "base/threading/worker_pool.h" 17 #include "base/threading/worker_pool.h"
18 #include "base/utf_string_conversions.h" 18 #include "base/utf_string_conversions.h"
19 #include "content/browser/child_process_security_policy_impl.h" 19 #include "content/browser/child_process_security_policy_impl.h"
20 #include "content/browser/dom_storage/dom_storage_context_impl.h" 20 #include "content/browser/dom_storage/dom_storage_context_impl.h"
21 #include "content/browser/download/download_stats.h" 21 #include "content/browser/download/download_stats.h"
22 #include "content/browser/plugin_process_host.h" 22 #include "content/browser/plugin_process_host.h"
23 #include "content/browser/plugin_service_impl.h" 23 #include "content/browser/plugin_service_impl.h"
24 #include "content/browser/ppapi_plugin_process_host.h" 24 #include "content/browser/ppapi_plugin_process_host.h"
25 #include "content/browser/renderer_host/render_process_host_impl.h" 25 #include "content/browser/renderer_host/render_process_host_impl.h"
26 #include "content/browser/renderer_host/render_view_host_delegate.h"
26 #include "content/browser/renderer_host/render_widget_helper.h" 27 #include "content/browser/renderer_host/render_widget_helper.h"
27 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" 28 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h"
28 #include "content/common/child_process_host_impl.h" 29 #include "content/common/child_process_host_impl.h"
29 #include "content/common/child_process_messages.h" 30 #include "content/common/child_process_messages.h"
30 #include "content/common/desktop_notification_messages.h" 31 #include "content/common/desktop_notification_messages.h"
31 #include "content/common/view_messages.h" 32 #include "content/common/view_messages.h"
32 #include "content/public/browser/browser_context.h" 33 #include "content/public/browser/browser_context.h"
33 #include "content/public/browser/browser_thread.h" 34 #include "content/public/browser/browser_thread.h"
34 #include "content/public/browser/content_browser_client.h" 35 #include "content/public/browser/content_browser_client.h"
35 #include "content/public/browser/download_save_info.h" 36 #include "content/public/browser/download_save_info.h"
36 #include "content/public/browser/media_observer.h" 37 #include "content/public/browser/media_observer.h"
37 #include "content/public/browser/plugin_service_filter.h" 38 #include "content/public/browser/plugin_service_filter.h"
38 #include "content/public/browser/render_view_host_delegate.h"
39 #include "content/public/browser/resource_context.h" 39 #include "content/public/browser/resource_context.h"
40 #include "content/public/browser/user_metrics.h" 40 #include "content/public/browser/user_metrics.h"
41 #include "content/public/common/content_switches.h" 41 #include "content/public/common/content_switches.h"
42 #include "content/public/common/context_menu_params.h" 42 #include "content/public/common/context_menu_params.h"
43 #include "content/public/common/url_constants.h" 43 #include "content/public/common/url_constants.h"
44 #include "ipc/ipc_channel_handle.h" 44 #include "ipc/ipc_channel_handle.h"
45 #include "ipc/ipc_platform_file.h" 45 #include "ipc/ipc_platform_file.h"
46 #include "media/audio/audio_manager_base.h" 46 #include "media/audio/audio_manager_base.h"
47 #include "media/audio/audio_util.h" 47 #include "media/audio/audio_util.h"
48 #include "media/base/media_log_event.h" 48 #include "media/base/media_log_event.h"
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 // for a resize or if no backing store) the RenderWidgetHost is blocking the 951 // for a resize or if no backing store) the RenderWidgetHost is blocking the
952 // UI thread for some time, waiting for an UpdateRect from the renderer. If we 952 // UI thread for some time, waiting for an UpdateRect from the renderer. If we
953 // are going to switch to accelerated compositing, the GPU process may need 953 // are going to switch to accelerated compositing, the GPU process may need
954 // round-trips to the UI thread before finishing the frame, causing deadlocks 954 // round-trips to the UI thread before finishing the frame, causing deadlocks
955 // if we delay the UpdateRect until we receive the OnSwapBuffersComplete. So 955 // if we delay the UpdateRect until we receive the OnSwapBuffersComplete. So
956 // the renderer sent us this message, so that we can unblock the UI thread. 956 // the renderer sent us this message, so that we can unblock the UI thread.
957 // We will simply re-use the UpdateRect unblock mechanism, just with a 957 // We will simply re-use the UpdateRect unblock mechanism, just with a
958 // different message. 958 // different message.
959 render_widget_helper_->DidReceiveBackingStoreMsg(msg); 959 render_widget_helper_->DidReceiveBackingStoreMsg(msg);
960 } 960 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698