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 26 matching lines...) Expand all Loading... |
37 #include "chrome/common/result_codes.h" | 37 #include "chrome/common/result_codes.h" |
38 #include "chrome/common/chrome_constants.h" | 38 #include "chrome/common/chrome_constants.h" |
39 #include "chrome/common/net/url_request_context_getter.h" | 39 #include "chrome/common/net/url_request_context_getter.h" |
40 #include "chrome/common/thumbnail_score.h" | 40 #include "chrome/common/thumbnail_score.h" |
41 #include "chrome/common/translate_errors.h" | 41 #include "chrome/common/translate_errors.h" |
42 #include "chrome/common/url_constants.h" | 42 #include "chrome/common/url_constants.h" |
43 #include "gfx/native_widget_types.h" | 43 #include "gfx/native_widget_types.h" |
44 #include "net/base/net_util.h" | 44 #include "net/base/net_util.h" |
45 #include "third_party/skia/include/core/SkBitmap.h" | 45 #include "third_party/skia/include/core/SkBitmap.h" |
46 #include "third_party/WebKit/WebKit/chromium/public/WebFindOptions.h" | 46 #include "third_party/WebKit/WebKit/chromium/public/WebFindOptions.h" |
| 47 #include "webkit/glue/context_menu.h" |
| 48 #include "webkit/glue/dom_operations.h" |
47 #include "webkit/glue/form_data.h" | 49 #include "webkit/glue/form_data.h" |
48 #include "webkit/glue/form_field.h" | 50 #include "webkit/glue/form_field.h" |
49 #include "webkit/glue/password_form_dom_manager.h" | 51 #include "webkit/glue/password_form_dom_manager.h" |
50 #include "webkit/glue/webaccessibility.h" | 52 #include "webkit/glue/webaccessibility.h" |
51 #include "webkit/glue/webdropdata.h" | 53 #include "webkit/glue/webdropdata.h" |
52 | 54 |
53 #if defined(OS_WIN) | 55 #if defined(OS_WIN) |
54 // TODO(port): accessibility not yet implemented. See http://crbug.com/8288. | 56 // TODO(port): accessibility not yet implemented. See http://crbug.com/8288. |
55 #include "chrome/browser/browser_accessibility_manager_win.h" | 57 #include "chrome/browser/browser_accessibility_manager_win.h" |
56 #endif | 58 #endif |
(...skipping 1963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2020 RenderViewHostDelegate::ContentSettings* content_settings_delegate = | 2022 RenderViewHostDelegate::ContentSettings* content_settings_delegate = |
2021 delegate_->GetContentSettingsDelegate(); | 2023 delegate_->GetContentSettingsDelegate(); |
2022 if (content_settings_delegate) | 2024 if (content_settings_delegate) |
2023 content_settings_delegate->OnWebDatabaseAccessed( | 2025 content_settings_delegate->OnWebDatabaseAccessed( |
2024 url, name, display_name, estimated_size, blocked_by_policy); | 2026 url, name, display_name, estimated_size, blocked_by_policy); |
2025 } | 2027 } |
2026 | 2028 |
2027 void RenderViewHost::OnSetDisplayingPDFContent() { | 2029 void RenderViewHost::OnSetDisplayingPDFContent() { |
2028 delegate_->SetDisplayingPDFContent(); | 2030 delegate_->SetDisplayingPDFContent(); |
2029 } | 2031 } |
OLD | NEW |