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

Unified Diff: components/html_viewer/ui_setup_android.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/html_viewer/ui_setup.h ('k') | components/html_viewer/ui_setup_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/ui_setup_android.h
diff --git a/components/html_viewer/ui_setup_android.h b/components/html_viewer/ui_setup_android.h
index eeb38b56e84c8b906e8bee3686fafd6f7988de27..d9638e19a291efeb52ff18a0bdba99fac4f81d5d 100644
--- a/components/html_viewer/ui_setup_android.h
+++ b/components/html_viewer/ui_setup_android.h
@@ -10,6 +10,7 @@
namespace gfx {
class Screen;
+class Size;
}
namespace ui {
@@ -22,7 +23,7 @@ class GestureConfigurationMandoline;
class UISetup {
public:
- UISetup();
+ UISetup(const gfx::Size& screen_size_in_pixels, float device_pixel_ratio);
~UISetup();
private:
« no previous file with comments | « components/html_viewer/ui_setup.h ('k') | components/html_viewer/ui_setup_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698