| OLD | NEW |
| 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_impl.h" | 5 #include "content/browser/renderer_host/render_view_host_impl.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/dom_storage/dom_storage_context_impl.h" | 23 #include "content/browser/dom_storage/dom_storage_context_impl.h" |
| 24 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 24 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
| 25 #include "content/browser/gpu/gpu_surface_tracker.h" | 25 #include "content/browser/gpu/gpu_surface_tracker.h" |
| 26 #include "content/browser/host_zoom_map_impl.h" | 26 #include "content/browser/host_zoom_map_impl.h" |
| 27 #include "content/browser/power_save_blocker.h" | 27 #include "content/browser/power_save_blocker.h" |
| 28 #include "content/browser/renderer_host/render_process_host_impl.h" | 28 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 29 #include "content/browser/renderer_host/render_view_host_delegate.h" |
| 29 #include "content/common/accessibility_messages.h" | 30 #include "content/common/accessibility_messages.h" |
| 30 #include "content/common/desktop_notification_messages.h" | 31 #include "content/common/desktop_notification_messages.h" |
| 31 #include "content/common/drag_messages.h" | 32 #include "content/common/drag_messages.h" |
| 32 #include "content/common/inter_process_time_ticks_converter.h" | 33 #include "content/common/inter_process_time_ticks_converter.h" |
| 33 #include "content/common/speech_recognition_messages.h" | 34 #include "content/common/speech_recognition_messages.h" |
| 34 #include "content/common/swapped_out_messages.h" | 35 #include "content/common/swapped_out_messages.h" |
| 35 #include "content/common/view_messages.h" | 36 #include "content/common/view_messages.h" |
| 36 #include "content/port/browser/render_view_host_delegate_view.h" | 37 #include "content/port/browser/render_view_host_delegate_view.h" |
| 37 #include "content/port/browser/render_widget_host_view_port.h" | 38 #include "content/port/browser/render_widget_host_view_port.h" |
| 38 #include "content/public/browser/browser_accessibility_state.h" | 39 #include "content/public/browser/browser_accessibility_state.h" |
| 39 #include "content/public/browser/browser_context.h" | 40 #include "content/public/browser/browser_context.h" |
| 40 #include "content/public/browser/browser_message_filter.h" | 41 #include "content/public/browser/browser_message_filter.h" |
| 41 #include "content/public/browser/content_browser_client.h" | 42 #include "content/public/browser/content_browser_client.h" |
| 42 #include "content/public/browser/dom_operation_notification_details.h" | 43 #include "content/public/browser/dom_operation_notification_details.h" |
| 43 #include "content/public/browser/native_web_keyboard_event.h" | 44 #include "content/public/browser/native_web_keyboard_event.h" |
| 44 #include "content/public/browser/notification_details.h" | 45 #include "content/public/browser/notification_details.h" |
| 45 #include "content/public/browser/notification_service.h" | 46 #include "content/public/browser/notification_service.h" |
| 46 #include "content/public/browser/notification_types.h" | 47 #include "content/public/browser/notification_types.h" |
| 47 #include "content/public/browser/render_view_host_delegate.h" | |
| 48 #include "content/public/browser/render_view_host_observer.h" | 48 #include "content/public/browser/render_view_host_observer.h" |
| 49 #include "content/public/browser/user_metrics.h" | 49 #include "content/public/browser/user_metrics.h" |
| 50 #include "content/public/common/bindings_policy.h" | 50 #include "content/public/common/bindings_policy.h" |
| 51 #include "content/public/common/content_constants.h" | 51 #include "content/public/common/content_constants.h" |
| 52 #include "content/public/common/content_switches.h" | 52 #include "content/public/common/content_switches.h" |
| 53 #include "content/public/common/context_menu_params.h" | 53 #include "content/public/common/context_menu_params.h" |
| 54 #include "content/public/common/result_codes.h" | 54 #include "content/public/common/result_codes.h" |
| 55 #include "content/public/common/selected_file_info.h" | 55 #include "content/public/common/selected_file_info.h" |
| 56 #include "content/public/common/url_constants.h" | 56 #include "content/public/common/url_constants.h" |
| 57 #include "net/base/net_util.h" | 57 #include "net/base/net_util.h" |
| (...skipping 1762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1820 // can cause navigations to be ignored in OnMsgNavigate. | 1820 // can cause navigations to be ignored in OnMsgNavigate. |
| 1821 is_waiting_for_beforeunload_ack_ = false; | 1821 is_waiting_for_beforeunload_ack_ = false; |
| 1822 is_waiting_for_unload_ack_ = false; | 1822 is_waiting_for_unload_ack_ = false; |
| 1823 } | 1823 } |
| 1824 | 1824 |
| 1825 void RenderViewHostImpl::ClearPowerSaveBlockers() { | 1825 void RenderViewHostImpl::ClearPowerSaveBlockers() { |
| 1826 STLDeleteValues(&power_save_blockers_); | 1826 STLDeleteValues(&power_save_blockers_); |
| 1827 } | 1827 } |
| 1828 | 1828 |
| 1829 } // namespace content | 1829 } // namespace content |
| OLD | NEW |