OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/renderer/chrome_render_frame_observer.h" | 5 #include "chrome/renderer/chrome_render_frame_observer.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
10 #include <limits> | 10 #include <limits> |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "chrome/common/prerender_messages.h" | 23 #include "chrome/common/prerender_messages.h" |
24 #include "chrome/common/render_messages.h" | 24 #include "chrome/common/render_messages.h" |
25 #include "chrome/renderer/prerender/prerender_helper.h" | 25 #include "chrome/renderer/prerender/prerender_helper.h" |
26 #include "chrome/renderer/safe_browsing/phishing_classifier_delegate.h" | 26 #include "chrome/renderer/safe_browsing/phishing_classifier_delegate.h" |
27 #include "components/translate/content/renderer/translate_helper.h" | 27 #include "components/translate/content/renderer/translate_helper.h" |
28 #include "content/public/common/associated_interface_provider.h" | 28 #include "content/public/common/associated_interface_provider.h" |
29 #include "content/public/renderer/render_frame.h" | 29 #include "content/public/renderer/render_frame.h" |
30 #include "content/public/renderer/render_view.h" | 30 #include "content/public/renderer/render_view.h" |
31 #include "extensions/common/constants.h" | 31 #include "extensions/common/constants.h" |
32 #include "printing/features/features.h" | 32 #include "printing/features/features.h" |
33 #include "services/service_manager/public/cpp/interface_registry.h" | 33 #include "services/service_manager/public/cpp/binder_registry.h" |
34 #include "skia/ext/image_operations.h" | 34 #include "skia/ext/image_operations.h" |
35 #include "third_party/WebKit/public/platform/WebImage.h" | 35 #include "third_party/WebKit/public/platform/WebImage.h" |
36 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 36 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
37 #include "third_party/WebKit/public/web/WebDataSource.h" | 37 #include "third_party/WebKit/public/web/WebDataSource.h" |
38 #include "third_party/WebKit/public/web/WebDocument.h" | 38 #include "third_party/WebKit/public/web/WebDocument.h" |
39 #include "third_party/WebKit/public/web/WebElement.h" | 39 #include "third_party/WebKit/public/web/WebElement.h" |
40 #include "third_party/WebKit/public/web/WebFrameContentDumper.h" | 40 #include "third_party/WebKit/public/web/WebFrameContentDumper.h" |
41 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 41 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
42 #include "third_party/WebKit/public/web/WebNode.h" | 42 #include "third_party/WebKit/public/web/WebNode.h" |
43 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 43 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 | 359 |
360 void ChromeRenderFrameObserver::OnImageContextMenuRendererRequest( | 360 void ChromeRenderFrameObserver::OnImageContextMenuRendererRequest( |
361 chrome::mojom::ImageContextMenuRendererRequest request) { | 361 chrome::mojom::ImageContextMenuRendererRequest request) { |
362 image_context_menu_renderer_bindings_.AddBinding(this, std::move(request)); | 362 image_context_menu_renderer_bindings_.AddBinding(this, std::move(request)); |
363 } | 363 } |
364 | 364 |
365 void ChromeRenderFrameObserver::OnThumbnailCapturerRequest( | 365 void ChromeRenderFrameObserver::OnThumbnailCapturerRequest( |
366 chrome::mojom::ThumbnailCapturerRequest request) { | 366 chrome::mojom::ThumbnailCapturerRequest request) { |
367 thumbnail_capturer_bindings_.AddBinding(this, std::move(request)); | 367 thumbnail_capturer_bindings_.AddBinding(this, std::move(request)); |
368 } | 368 } |
OLD | NEW |