| OLD | NEW |
| 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/browser/renderer_host/render_view_host.h" | 5 #include "content/browser/renderer_host/render_view_host.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/i18n/rtl.h" | 12 #include "base/i18n/rtl.h" |
| 13 #include "base/json/json_reader.h" | 13 #include "base/json/json_reader.h" |
| 14 #include "base/string_util.h" | 14 #include "base/string_util.h" |
| 15 #include "base/time.h" | 15 #include "base/time.h" |
| 16 #include "base/utf_string_conversions.h" | 16 #include "base/utf_string_conversions.h" |
| 17 #include "base/values.h" | 17 #include "base/values.h" |
| 18 #include "content/browser/browser_context.h" | 18 #include "content/browser/browser_context.h" |
| 19 #include "content/browser/browser_message_filter.h" | 19 #include "content/browser/browser_message_filter.h" |
| 20 #include "content/browser/child_process_security_policy.h" | 20 #include "content/browser/child_process_security_policy.h" |
| 21 #include "content/browser/content_browser_client.h" | |
| 22 #include "content/browser/cross_site_request_manager.h" | 21 #include "content/browser/cross_site_request_manager.h" |
| 23 #include "content/browser/host_zoom_map.h" | 22 #include "content/browser/host_zoom_map.h" |
| 24 #include "content/browser/in_process_webkit/session_storage_namespace.h" | 23 #include "content/browser/in_process_webkit/session_storage_namespace.h" |
| 25 #include "content/browser/renderer_host/render_process_host.h" | 24 #include "content/browser/renderer_host/render_process_host.h" |
| 26 #include "content/browser/renderer_host/render_view_host_delegate.h" | 25 #include "content/browser/renderer_host/render_view_host_delegate.h" |
| 27 #include "content/browser/renderer_host/render_view_host_observer.h" | 26 #include "content/browser/renderer_host/render_view_host_observer.h" |
| 28 #include "content/browser/renderer_host/render_widget_host.h" | 27 #include "content/browser/renderer_host/render_widget_host.h" |
| 29 #include "content/browser/renderer_host/render_widget_host_view.h" | 28 #include "content/browser/renderer_host/render_widget_host_view.h" |
| 30 #include "content/browser/site_instance.h" | 29 #include "content/browser/site_instance.h" |
| 31 #include "content/browser/user_metrics.h" | 30 #include "content/browser/user_metrics.h" |
| 32 #include "content/common/content_constants.h" | 31 #include "content/common/content_constants.h" |
| 33 #include "content/common/desktop_notification_messages.h" | 32 #include "content/common/desktop_notification_messages.h" |
| 34 #include "content/common/drag_messages.h" | 33 #include "content/common/drag_messages.h" |
| 35 #include "content/common/notification_details.h" | 34 #include "content/common/notification_details.h" |
| 36 #include "content/common/notification_service.h" | 35 #include "content/common/notification_service.h" |
| 37 #include "content/common/result_codes.h" | 36 #include "content/common/result_codes.h" |
| 38 #include "content/common/speech_input_messages.h" | 37 #include "content/common/speech_input_messages.h" |
| 39 #include "content/common/swapped_out_messages.h" | 38 #include "content/common/swapped_out_messages.h" |
| 40 #include "content/common/view_messages.h" | 39 #include "content/common/view_messages.h" |
| 40 #include "content/public/browser/content_browser_client.h" |
| 41 #include "content/public/browser/native_web_keyboard_event.h" | 41 #include "content/public/browser/native_web_keyboard_event.h" |
| 42 #include "content/public/browser/notification_types.h" | 42 #include "content/public/browser/notification_types.h" |
| 43 #include "content/public/common/bindings_policy.h" | 43 #include "content/public/common/bindings_policy.h" |
| 44 #include "content/public/common/url_constants.h" | 44 #include "content/public/common/url_constants.h" |
| 45 #include "net/base/net_util.h" | 45 #include "net/base/net_util.h" |
| 46 #include "net/url_request/url_request_context_getter.h" | 46 #include "net/url_request/url_request_context_getter.h" |
| 47 #include "third_party/skia/include/core/SkBitmap.h" | 47 #include "third_party/skia/include/core/SkBitmap.h" |
| 48 #include "ui/gfx/native_widget_types.h" | 48 #include "ui/gfx/native_widget_types.h" |
| 49 #include "webkit/glue/context_menu.h" | 49 #include "webkit/glue/context_menu.h" |
| 50 #include "webkit/glue/webaccessibility.h" | 50 #include "webkit/glue/webaccessibility.h" |
| (...skipping 1375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1426 void RenderViewHost::OnRunFileChooser( | 1426 void RenderViewHost::OnRunFileChooser( |
| 1427 const ViewHostMsg_RunFileChooser_Params& params) { | 1427 const ViewHostMsg_RunFileChooser_Params& params) { |
| 1428 delegate_->RunFileChooser(this, params); | 1428 delegate_->RunFileChooser(this, params); |
| 1429 } | 1429 } |
| 1430 | 1430 |
| 1431 void RenderViewHost::OnWebUISend(const GURL& source_url, | 1431 void RenderViewHost::OnWebUISend(const GURL& source_url, |
| 1432 const std::string& name, | 1432 const std::string& name, |
| 1433 const base::ListValue& args) { | 1433 const base::ListValue& args) { |
| 1434 delegate_->WebUISend(this, source_url, name, args); | 1434 delegate_->WebUISend(this, source_url, name, args); |
| 1435 } | 1435 } |
| OLD | NEW |