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 |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 27 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
28 #include "chrome/browser/renderer_host/render_widget_host.h" | 28 #include "chrome/browser/renderer_host/render_widget_host.h" |
29 #include "chrome/browser/renderer_host/render_widget_host_view.h" | 29 #include "chrome/browser/renderer_host/render_widget_host_view.h" |
30 #include "chrome/browser/renderer_host/site_instance.h" | 30 #include "chrome/browser/renderer_host/site_instance.h" |
31 #include "chrome/common/bindings_policy.h" | 31 #include "chrome/common/bindings_policy.h" |
32 #include "chrome/common/native_web_keyboard_event.h" | 32 #include "chrome/common/native_web_keyboard_event.h" |
33 #include "chrome/common/notification_details.h" | 33 #include "chrome/common/notification_details.h" |
34 #include "chrome/common/notification_service.h" | 34 #include "chrome/common/notification_service.h" |
35 #include "chrome/common/notification_type.h" | 35 #include "chrome/common/notification_type.h" |
36 #include "chrome/common/render_messages.h" | 36 #include "chrome/common/render_messages.h" |
| 37 #include "chrome/common/render_messages_params.h" |
37 #include "chrome/common/result_codes.h" | 38 #include "chrome/common/result_codes.h" |
38 #include "chrome/common/chrome_constants.h" | 39 #include "chrome/common/chrome_constants.h" |
39 #include "chrome/common/net/url_request_context_getter.h" | 40 #include "chrome/common/net/url_request_context_getter.h" |
40 #include "chrome/common/thumbnail_score.h" | 41 #include "chrome/common/thumbnail_score.h" |
41 #include "chrome/common/translate_errors.h" | 42 #include "chrome/common/translate_errors.h" |
42 #include "chrome/common/url_constants.h" | 43 #include "chrome/common/url_constants.h" |
43 #include "gfx/native_widget_types.h" | 44 #include "gfx/native_widget_types.h" |
44 #include "net/base/net_util.h" | 45 #include "net/base/net_util.h" |
45 #include "third_party/skia/include/core/SkBitmap.h" | 46 #include "third_party/skia/include/core/SkBitmap.h" |
46 #include "third_party/WebKit/WebKit/chromium/public/WebFindOptions.h" | 47 #include "third_party/WebKit/WebKit/chromium/public/WebFindOptions.h" |
(...skipping 1983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2030 RenderViewHostDelegate::ContentSettings* content_settings_delegate = | 2031 RenderViewHostDelegate::ContentSettings* content_settings_delegate = |
2031 delegate_->GetContentSettingsDelegate(); | 2032 delegate_->GetContentSettingsDelegate(); |
2032 if (content_settings_delegate) | 2033 if (content_settings_delegate) |
2033 content_settings_delegate->OnWebDatabaseAccessed( | 2034 content_settings_delegate->OnWebDatabaseAccessed( |
2034 url, name, display_name, estimated_size, blocked_by_policy); | 2035 url, name, display_name, estimated_size, blocked_by_policy); |
2035 } | 2036 } |
2036 | 2037 |
2037 void RenderViewHost::OnSetDisplayingPDFContent() { | 2038 void RenderViewHost::OnSetDisplayingPDFContent() { |
2038 delegate_->SetDisplayingPDFContent(); | 2039 delegate_->SetDisplayingPDFContent(); |
2039 } | 2040 } |
OLD | NEW |