summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/all.gyp5
-rw-r--r--chrome/chrome.gyp274
-rw-r--r--views/views.gyp291
-rw-r--r--views/views.vcproj915
4 files changed, 310 insertions, 1175 deletions
diff --git a/build/all.gyp b/build/all.gyp
index 2d3fa12..8b7b5a4 100644
--- a/build/all.gyp
+++ b/build/all.gyp
@@ -71,6 +71,11 @@
'../third_party/libevent/libevent.gyp:*',
],
}],
+ ['OS=="win" or (OS=="linux" and toolkit_views==1)', {
+ 'dependencies': [
+ '../views/views.gyp:*',
+ ],
+ }],
['all_gyps', {
'dependencies': [
'../chrome/chrome.gyp:*',
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 982f7b1..cce4985 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -1553,13 +1553,13 @@
'third_party/wtl/include',
],
'dependencies': [
- 'views',
'../google_update/google_update.gyp:google_update',
'installer/installer.gyp:installer_util',
'../printing/printing.gyp:printing',
+ '../views/views.gyp:views',
],
'export_dependent_settings': [
- 'views',
+ '../views/views.gyp:views',
],
'sources': [
# Using built-in rule in vstudio for midl.
@@ -1975,8 +1975,8 @@
}],
['OS=="linux" and toolkit_views==1', {
'dependencies': [
- 'views',
- ],
+ '../views/views.gyp:views',
+ ],
}],
['OS=="mac"', {
# 'branding' is a variable defined in common.gypi
@@ -2072,10 +2072,10 @@
'third_party/wtl/include',
],
'dependencies': [
- 'views',
'../breakpad/breakpad.gyp:breakpad_handler',
'../breakpad/breakpad.gyp:breakpad_sender',
'../sandbox/sandbox.gyp:sandbox',
+ '../views/views.gyp:views',
'worker',
],
},{ # 'OS!="win"
@@ -2482,7 +2482,7 @@
}],
['OS=="linux" and toolkit_views==1', {
'dependencies': [
- 'views',
+ '../views/views.gyp:views',
],
}],
],
@@ -2579,7 +2579,7 @@
}],
['OS=="linux" and toolkit_views==1', {
'dependencies': [
- 'views',
+ '../views/views.gyp:views',
],
}],
['OS=="mac"', {
@@ -2607,7 +2607,7 @@
],
'dependencies': [
'../google_update/google_update.gyp:google_update',
- 'views',
+ '../views/views.gyp:views',
],
'link_settings': {
'libraries': [
@@ -2870,7 +2870,7 @@
}],
['OS=="linux" and toolkit_views==1', {
'dependencies': [
- 'views',
+ '../views/views.gyp:views',
],
}],
['OS=="mac"', {
@@ -2913,7 +2913,7 @@
'common/net/url_util_unittest.cc',
],
'dependencies': [
- 'views',
+ '../views/views.gyp:views',
],
}, { # else: OS != "win"
'sources!': [
@@ -2980,7 +2980,7 @@
}],
['OS=="linux" and toolkit_views==1', {
'dependencies': [
- 'views',
+ '../views/views.gyp:views',
],
}],
],
@@ -3012,7 +3012,7 @@
}],
['OS=="win" or (OS=="linux" and toolkit_views==1)', {
'dependencies': [
- 'views',
+ '../views/views.gyp:views',
],
}],
['OS!="win"', {
@@ -3163,259 +3163,13 @@
}],
['OS=="win" or (OS=="linux" and toolkit_views==1)', {
'dependencies': [
- 'views',
+ '../views/views.gyp:views',
],
}],
],
},
],
}], # OS!="mac"
- ['OS=="win" or (OS=="linux" and toolkit_views==1)',
- { 'targets': [
- {
- 'target_name': 'views',
- 'type': '<(library)',
- 'dependencies': [
- 'common',
- 'chrome_resources',
- 'chrome_strings',
- 'theme_resources',
- '../media/media.gyp:media',
- '../skia/skia.gyp:skia',
- '../third_party/icu38/icu38.gyp:icui18n',
- '../third_party/icu38/icu38.gyp:icuuc',
- '../third_party/libxml/libxml.gyp:libxml',
- '../third_party/npapi/npapi.gyp:npapi',
- 'third_party/hunspell/hunspell.gyp:hunspell',
- '../webkit/webkit.gyp:glue',
- ],
- 'sources': [
- # All .cc, .h under views, except unittests
- '../views/accelerator.cc',
- '../views/accelerator.h',
- '../views/accessibility/accessibility_types.h',
- '../views/accessibility/view_accessibility.cc',
- '../views/accessibility/view_accessibility.h',
- '../views/accessibility/view_accessibility_wrapper.cc',
- '../views/accessibility/view_accessibility_wrapper.h',
- '../views/background.cc',
- '../views/background.h',
- '../views/border.cc',
- '../views/border.h',
- '../views/controls/button/button.cc',
- '../views/controls/button/button.h',
- '../views/controls/button/button_dropdown.cc',
- '../views/controls/button/button_dropdown.h',
- '../views/controls/button/checkbox.cc',
- '../views/controls/button/checkbox.h',
- '../views/controls/button/custom_button.cc',
- '../views/controls/button/custom_button.h',
- '../views/controls/button/image_button.cc',
- '../views/controls/button/image_button.h',
- '../views/controls/button/menu_button.cc',
- '../views/controls/button/menu_button.h',
- '../views/controls/button/native_button.cc',
- '../views/controls/button/native_button.h',
- '../views/controls/button/native_button_gtk.cc',
- '../views/controls/button/native_button_gtk.h',
- '../views/controls/button/native_button_win.cc',
- '../views/controls/button/native_button_win.h',
- '../views/controls/button/native_button_wrapper.h',
- '../views/controls/button/radio_button.cc',
- '../views/controls/button/radio_button.h',
- '../views/controls/button/text_button.cc',
- '../views/controls/button/text_button.h',
- '../views/controls/combo_box.cc',
- '../views/controls/combo_box.h',
- '../views/controls/hwnd_view.cc',
- '../views/controls/hwnd_view.h',
- '../views/controls/image_view.cc',
- '../views/controls/image_view.h',
- '../views/controls/label.cc',
- '../views/controls/label.h',
- '../views/controls/link.cc',
- '../views/controls/link.h',
- '../views/controls/menu/chrome_menu.cc',
- '../views/controls/menu/chrome_menu.h',
- '../views/controls/menu/controller.h',
- '../views/controls/menu/menu.cc',
- '../views/controls/menu/menu.h',
- '../views/controls/menu/menu_win.cc',
- '../views/controls/menu/menu_win.h',
- '../views/controls/menu/view_menu_delegate.h',
- '../views/controls/message_box_view.cc',
- '../views/controls/message_box_view.h',
- '../views/controls/native_control.cc',
- '../views/controls/native_control.h',
- '../views/controls/native_control_gtk.cc',
- '../views/controls/native_control_gtk.h',
- '../views/controls/native_control_win.cc',
- '../views/controls/native_control_win.h',
- '../views/controls/native_view_host.cc',
- '../views/controls/native_view_host.h',
- '../views/controls/native_view_host_gtk.cc',
- '../views/controls/native_view_host_gtk.h',
- '../views/controls/scroll_view.cc',
- '../views/controls/scroll_view.h',
- '../views/controls/scrollbar/bitmap_scroll_bar.cc',
- '../views/controls/scrollbar/bitmap_scroll_bar.h',
- '../views/controls/scrollbar/native_scroll_bar.cc',
- '../views/controls/scrollbar/native_scroll_bar.h',
- '../views/controls/scrollbar/scroll_bar.cc',
- '../views/controls/scrollbar/scroll_bar.h',
- '../views/controls/separator.cc',
- '../views/controls/separator.h',
- '../views/controls/single_split_view.cc',
- '../views/controls/single_split_view.h',
- '../views/controls/tabbed_pane.cc',
- '../views/controls/tabbed_pane.h',
- '../views/controls/table/group_table_view.cc',
- '../views/controls/table/group_table_view.h',
- '../views/controls/table/table_view.cc',
- '../views/controls/table/table_view.h',
- '../views/controls/text_field.cc',
- '../views/controls/text_field.h',
- '../views/controls/throbber.cc',
- '../views/controls/throbber.h',
- '../views/controls/tree/tree_view.cc',
- '../views/controls/tree/tree_view.h',
- '../views/drag_utils.cc',
- '../views/drag_utils.h',
- '../views/event.cc',
- '../views/event.h',
- '../views/event_gtk.cc',
- '../views/event_win.cc',
- '../views/fill_layout.cc',
- '../views/fill_layout.h',
- '../views/focus/external_focus_tracker.cc',
- '../views/focus/external_focus_tracker.h',
- '../views/focus/focus_manager.cc',
- '../views/focus/focus_manager.h',
- '../views/focus/focus_util_win.cc',
- '../views/focus/focus_util_win.h',
- '../views/focus/view_storage.cc',
- '../views/focus/view_storage.h',
- '../views/grid_layout.cc',
- '../views/grid_layout.h',
- '../views/layout_manager.cc',
- '../views/layout_manager.h',
- '../views/painter.cc',
- '../views/painter.h',
- '../views/repeat_controller.cc',
- '../views/repeat_controller.h',
- '../views/standard_layout.h',
- '../views/view.cc',
- '../views/view.h',
- '../views/view_constants.cc',
- '../views/view_constants.h',
- '../views/view_gtk.cc',
- '../views/view_win.cc',
- '../views/widget/accelerator_handler.cc',
- '../views/widget/accelerator_handler.h',
- '../views/widget/aero_tooltip_manager.cc',
- '../views/widget/aero_tooltip_manager.h',
- '../views/widget/default_theme_provider.cc',
- '../views/widget/default_theme_provider.h',
- '../views/widget/root_view.cc',
- '../views/widget/root_view.h',
- '../views/widget/root_view_drop_target.cc',
- '../views/widget/root_view_drop_target.h',
- '../views/widget/root_view_gtk.cc',
- '../views/widget/root_view_win.cc',
- '../views/widget/tooltip_manager.cc',
- '../views/widget/tooltip_manager.h',
- '../views/widget/widget.h',
- '../views/widget/widget_gtk.cc',
- '../views/widget/widget_gtk.h',
- '../views/widget/widget_win.cc',
- '../views/widget/widget_win.h',
- '../views/window/client_view.cc',
- '../views/window/client_view.h',
- '../views/window/custom_frame_view.cc',
- '../views/window/custom_frame_view.h',
- '../views/window/dialog_client_view.cc',
- '../views/window/dialog_client_view.h',
- '../views/window/dialog_delegate.cc',
- '../views/window/dialog_delegate.h',
- '../views/window/native_frame_view.cc',
- '../views/window/native_frame_view.h',
- '../views/window/non_client_view.cc',
- '../views/window/non_client_view.h',
- '../views/window/window.h',
- '../views/window/window_delegate.h',
- '../views/window/window_delegate.cc',
- '../views/window/window_resources.h',
- '../views/window/window_gtk.cc',
- '../views/window/window_gtk.h',
- '../views/window/window_win.cc',
- '../views/window/window_win.h',
- ],
- 'conditions': [
- ['OS=="linux"', {
- 'dependencies': [
- '../build/linux/system.gyp:gtk',
- ],
- 'sources!': [
- '../views/accelerator.cc',
- '../views/accessibility/accessible_wrapper.cc',
- '../views/accessibility/view_accessibility.cc',
- '../views/accessibility/view_accessibility_wrapper.cc',
- '../views/controls/scrollbar/bitmap_scroll_bar.cc',
- '../views/controls/button/button_dropdown.cc',
- '../views/controls/button/menu_button.cc',
- '../views/controls/button/radio_button.cc',
- '../views/controls/combo_box.cc',
- '../views/controls/hwnd_view.cc',
- '../views/controls/link.cc',
- '../views/controls/menu/chrome_menu.cc',
- '../views/controls/menu/menu.cc',
- '../views/controls/message_box_view.cc',
- '../views/controls/scroll_view.cc',
- '../views/controls/table/group_table_view.cc',
- '../views/focus/external_focus_tracker.cc',
- '../views/focus/focus_manager.cc',
- '../views/controls/native_control.cc',
- '../views/controls/scrollbar/native_scroll_bar.cc',
- '../views/controls/button/radio_button.cc',
- '../views/resize_corner.cc',
- '../views/controls/separator.cc',
- '../views/controls/single_split_view.cc',
- '../views/controls/tabbed_pane.cc',
- '../views/controls/table/table_view.cc',
- '../views/controls/table/group_table_view.cc',
- '../views/controls/text_field.cc',
- '../views/controls/tree/tree_view.cc',
- '../views/event_win.cc',
- '../views/widget/accelerator_handler.cc',
- '../views/widget/aero_tooltip_manager.cc',
- '../views/widget/root_view_drop_target.cc',
- '../views/widget/tooltip_manager.cc',
- '../views/window/dialog_delegate.cc',
- '../views/window/dialog_client_view.cc',
- '../views/window/hit_test.cc',
- '../views/window/native_frame_view.cc',
- '../views/widget/widget_win.cc',
- ],
- }],
- ['OS=="win"', {
- 'defines': [
- '__STD_C',
- '_CRT_SECURE_NO_DEPRECATE',
- '_SCL_SECURE_NO_DEPRECATE',
- ],
- 'include_dirs': [
- 'third_party/wtl/include',
- ],
- }, { # OS != "win"
- 'sources!': [
- '../views/drag_utils.cc',
- '../views/drag_utils.h',
- ],
- }],
- ],
- },
- ],
- }], # OS=="win" or OS=="linux"
['OS=="win"',
{ 'targets': [
{
@@ -3427,7 +3181,6 @@
'test_support_common',
'test_support_ui',
'third_party/hunspell/hunspell.gyp:hunspell',
- 'views',
'../skia/skia.gyp:skia',
'../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
'../third_party/icu38/icu38.gyp:icui18n',
@@ -3436,6 +3189,7 @@
'../third_party/zlib/zlib.gyp:zlib',
'../testing/gtest.gyp:gtest',
'../third_party/npapi/npapi.gyp:npapi',
+ '../views/views.gyp:views',
],
'include_dirs': [
'..',
diff --git a/views/views.gyp b/views/views.gyp
new file mode 100644
index 0000000..fa36e1e
--- /dev/null
+++ b/views/views.gyp
@@ -0,0 +1,291 @@
+# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+ },
+ 'includes': [
+ '../build/common.gypi',
+ ],
+ 'target_defaults': {
+ 'sources/': [
+ ['exclude', '/(cocoa|gtk|win)/'],
+ ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|x)\\.(cc|mm?)$'],
+ ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'],
+ ],
+ 'conditions': [
+ ['OS=="linux"', {'sources/': [
+ ['include', '/gtk/'],
+ ['include', '_(gtk|linux|posix|skia|x)\\.cc$'],
+ ['include', '/(gtk|x11)_[^/]*\\.cc$'],
+ ]}],
+ ['OS=="mac"', {'sources/': [
+ ['include', '/cocoa/'],
+ ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'],
+ ]}, { # else: OS != "mac"
+ 'sources/': [
+ ['exclude', '\\.mm?$'],
+ ],
+ }],
+ ['OS=="win"', {'sources/': [
+ ['include', '_(win)\\.cc$'],
+ ['include', '/win/'],
+ ['include', '/win_[^/]*\\.cc$'],
+ ]}],
+ ],
+ },
+ 'targets': [
+ {
+ 'target_name': 'views',
+ 'type': '<(library)',
+ 'msvs_guid': '6F9258E5-294F-47B2-919D-17FFE7A8B751',
+ 'dependencies': [
+ '../app/app.gyp:app_base',
+ '../skia/skia.gyp:skia',
+ '../third_party/icu38/icu38.gyp:icui18n',
+ '../third_party/icu38/icu38.gyp:icuuc',
+ ],
+ 'sources': [
+ # All .cc, .h under views, except unittests
+ 'accelerator.cc',
+ 'accelerator.h',
+ 'accessibility/accessibility_types.h',
+ 'accessibility/view_accessibility.cc',
+ 'accessibility/view_accessibility.h',
+ 'accessibility/view_accessibility_wrapper.cc',
+ 'accessibility/view_accessibility_wrapper.h',
+ 'background.cc',
+ 'background.h',
+ 'border.cc',
+ 'border.h',
+ 'controls/button/button.cc',
+ 'controls/button/button.h',
+ 'controls/button/button_dropdown.cc',
+ 'controls/button/button_dropdown.h',
+ 'controls/button/checkbox.cc',
+ 'controls/button/checkbox.h',
+ 'controls/button/custom_button.cc',
+ 'controls/button/custom_button.h',
+ 'controls/button/image_button.cc',
+ 'controls/button/image_button.h',
+ 'controls/button/menu_button.cc',
+ 'controls/button/menu_button.h',
+ 'controls/button/native_button.cc',
+ 'controls/button/native_button.h',
+ 'controls/button/native_button_gtk.cc',
+ 'controls/button/native_button_gtk.h',
+ 'controls/button/native_button_win.cc',
+ 'controls/button/native_button_win.h',
+ 'controls/button/native_button_wrapper.h',
+ 'controls/button/radio_button.cc',
+ 'controls/button/radio_button.h',
+ 'controls/button/text_button.cc',
+ 'controls/button/text_button.h',
+ 'controls/combo_box.cc',
+ 'controls/combo_box.h',
+ 'controls/hwnd_view.cc',
+ 'controls/hwnd_view.h',
+ 'controls/image_view.cc',
+ 'controls/image_view.h',
+ 'controls/label.cc',
+ 'controls/label.h',
+ 'controls/link.cc',
+ 'controls/link.h',
+ 'controls/menu/chrome_menu.cc',
+ 'controls/menu/chrome_menu.h',
+ 'controls/menu/controller.h',
+ 'controls/menu/menu.cc',
+ 'controls/menu/menu.h',
+ 'controls/menu/menu_win.cc',
+ 'controls/menu/menu_win.h',
+ 'controls/menu/view_menu_delegate.h',
+ 'controls/message_box_view.cc',
+ 'controls/message_box_view.h',
+ 'controls/native_control.cc',
+ 'controls/native_control.h',
+ 'controls/native_control_gtk.cc',
+ 'controls/native_control_gtk.h',
+ 'controls/native_control_win.cc',
+ 'controls/native_control_win.h',
+ 'controls/native_view_host.cc',
+ 'controls/native_view_host.h',
+ 'controls/native_view_host_gtk.cc',
+ 'controls/native_view_host_gtk.h',
+ 'controls/scroll_view.cc',
+ 'controls/scroll_view.h',
+ 'controls/scrollbar/bitmap_scroll_bar.cc',
+ 'controls/scrollbar/bitmap_scroll_bar.h',
+ 'controls/scrollbar/native_scroll_bar.cc',
+ 'controls/scrollbar/native_scroll_bar.h',
+ 'controls/scrollbar/scroll_bar.cc',
+ 'controls/scrollbar/scroll_bar.h',
+ 'controls/separator.cc',
+ 'controls/separator.h',
+ 'controls/single_split_view.cc',
+ 'controls/single_split_view.h',
+ 'controls/tabbed_pane.cc',
+ 'controls/tabbed_pane.h',
+ 'controls/table/group_table_view.cc',
+ 'controls/table/group_table_view.h',
+ 'controls/table/table_view.cc',
+ 'controls/table/table_view.h',
+ 'controls/text_field.cc',
+ 'controls/text_field.h',
+ 'controls/throbber.cc',
+ 'controls/throbber.h',
+ 'controls/tree/tree_view.cc',
+ 'controls/tree/tree_view.h',
+ 'drag_utils.cc',
+ 'drag_utils.h',
+ 'event.cc',
+ 'event.h',
+ 'event_gtk.cc',
+ 'event_win.cc',
+ 'fill_layout.cc',
+ 'fill_layout.h',
+ 'focus/external_focus_tracker.cc',
+ 'focus/external_focus_tracker.h',
+ 'focus/focus_manager.cc',
+ 'focus/focus_manager.h',
+ 'focus/focus_util_win.cc',
+ 'focus/focus_util_win.h',
+ 'focus/view_storage.cc',
+ 'focus/view_storage.h',
+ 'grid_layout.cc',
+ 'grid_layout.h',
+ 'layout_manager.cc',
+ 'layout_manager.h',
+ 'painter.cc',
+ 'painter.h',
+ 'repeat_controller.cc',
+ 'repeat_controller.h',
+ 'standard_layout.h',
+ 'view.cc',
+ 'view.h',
+ 'view_constants.cc',
+ 'view_constants.h',
+ 'view_gtk.cc',
+ 'view_win.cc',
+ 'widget/accelerator_handler.cc',
+ 'widget/accelerator_handler.h',
+ 'widget/aero_tooltip_manager.cc',
+ 'widget/aero_tooltip_manager.h',
+ 'widget/default_theme_provider.cc',
+ 'widget/default_theme_provider.h',
+ 'widget/root_view.cc',
+ 'widget/root_view.h',
+ 'widget/root_view_drop_target.cc',
+ 'widget/root_view_drop_target.h',
+ 'widget/root_view_gtk.cc',
+ 'widget/root_view_win.cc',
+ 'widget/tooltip_manager.cc',
+ 'widget/tooltip_manager.h',
+ 'widget/widget.h',
+ 'widget/widget_gtk.cc',
+ 'widget/widget_gtk.h',
+ 'widget/widget_win.cc',
+ 'widget/widget_win.h',
+ 'window/client_view.cc',
+ 'window/client_view.h',
+ 'window/custom_frame_view.cc',
+ 'window/custom_frame_view.h',
+ 'window/dialog_client_view.cc',
+ 'window/dialog_client_view.h',
+ 'window/dialog_delegate.cc',
+ 'window/dialog_delegate.h',
+ 'window/native_frame_view.cc',
+ 'window/native_frame_view.h',
+ 'window/non_client_view.cc',
+ 'window/non_client_view.h',
+ 'window/window.h',
+ 'window/window_delegate.h',
+ 'window/window_delegate.cc',
+ 'window/window_resources.h',
+ 'window/window_gtk.cc',
+ 'window/window_gtk.h',
+ 'window/window_win.cc',
+ 'window/window_win.h',
+ ],
+ 'include_dirs': [
+ '../chrome/third_party/wtl/include',
+ ],
+ 'conditions': [
+ ['OS=="linux"', {
+ 'dependencies': [
+ '../build/linux/system.gyp:gtk',
+ ],
+ 'sources!': [
+ 'accelerator.cc',
+ 'accessibility/accessible_wrapper.cc',
+ 'accessibility/view_accessibility.cc',
+ 'accessibility/view_accessibility_wrapper.cc',
+ 'controls/scrollbar/bitmap_scroll_bar.cc',
+ 'controls/button/button_dropdown.cc',
+ 'controls/button/menu_button.cc',
+ 'controls/button/radio_button.cc',
+ 'controls/combo_box.cc',
+ 'controls/hwnd_view.cc',
+ 'controls/link.cc',
+ 'controls/menu/chrome_menu.cc',
+ 'controls/menu/menu.cc',
+ 'controls/message_box_view.cc',
+ 'controls/scroll_view.cc',
+ 'controls/table/group_table_view.cc',
+ 'focus/external_focus_tracker.cc',
+ 'focus/focus_manager.cc',
+ 'controls/native_control.cc',
+ 'controls/scrollbar/native_scroll_bar.cc',
+ 'controls/button/radio_button.cc',
+ 'controls/separator.cc',
+ 'controls/single_split_view.cc',
+ 'controls/tabbed_pane.cc',
+ 'controls/table/table_view.cc',
+ 'controls/table/group_table_view.cc',
+ 'controls/text_field.cc',
+ 'controls/tree/tree_view.cc',
+ 'drag_utils.cc',
+ 'drag_utils.h',
+ 'event_win.cc',
+ 'resize_corner.cc',
+ 'widget/accelerator_handler.cc',
+ 'widget/aero_tooltip_manager.cc',
+ 'widget/root_view_drop_target.cc',
+ 'widget/tooltip_manager.cc',
+ 'window/dialog_delegate.cc',
+ 'window/dialog_client_view.cc',
+ 'window/hit_test.cc',
+ 'window/native_frame_view.cc',
+ 'widget/widget_win.cc',
+ ],
+ # TODO: Move these dependencies to platform-neutral once these
+ # projects are generated by GYP.
+ 'dependencies': [
+ '../chrome/chrome.gyp:chrome_resources',
+ '../chrome/chrome.gyp:chrome_strings',
+ '../chrome/chrome.gyp:theme_resources',
+ ],
+ }],
+ ['OS=="win"', {
+ 'defines': [
+ '__STD_C',
+ '_CRT_SECURE_NO_DEPRECATE',
+ '_SCL_SECURE_NO_DEPRECATE',
+ ],
+ 'include_dirs': [
+ # TODO(beng): move wtl to src/third_party
+ '../chrome/third_party/wtl/include',
+ ],
+ # TODO: remove this when chrome_resources/chrome_strings are
+ # generated by GYP.
+ # The legacy vcproj we rely on places the grit output in this
+ # directory, so we need to explicitly add it to our include path.
+ 'include_dirs': [
+ '<(PRODUCT_DIR)/grit_derived_sources',
+ ],
+ }],
+ ],
+ },
+ ],
+}
diff --git a/views/views.vcproj b/views/views.vcproj
deleted file mode 100644
index bdc83a5..0000000
--- a/views/views.vcproj
+++ /dev/null
@@ -1,915 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="views"
- ProjectGUID="{6F9258E5-294F-47B2-919D-17FFE7A8B751}"
- RootNamespace="Views"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- ConfigurationType="4"
- InheritedPropertySheets=".\views.vsprops;$(SolutionDir)..\build\debug.vsprops;$(SolutionDir)\tools\build\win\precompiled_wtl.vsprops;..\third_party\icu38\build\using_icu.vsprops"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLibrarianTool"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- ConfigurationType="4"
- InheritedPropertySheets=".\views.vsprops;$(SolutionDir)..\build\release.vsprops;..\third_party\icu38\build\using_icu.vsprops"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLibrarianTool"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="accessibility"
- >
- <File
- RelativePath=".\accessibility\accessibility_types.h"
- >
- </File>
- <File
- RelativePath=".\accessibility\view_accessibility.cc"
- >
- </File>
- <File
- RelativePath=".\accessibility\view_accessibility.h"
- >
- </File>
- <File
- RelativePath=".\accessibility\view_accessibility_wrapper.cc"
- >
- </File>
- <File
- RelativePath=".\accessibility\view_accessibility_wrapper.h"
- >
- </File>
- </Filter>
- <Filter
- Name="widget"
- >
- <File
- RelativePath=".\widget\accelerator_handler.cc"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\widget\accelerator_handler.h"
- >
- </File>
- <File
- RelativePath=".\widget\aero_tooltip_manager.cc"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\widget\aero_tooltip_manager.h"
- >
- </File>
- <File
- RelativePath=".\widget\default_theme_provider.cc"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\widget\default_theme_provider.h"
- >
- </File>
- <File
- RelativePath=".\widget\hwnd_notification_source.h"
- >
- </File>
- <File
- RelativePath=".\widget\root_view.cc"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\widget\root_view.h"
- >
- </File>
- <File
- RelativePath=".\widget\root_view_drop_target.cc"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\widget\root_view_drop_target.h"
- >
- </File>
- <File
- RelativePath=".\widget\root_view_win.cc"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\widget\tooltip_manager.cc"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\widget\tooltip_manager.h"
- >
- </File>
- <File
- RelativePath=".\widget\widget.h"
- >
- </File>
- <File
- RelativePath=".\widget\widget_win.cc"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- ObjectFile="$(IntDir)\$(InputName)1.obj"
- XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\widget\widget_win.h"
- >
- </File>
- </Filter>
- <Filter
- Name="window"
- >
- <File
- RelativePath=".\window\client_view.cc"
- >
- </File>
- <File
- RelativePath=".\window\client_view.h"
- >
- </File>
- <File
- RelativePath=".\window\custom_frame_view.cc"
- >
- </File>
- <File
- RelativePath=".\window\custom_frame_view.h"
- >
- </File>
- <File
- RelativePath=".\window\dialog_client_view.cc"
- >
- </File>
- <File
- RelativePath=".\window\dialog_client_view.h"
- >
- </File>
- <File
- RelativePath=".\window\dialog_delegate.cc"
- >
- </File>
- <File
- RelativePath=".\window\dialog_delegate.h"
- >
- </File>
- <File
- RelativePath=".\window\native_frame_view.cc"
- >
- </File>
- <File
- RelativePath=".\window\native_frame_view.h"
- >
- </File>
- <File
- RelativePath=".\window\non_client_view.cc"
- >
- </File>
- <File
- RelativePath=".\window\non_client_view.h"
- >
- </File>
- <File
- RelativePath=".\window\window.h"
- >
- </File>
- <File
- RelativePath=".\window\window_delegate.cc"
- >
- </File>
- <File
- RelativePath=".\window\window_delegate.h"
- >
- </File>
- <File
- RelativePath=".\window\window_resources.h"
- >
- </File>
- <File
- RelativePath=".\window\window_win.cc"
- >
- </File>
- <File
- RelativePath=".\window\window_win.h"
- >
- </File>
- </Filter>
- <Filter
- Name="focus"
- >
- <File
- RelativePath=".\focus\external_focus_tracker.cc"
- >
- </File>
- <File
- RelativePath=".\focus\external_focus_tracker.h"
- >
- </File>
- <File
- RelativePath=".\focus\focus_manager.cc"
- >
- </File>
- <File
- RelativePath=".\focus\focus_manager.h"
- >
- </File>
- <File
- RelativePath=".\focus\focus_util_win.cc"
- >
- </File>
- <File
- RelativePath=".\focus\focus_util_win.h"
- >
- </File>
- <File
- RelativePath=".\focus\view_storage.cc"
- >
- </File>
- <File
- RelativePath=".\focus\view_storage.h"
- >
- </File>
- </Filter>
- <Filter
- Name="controls"
- >
- <File
- RelativePath=".\controls\combo_box.cc"
- >
- </File>
- <File
- RelativePath=".\controls\combo_box.h"
- >
- </File>
- <File
- RelativePath=".\controls\hwnd_view.cc"
- >
- </File>
- <File
- RelativePath=".\controls\hwnd_view.h"
- >
- </File>
- <File
- RelativePath=".\controls\image_view.cc"
- >
- </File>
- <File
- RelativePath=".\controls\image_view.h"
- >
- </File>
- <File
- RelativePath=".\controls\label.cc"
- >
- </File>
- <File
- RelativePath=".\controls\label.h"
- >
- </File>
- <File
- RelativePath=".\controls\link.cc"
- >
- </File>
- <File
- RelativePath=".\controls\link.h"
- >
- </File>
- <File
- RelativePath=".\controls\message_box_view.cc"
- >
- </File>
- <File
- RelativePath=".\controls\message_box_view.h"
- >
- </File>
- <File
- RelativePath=".\controls\native_control.cc"
- >
- </File>
- <File
- RelativePath=".\controls\native_control.h"
- >
- </File>
- <File
- RelativePath=".\controls\native_control_win.cc"
- >
- </File>
- <File
- RelativePath=".\controls\native_control_win.h"
- >
- </File>
- <File
- RelativePath=".\controls\native_view_host.cc"
- >
- </File>
- <File
- RelativePath=".\controls\native_view_host.h"
- >
- </File>
- <File
- RelativePath=".\controls\scroll_view.cc"
- >
- </File>
- <File
- RelativePath=".\controls\scroll_view.h"
- >
- </File>
- <File
- RelativePath=".\controls\separator.cc"
- >
- </File>
- <File
- RelativePath=".\controls\separator.h"
- >
- </File>
- <File
- RelativePath=".\controls\single_split_view.cc"
- >
- </File>
- <File
- RelativePath=".\controls\single_split_view.h"
- >
- </File>
- <File
- RelativePath=".\controls\tabbed_pane.cc"
- >
- </File>
- <File
- RelativePath=".\controls\tabbed_pane.h"
- >
- </File>
- <File
- RelativePath=".\controls\text_field.cc"
- >
- </File>
- <File
- RelativePath=".\controls\text_field.h"
- >
- </File>
- <File
- RelativePath=".\controls\throbber.cc"
- >
- </File>
- <File
- RelativePath=".\controls\throbber.h"
- >
- </File>
- <Filter
- Name="button"
- >
- <File
- RelativePath=".\controls\button\button.cc"
- >
- </File>
- <File
- RelativePath=".\controls\button\button.h"
- >
- </File>
- <File
- RelativePath=".\controls\button\button_dropdown.cc"
- >
- </File>
- <File
- RelativePath=".\controls\button\button_dropdown.h"
- >
- </File>
- <File
- RelativePath=".\controls\button\checkbox.cc"
- >
- </File>
- <File
- RelativePath=".\controls\button\checkbox.h"
- >
- </File>
- <File
- RelativePath=".\controls\button\custom_button.cc"
- >
- </File>
- <File
- RelativePath=".\controls\button\custom_button.h"
- >
- </File>
- <File
- RelativePath=".\controls\button\image_button.cc"
- >
- </File>
- <File
- RelativePath=".\controls\button\image_button.h"
- >
- </File>
- <File
- RelativePath=".\controls\button\menu_button.cc"
- >
- </File>
- <File
- RelativePath=".\controls\button\menu_button.h"
- >
- </File>
- <File
- RelativePath=".\controls\button\native_button.cc"
- >
- </File>
- <File
- RelativePath=".\controls\button\native_button.h"
- >
- </File>
- <File
- RelativePath=".\controls\button\native_button_win.cc"
- >
- </File>
- <File
- RelativePath=".\controls\button\native_button_win.h"
- >
- </File>
- <File
- RelativePath=".\controls\button\native_button_wrapper.h"
- >
- </File>
- <File
- RelativePath=".\controls\button\radio_button.cc"
- >
- </File>
- <File
- RelativePath=".\controls\button\radio_button.h"
- >
- </File>
- <File
- RelativePath=".\controls\button\text_button.cc"
- >
- </File>
- <File
- RelativePath=".\controls\button\text_button.h"
- >
- </File>
- </Filter>
- <Filter
- Name="scrollbar"
- >
- <File
- RelativePath=".\controls\scrollbar\bitmap_scroll_bar.cc"
- >
- </File>
- <File
- RelativePath=".\controls\scrollbar\bitmap_scroll_bar.h"
- >
- </File>
- <File
- RelativePath=".\controls\scrollbar\native_scroll_bar.cc"
- >
- </File>
- <File
- RelativePath=".\controls\scrollbar\native_scroll_bar.h"
- >
- </File>
- <File
- RelativePath=".\controls\scrollbar\scroll_bar.cc"
- >
- </File>
- <File
- RelativePath=".\controls\scrollbar\scroll_bar.h"
- >
- </File>
- </Filter>
- <Filter
- Name="tree"
- >
- <File
- RelativePath=".\controls\tree\tree_view.cc"
- >
- </File>
- <File
- RelativePath=".\controls\tree\tree_view.h"
- >
- </File>
- </Filter>
- <Filter
- Name="table"
- >
- <File
- RelativePath=".\controls\table\group_table_view.cc"
- >
- </File>
- <File
- RelativePath=".\controls\table\group_table_view.h"
- >
- </File>
- <File
- RelativePath=".\controls\table\table_view.cc"
- >
- </File>
- <File
- RelativePath=".\controls\table\table_view.h"
- >
- </File>
- </Filter>
- <Filter
- Name="menu"
- >
- <File
- RelativePath=".\controls\menu\chrome_menu.cc"
- >
- </File>
- <File
- RelativePath=".\controls\menu\chrome_menu.h"
- >
- </File>
- <File
- RelativePath=".\controls\menu\controller.h"
- >
- </File>
- <File
- RelativePath=".\controls\menu\menu.cc"
- >
- </File>
- <File
- RelativePath=".\controls\menu\menu.h"
- >
- </File>
- <File
- RelativePath=".\controls\menu\menu_win.cc"
- >
- </File>
- <File
- RelativePath=".\controls\menu\menu_win.h"
- >
- </File>
- <File
- RelativePath=".\controls\menu\view_menu_delegate.h"
- >
- </File>
- </Filter>
- </Filter>
- <File
- RelativePath=".\accelerator.cc"
- >
- </File>
- <File
- RelativePath=".\accelerator.h"
- >
- </File>
- <File
- RelativePath=".\background.cc"
- >
- </File>
- <File
- RelativePath=".\background.h"
- >
- </File>
- <File
- RelativePath=".\border.cc"
- >
- </File>
- <File
- RelativePath=".\border.h"
- >
- </File>
- <File
- RelativePath=".\drag_utils.cc"
- >
- </File>
- <File
- RelativePath=".\drag_utils.h"
- >
- </File>
- <File
- RelativePath=".\event.cc"
- >
- </File>
- <File
- RelativePath=".\event.h"
- >
- </File>
- <File
- RelativePath=".\event_win.cc"
- >
- </File>
- <File
- RelativePath=".\fill_layout.cc"
- >
- </File>
- <File
- RelativePath=".\fill_layout.h"
- >
- </File>
- <File
- RelativePath=".\grid_layout.cc"
- >
- </File>
- <File
- RelativePath=".\grid_layout.h"
- >
- </File>
- <File
- RelativePath=".\layout_manager.cc"
- >
- </File>
- <File
- RelativePath=".\layout_manager.h"
- >
- </File>
- <File
- RelativePath=".\painter.cc"
- >
- </File>
- <File
- RelativePath=".\painter.h"
- >
- </File>
- <File
- RelativePath="$(SolutionDir)\tools\build\win\precompiled_wtl.cc"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="1"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="$(SolutionDir)\tools\build\win\precompiled_wtl.h"
- >
- </File>
- <File
- RelativePath=".\repeat_controller.cc"
- >
- </File>
- <File
- RelativePath=".\repeat_controller.h"
- >
- </File>
- <File
- RelativePath=".\standard_layout.h"
- >
- </File>
- <File
- RelativePath=".\view.cc"
- >
- </File>
- <File
- RelativePath=".\view.h"
- >
- </File>
- <File
- RelativePath=".\view_constants.cc"
- >
- </File>
- <File
- RelativePath=".\view_constants.h"
- >
- </File>
- <File
- RelativePath=".\view_win.cc"
- >
- </File>
- <File
- RelativePath=".\views_delegate.h"
- >
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>