diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-17 15:17:00 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-17 15:17:00 +0000 |
commit | 2e2216e43424120be34fe6cab1136eddecbeb4a0 (patch) | |
tree | d05aa7261bc1dede9afdaff0e45219d4d0d5b1aa /ui/compositor/dip_util.h | |
parent | 8a06ebd3e04a184fc424e8dc87aa6a9d25dde1d4 (diff) | |
download | chromium_src-2e2216e43424120be34fe6cab1136eddecbeb4a0.zip chromium_src-2e2216e43424120be34fe6cab1136eddecbeb4a0.tar.gz chromium_src-2e2216e43424120be34fe6cab1136eddecbeb4a0.tar.bz2 |
Remove ui-enable-dip option
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10310067
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137659 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/compositor/dip_util.h')
-rw-r--r-- | ui/compositor/dip_util.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/ui/compositor/dip_util.h b/ui/compositor/dip_util.h index 0667052..bf4cdfe 100644 --- a/ui/compositor/dip_util.h +++ b/ui/compositor/dip_util.h @@ -16,26 +16,8 @@ class Rect; } // namespace gfx namespace ui { -namespace test { - -// A scoped object allows you to temporarily enable DIP -// in the unit tests. -class COMPOSITOR_EXPORT ScopedDIPEnablerForTest { - public: - ScopedDIPEnablerForTest(); - ~ScopedDIPEnablerForTest(); - - private: - DISALLOW_COPY_AND_ASSIGN(ScopedDIPEnablerForTest); -}; - -} // namespace test - class Layer; -// True if DIP is enabled. -COMPOSITOR_EXPORT bool IsDIPEnabled(); - COMPOSITOR_EXPORT float GetDeviceScaleFactor(const Layer* layer); // Utility functions that convert point/size/rect between |