diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-09 19:27:43 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-09 19:27:43 +0000 |
commit | 29197f8cd1fd499128a2ad845a866313d4eeaf00 (patch) | |
tree | 137cc52803e518f7b4edd94b93ab0c89d6df8aa8 /ui/ui.gyp | |
parent | e7aa62a3bf6993369b5adb61028fddb3eb7a58bf (diff) | |
download | chromium_src-29197f8cd1fd499128a2ad845a866313d4eeaf00.zip chromium_src-29197f8cd1fd499128a2ad845a866313d4eeaf00.tar.gz chromium_src-29197f8cd1fd499128a2ad845a866313d4eeaf00.tar.bz2 |
Floating point based Point/Size/Rect and Insets
This is copied from integer version, instead of using
template, to minimize conflict with m19 branch, as
using template requires updating forward declaration
of these classes in many places.
I put this behind gyp flag for now so that we can move forward without breaking non DIP build until we can get aura
working with DIP.
BUG=114664
TEST=none
Review URL: http://codereview.chromium.org/10025004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131405 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/ui.gyp')
-rw-r--r-- | ui/ui.gyp | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -500,6 +500,18 @@ }], ], }], + ['enable_dip==1', { + 'sources': [ + 'gfx/insets_f.cc', + 'gfx/insets_f.h', + 'gfx/point_f.cc', + 'gfx/point_f.h', + 'gfx/rect_f.cc', + 'gfx/rect_f.h', + 'gfx/size_f.cc', + 'gfx/size_f.h', + ], + }], ['toolkit_uses_gtk == 1', { 'dependencies': [ '../build/linux/system.gyp:gtk', |