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

Unified Diff: components/view_manager/public/cpp/view_observer.h

Issue 1136743003: Plumbs through screen size and scale factor to html_viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/native_viewport/public/interfaces/native_viewport.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/public/cpp/view_observer.h
diff --git a/components/view_manager/public/cpp/view_observer.h b/components/view_manager/public/cpp/view_observer.h
index 997a9aa1c789ed0ea0750ec67696bcdca5a6e90f..0174ac00e8951373e84582355975a4c32128436a 100644
--- a/components/view_manager/public/cpp/view_observer.h
+++ b/components/view_manager/public/cpp/view_observer.h
@@ -54,10 +54,10 @@ class ViewObserver {
const Rect& old_bounds,
const Rect& new_bounds) {}
- virtual void OnViewViewportMetricsChanged(View* view,
- const ViewportMetrics& old_bounds,
- const ViewportMetrics& new_bounds) {
- }
+ virtual void OnViewViewportMetricsChanged(
+ View* view,
+ const ViewportMetrics& old_metrics,
+ const ViewportMetrics& new_metrics) {}
virtual void OnViewFocusChanged(View* gained_focus, View* lost_focus) {}
« no previous file with comments | « components/native_viewport/public/interfaces/native_viewport.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698