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

Unified Diff: ppapi/shared_impl/ppb_view_shared.h

Issue 10544168: Implement HiDPI support in Pepper dev interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments to Graphics2DDev C++ header Created 8 years, 6 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: ppapi/shared_impl/ppb_view_shared.h
diff --git a/ppapi/shared_impl/ppb_view_shared.h b/ppapi/shared_impl/ppb_view_shared.h
index 59b8e723edf40ef46c57371f47bb08d6aca6406d..e3d41acbb28e0e792a2f5f104ce624ca790fd8ab 100644
--- a/ppapi/shared_impl/ppb_view_shared.h
+++ b/ppapi/shared_impl/ppb_view_shared.h
@@ -25,6 +25,8 @@ struct PPAPI_SHARED_EXPORT ViewData {
bool is_fullscreen;
bool is_page_visible;
PP_Rect clip_rect;
+ float device_scale;
+ float css_scale;
};
class PPAPI_SHARED_EXPORT PPB_View_Shared

Powered by Google App Engine
This is Rietveld 408576698