OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/browser/renderer_host/render_view_host.h" | 5 #include "chrome/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/i18n/rtl.h" | 11 #include "base/i18n/rtl.h" |
12 #include "base/json/json_reader.h" | 12 #include "base/json/json_reader.h" |
13 #include "base/stats_counters.h" | 13 #include "base/stats_counters.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/waitable_event.h" | |
17 #include "chrome/browser/browser_list.h" | 16 #include "chrome/browser/browser_list.h" |
18 #include "chrome/browser/child_process_security_policy.h" | 17 #include "chrome/browser/child_process_security_policy.h" |
19 #include "chrome/browser/cross_site_request_manager.h" | 18 #include "chrome/browser/cross_site_request_manager.h" |
20 #include "chrome/browser/debugger/devtools_manager.h" | 19 #include "chrome/browser/debugger/devtools_manager.h" |
21 #include "chrome/browser/dom_operation_notification_details.h" | 20 #include "chrome/browser/dom_operation_notification_details.h" |
22 #include "chrome/browser/extensions/extension_message_service.h" | 21 #include "chrome/browser/extensions/extension_message_service.h" |
23 #include "chrome/browser/metrics/user_metrics.h" | 22 #include "chrome/browser/metrics/user_metrics.h" |
24 #include "chrome/browser/notifications/desktop_notification_service.h" | 23 #include "chrome/browser/notifications/desktop_notification_service.h" |
25 #include "chrome/browser/profile.h" | 24 #include "chrome/browser/profile.h" |
26 #include "chrome/browser/renderer_host/render_process_host.h" | 25 #include "chrome/browser/renderer_host/render_process_host.h" |
(...skipping 1949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1976 RenderViewHostDelegate::ContentSettings* content_settings_delegate = | 1975 RenderViewHostDelegate::ContentSettings* content_settings_delegate = |
1977 delegate_->GetContentSettingsDelegate(); | 1976 delegate_->GetContentSettingsDelegate(); |
1978 if (content_settings_delegate) | 1977 if (content_settings_delegate) |
1979 content_settings_delegate->OnWebDatabaseAccessed( | 1978 content_settings_delegate->OnWebDatabaseAccessed( |
1980 url, name, display_name, estimated_size, blocked_by_policy); | 1979 url, name, display_name, estimated_size, blocked_by_policy); |
1981 } | 1980 } |
1982 | 1981 |
1983 void RenderViewHost::OnSetDisplayingPDFContent() { | 1982 void RenderViewHost::OnSetDisplayingPDFContent() { |
1984 delegate_->SetDisplayingPDFContent(); | 1983 delegate_->SetDisplayingPDFContent(); |
1985 } | 1984 } |
OLD | NEW |