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

Unified Diff: ui/base/layout.h

Issue 247193002: Remove touch layout (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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: ui/base/layout.h
diff --git a/ui/base/layout.h b/ui/base/layout.h
index 690335aabc8c02e3791bda48643ff5409f366066..df9f6cc5e7a1a417c32ec71bef500ce5aa98e2ef 100644
--- a/ui/base/layout.h
+++ b/ui/base/layout.h
@@ -13,21 +13,6 @@
namespace ui {
-enum DisplayLayout {
- // The typical layout for e.g. Windows, Mac and Linux.
- LAYOUT_DESKTOP,
-
- // Layout optimized for touch. Used e.g. for Windows 8 Metro mode.
- LAYOUT_TOUCH,
-};
-
-// Returns the display layout that should be used. This could be used
-// e.g. to tweak hard-coded padding that's layout specific, or choose
-// the .pak file of theme resources to load.
-// WARNING: this is deprecated and will be nuked as soon as aura is the default
-// on windows.
-UI_BASE_EXPORT DisplayLayout GetDisplayLayout();
-
// Supported UI scale factors for the platform. This is used as an index
// into the array |kScaleFactorScales| which maps the enum value to a float.
// SCALE_FACTOR_NONE is used for density independent resources such as

Powered by Google App Engine
This is Rietveld 408576698