| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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/form_data.h" | 47 #include "webkit/glue/form_data.h" |
| 48 #include "webkit/glue/form_field.h" | 48 #include "webkit/glue/form_field.h" |
| 49 | 49 |
| 50 #if defined(OS_WIN) | 50 #if defined(OS_WIN) |
| 51 // TODO(port): accessibility not yet implemented. See http://crbug.com/8288. | 51 // TODO(port): accessibility not yet implemented. See http://crbug.com/8288. |
| 52 #include "chrome/browser/browser_accessibility_manager.h" | 52 #include "chrome/browser/browser_accessibility_manager_win.h" |
| 53 #endif | 53 #endif |
| 54 | 54 |
| 55 using base::TimeDelta; | 55 using base::TimeDelta; |
| 56 using webkit_glue::FormData; | 56 using webkit_glue::FormData; |
| 57 using webkit_glue::PasswordForm; | 57 using webkit_glue::PasswordForm; |
| 58 using webkit_glue::PasswordFormDomManager; | 58 using webkit_glue::PasswordFormDomManager; |
| 59 using webkit_glue::WebApplicationInfo; | 59 using webkit_glue::WebApplicationInfo; |
| 60 using WebKit::WebConsoleMessage; | 60 using WebKit::WebConsoleMessage; |
| 61 using WebKit::WebDragOperation; | 61 using WebKit::WebDragOperation; |
| 62 using WebKit::WebDragOperationNone; | 62 using WebKit::WebDragOperationNone; |
| (...skipping 1833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1896 integration_delegate->OnPageTranslated(page_id, original_lang, | 1896 integration_delegate->OnPageTranslated(page_id, original_lang, |
| 1897 translated_lang, error_type); | 1897 translated_lang, error_type); |
| 1898 } | 1898 } |
| 1899 | 1899 |
| 1900 void RenderViewHost::OnContentBlocked(ContentSettingsType type) { | 1900 void RenderViewHost::OnContentBlocked(ContentSettingsType type) { |
| 1901 RenderViewHostDelegate::Resource* resource_delegate = | 1901 RenderViewHostDelegate::Resource* resource_delegate = |
| 1902 delegate_->GetResourceDelegate(); | 1902 delegate_->GetResourceDelegate(); |
| 1903 if (resource_delegate) | 1903 if (resource_delegate) |
| 1904 resource_delegate->OnContentBlocked(type); | 1904 resource_delegate->OnContentBlocked(type); |
| 1905 } | 1905 } |
| OLD | NEW |