Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: chrome/renderer/chrome_render_frame_observer.cc

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_render_frame_observer.h ('k') | chrome/renderer/chrome_render_thread_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698