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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 default: | 355 default: |
356 break; | 356 break; |
357 } | 357 } |
358 } | 358 } |
359 | 359 |
360 void ChromeRenderFrameObserver::OnDestruct() { | 360 void ChromeRenderFrameObserver::OnDestruct() { |
361 delete this; | 361 delete this; |
362 } | 362 } |
363 | 363 |
364 void ChromeRenderFrameObserver::OnImageContextMenuRendererRequest( | 364 void ChromeRenderFrameObserver::OnImageContextMenuRendererRequest( |
| 365 const service_manager::BindSourceInfo& source_info, |
365 chrome::mojom::ImageContextMenuRendererRequest request) { | 366 chrome::mojom::ImageContextMenuRendererRequest request) { |
366 image_context_menu_renderer_bindings_.AddBinding(this, std::move(request)); | 367 image_context_menu_renderer_bindings_.AddBinding(this, std::move(request)); |
367 } | 368 } |
368 | 369 |
369 void ChromeRenderFrameObserver::OnThumbnailCapturerRequest( | 370 void ChromeRenderFrameObserver::OnThumbnailCapturerRequest( |
| 371 const service_manager::BindSourceInfo& source_info, |
370 chrome::mojom::ThumbnailCapturerRequest request) { | 372 chrome::mojom::ThumbnailCapturerRequest request) { |
371 thumbnail_capturer_bindings_.AddBinding(this, std::move(request)); | 373 thumbnail_capturer_bindings_.AddBinding(this, std::move(request)); |
372 } | 374 } |
OLD | NEW |