Move DIP translation from ui/aura to ui/compositor.

Layer's coordinate system is now in DIP.
Added support of dynamic density switching.
Removed ENABLE_DIP gyp/macro and added runtime flag "--ui-enable-dip"

BUG=105165, 114666
TEST=enabled monitor test. added new tests to compositor_unittests

Review URL: https://chromiumcodereview.appspot.com/10221028

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135888 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
oshima@chromium.org 2012-05-08 19:16:59 +00:00
Родитель f9ca9ef100
Коммит 42f812252a
1 изменённых файлов: 0 добавлений и 9 удалений

Просмотреть файл

@ -29,9 +29,6 @@
# Whether or not we are building the Ash shell.
'use_ash%': 0,
# Enable DIP (Density Independent Pixels) support.
'enable_dip%': 0,
# Use OpenSSL instead of NSS. Under development: see http://crbug.com/62803
'use_openssl%': 0,
@ -55,7 +52,6 @@
'chromeos%': '<(chromeos)',
'use_aura%': '<(use_aura)',
'use_ash%': '<(use_ash)',
'enable_dip%': '<(enable_dip)',
'use_openssl%': '<(use_openssl)',
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
'enable_viewport%': '<(enable_viewport)',
@ -117,7 +113,6 @@
'toolkit_views%': '<(toolkit_views)',
'use_aura%': '<(use_aura)',
'use_ash%': '<(use_ash)',
'enable_dip%': '<(enable_dip)',
'use_openssl%': '<(use_openssl)',
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
'enable_viewport%': '<(enable_viewport)',
@ -503,7 +498,6 @@
'ui_compositor_image_transport%': '<(ui_compositor_image_transport)',
'use_aura%': '<(use_aura)',
'use_ash%': '<(use_ash)',
'enable_dip%': '<(enable_dip)',
'use_openssl%': '<(use_openssl)',
'use_nss%': '<(use_nss)',
'os_bsd%': '<(os_bsd)',
@ -1256,9 +1250,6 @@
['use_ash==1', {
'defines': ['USE_ASH=1'],
}],
['enable_dip==1', {
'defines': ['ENABLE_DIP'],
}],
['use_nss==1', {
'defines': ['USE_NSS=1'],
}],