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

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

Issue 9420007: Move RenderWidgetHostView into content namespace. Fix include paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos_gtk build issue not caught by trybots. Created 8 years, 10 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_view_host.h" 5 #include "content/browser/renderer_host/render_view_host.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/i18n/rtl.h" 13 #include "base/i18n/rtl.h"
14 #include "base/json/json_reader.h" 14 #include "base/json/json_reader.h"
15 #include "base/message_loop.h" 15 #include "base/message_loop.h"
16 #include "base/stl_util.h" 16 #include "base/stl_util.h"
17 #include "base/string_util.h" 17 #include "base/string_util.h"
18 #include "base/time.h" 18 #include "base/time.h"
19 #include "base/utf_string_conversions.h" 19 #include "base/utf_string_conversions.h"
20 #include "base/values.h" 20 #include "base/values.h"
21 #include "content/browser/child_process_security_policy_impl.h" 21 #include "content/browser/child_process_security_policy_impl.h"
22 #include "content/browser/cross_site_request_manager.h" 22 #include "content/browser/cross_site_request_manager.h"
23 #include "content/browser/gpu/gpu_surface_tracker.h" 23 #include "content/browser/gpu/gpu_surface_tracker.h"
24 #include "content/browser/host_zoom_map_impl.h" 24 #include "content/browser/host_zoom_map_impl.h"
25 #include "content/browser/in_process_webkit/session_storage_namespace.h" 25 #include "content/browser/in_process_webkit/session_storage_namespace.h"
26 #include "content/browser/power_save_blocker.h" 26 #include "content/browser/power_save_blocker.h"
27 #include "content/browser/renderer_host/render_process_host_impl.h" 27 #include "content/browser/renderer_host/render_process_host_impl.h"
28 #include "content/browser/renderer_host/render_widget_host.h" 28 #include "content/browser/renderer_host/render_widget_host.h"
29 #include "content/browser/renderer_host/render_widget_host_view.h"
30 #include "content/common/accessibility_messages.h" 29 #include "content/common/accessibility_messages.h"
31 #include "content/common/desktop_notification_messages.h" 30 #include "content/common/desktop_notification_messages.h"
32 #include "content/common/drag_messages.h" 31 #include "content/common/drag_messages.h"
33 #include "content/common/speech_input_messages.h" 32 #include "content/common/speech_input_messages.h"
34 #include "content/common/swapped_out_messages.h" 33 #include "content/common/swapped_out_messages.h"
35 #include "content/common/view_messages.h" 34 #include "content/common/view_messages.h"
35 #include "content/port/browser/render_widget_host_view_port.h"
36 #include "content/public/browser/browser_context.h" 36 #include "content/public/browser/browser_context.h"
37 #include "content/public/browser/browser_message_filter.h" 37 #include "content/public/browser/browser_message_filter.h"
38 #include "content/public/browser/content_browser_client.h" 38 #include "content/public/browser/content_browser_client.h"
39 #include "content/public/browser/dom_operation_notification_details.h" 39 #include "content/public/browser/dom_operation_notification_details.h"
40 #include "content/public/browser/native_web_keyboard_event.h" 40 #include "content/public/browser/native_web_keyboard_event.h"
41 #include "content/public/browser/notification_details.h" 41 #include "content/public/browser/notification_details.h"
42 #include "content/public/browser/notification_service.h" 42 #include "content/public/browser/notification_service.h"
43 #include "content/public/browser/notification_types.h" 43 #include "content/public/browser/notification_types.h"
44 #include "content/public/browser/render_view_host_delegate.h" 44 #include "content/public/browser/render_view_host_delegate.h"
45 #include "content/public/browser/render_view_host_observer.h" 45 #include "content/public/browser/render_view_host_observer.h"
(...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1590 // Whenever we change swap out state, we should not be waiting for 1590 // Whenever we change swap out state, we should not be waiting for
1591 // beforeunload or unload acks. We clear them here to be safe, since they 1591 // beforeunload or unload acks. We clear them here to be safe, since they
1592 // can cause navigations to be ignored in OnMsgNavigate. 1592 // can cause navigations to be ignored in OnMsgNavigate.
1593 is_waiting_for_beforeunload_ack_ = false; 1593 is_waiting_for_beforeunload_ack_ = false;
1594 is_waiting_for_unload_ack_ = false; 1594 is_waiting_for_unload_ack_ = false;
1595 } 1595 }
1596 1596
1597 void RenderViewHost::ClearPowerSaveBlockers() { 1597 void RenderViewHost::ClearPowerSaveBlockers() {
1598 STLDeleteValues(&power_save_blockers_); 1598 STLDeleteValues(&power_save_blockers_);
1599 } 1599 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/backing_store_mac.mm ('k') | content/browser/renderer_host/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698