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

Unified Diff: components/native_viewport/platform_viewport.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
Index: components/native_viewport/platform_viewport.h
diff --git a/components/native_viewport/platform_viewport.h b/components/native_viewport/platform_viewport.h
index 3e5811928529e50bf2c30a18370d8ece50fc34f7..57fbbf2f0af585d6f9fbf4e15501223e0f7e3c38 100644
--- a/components/native_viewport/platform_viewport.h
+++ b/components/native_viewport/platform_viewport.h
@@ -25,8 +25,8 @@ class PlatformViewport {
virtual ~Delegate() {}
virtual void OnMetricsChanged(mojo::ViewportMetricsPtr metrics) = 0;
- virtual void OnAcceleratedWidgetAvailable(
- gfx::AcceleratedWidget widget) = 0;
+ virtual void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget,
+ float device_pixel_ratio) = 0;
virtual void OnAcceleratedWidgetDestroyed() = 0;
virtual bool OnEvent(mojo::EventPtr event) = 0;
virtual void OnDestroyed() = 0;
« no previous file with comments | « components/native_viewport/native_viewport_impl.cc ('k') | components/native_viewport/platform_viewport_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698