diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 23:08:24 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 23:08:24 +0000 |
commit | 32b76eff6f630b9bcc0fc3f3bad826f3d1217dda (patch) | |
tree | a5687726e4f145c715c73cbbff23e88ac2192eb9 /views | |
parent | 7cf4d5505378a983947d8c989841f1f378f19cde (diff) | |
download | chromium_src-32b76eff6f630b9bcc0fc3f3bad826f3d1217dda.zip chromium_src-32b76eff6f630b9bcc0fc3f3bad826f3d1217dda.tar.gz chromium_src-32b76eff6f630b9bcc0fc3f3bad826f3d1217dda.tar.bz2 |
`#pragma once` for app, base, chrome, gfx, ipc, net, skia, views
BUG=50273
TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux
TBR: erg
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
154 files changed, 154 insertions, 0 deletions
diff --git a/views/accelerator.h b/views/accelerator.h index 9296e88..08dc201 100644 --- a/views/accelerator.h +++ b/views/accelerator.h @@ -10,6 +10,7 @@ #ifndef VIEWS_ACCELERATOR_H_ #define VIEWS_ACCELERATOR_H_ +#pragma once #include <string> diff --git a/views/accessibility/accessibility_types.h b/views/accessibility/accessibility_types.h index fd9f35b..4718d69 100644 --- a/views/accessibility/accessibility_types.h +++ b/views/accessibility/accessibility_types.h @@ -4,6 +4,7 @@ #ifndef VIEWS_ACCESSIBILITY_ACCESSIBILITY_TYPES_H_ #define VIEWS_ACCESSIBILITY_ACCESSIBILITY_TYPES_H_ +#pragma once #include "base/basictypes.h" diff --git a/views/accessibility/view_accessibility.h b/views/accessibility/view_accessibility.h index 4bb168c..44df074 100644 --- a/views/accessibility/view_accessibility.h +++ b/views/accessibility/view_accessibility.h @@ -4,6 +4,7 @@ #ifndef VIEWS_ACCESSIBILITY_VIEW_ACCESSIBILITY_H_ #define VIEWS_ACCESSIBILITY_VIEW_ACCESSIBILITY_H_ +#pragma once #include <atlbase.h> #include <atlcom.h> diff --git a/views/accessibility/view_accessibility_wrapper.h b/views/accessibility/view_accessibility_wrapper.h index c6aa08e..ae4b563 100644 --- a/views/accessibility/view_accessibility_wrapper.h +++ b/views/accessibility/view_accessibility_wrapper.h @@ -4,6 +4,7 @@ #ifndef VIEWS_ACCESSIBILITY_VIEW_ACCESSIBILITY_WRAPPER_H_ #define VIEWS_ACCESSIBILITY_VIEW_ACCESSIBILITY_WRAPPER_H_ +#pragma once #include <atlcomcli.h> // Necessary to define OleAcc GUID's used in window_win.cc. diff --git a/views/animation/bounds_animator.h b/views/animation/bounds_animator.h index e63bbaa..14aeed3 100644 --- a/views/animation/bounds_animator.h +++ b/views/animation/bounds_animator.h @@ -4,6 +4,7 @@ #ifndef VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ #define VIEWS_ANIMATION_BOUNDS_ANIMATOR_H_ +#pragma once #include <map> diff --git a/views/background.h b/views/background.h index a5215e4..c4848db 100644 --- a/views/background.h +++ b/views/background.h @@ -4,6 +4,7 @@ #ifndef VIEWS_BACKGROUND_H_ #define VIEWS_BACKGROUND_H_ +#pragma once #include "build/build_config.h" diff --git a/views/border.h b/views/border.h index 34f40fc..167237f 100644 --- a/views/border.h +++ b/views/border.h @@ -4,6 +4,7 @@ #ifndef VIEWS_BORDER_H_ #define VIEWS_BORDER_H_ +#pragma once #include "gfx/insets.h" #include "third_party/skia/include/core/SkColor.h" diff --git a/views/box_layout.h b/views/box_layout.h index 332be47..ffce6f8 100644 --- a/views/box_layout.h +++ b/views/box_layout.h @@ -4,6 +4,7 @@ #ifndef VIEWS_BOX_LAYOUT_H_ #define VIEWS_BOX_LAYOUT_H_ +#pragma once #include "base/basictypes.h" #include "views/layout_manager.h" diff --git a/views/controls/button/button.h b/views/controls/button/button.h index 7c3aac4..2319990 100644 --- a/views/controls/button/button.h +++ b/views/controls/button/button.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_BUTTON_BUTTON_H_ #define VIEWS_CONTROLS_BUTTON_BUTTON_H_ +#pragma once #include "views/view.h" diff --git a/views/controls/button/button_dropdown.h b/views/controls/button/button_dropdown.h index 90aa260..eca97a3 100644 --- a/views/controls/button/button_dropdown.h +++ b/views/controls/button/button_dropdown.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_BUTTON_BUTTON_DROPDOWN_H_ #define VIEWS_CONTROLS_BUTTON_BUTTON_DROPDOWN_H_ +#pragma once #include "base/task.h" #include "views/controls/button/image_button.h" diff --git a/views/controls/button/checkbox.h b/views/controls/button/checkbox.h index 736c095..87ffe04 100644 --- a/views/controls/button/checkbox.h +++ b/views/controls/button/checkbox.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_BUTTON_CHECKBOX_H_ #define VIEWS_CONTROLS_BUTTON_CHECKBOX_H_ +#pragma once #include <string> diff --git a/views/controls/button/custom_button.h b/views/controls/button/custom_button.h index 9cfdc54..92f1338 100644 --- a/views/controls/button/custom_button.h +++ b/views/controls/button/custom_button.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_BUTTON_CUSTOM_BUTTON_H_ #define VIEWS_CONTROLS_BUTTON_CUSTOM_BUTTON_H_ +#pragma once #include "app/animation.h" #include "views/controls/button/button.h" diff --git a/views/controls/button/image_button.h b/views/controls/button/image_button.h index f755c18..bbdf42b 100644 --- a/views/controls/button/image_button.h +++ b/views/controls/button/image_button.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_BUTTON_IMAGE_BUTTON_H_ #define VIEWS_CONTROLS_BUTTON_IMAGE_BUTTON_H_ +#pragma once #include "third_party/skia/include/core/SkBitmap.h" #include "views/controls/button/custom_button.h" diff --git a/views/controls/button/menu_button.h b/views/controls/button/menu_button.h index 5edf50e..74affeb 100644 --- a/views/controls/button/menu_button.h +++ b/views/controls/button/menu_button.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_ #define VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_ +#pragma once #include <string> diff --git a/views/controls/button/native_button.h b/views/controls/button/native_button.h index 01f2b03..08aa36f 100644 --- a/views/controls/button/native_button.h +++ b/views/controls/button/native_button.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_H_ #define VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_H_ +#pragma once #include "gfx/font.h" #include "views/controls/button/button.h" diff --git a/views/controls/button/native_button_gtk.h b/views/controls/button/native_button_gtk.h index 6d0a2e3..a77ca49 100644 --- a/views/controls/button/native_button_gtk.h +++ b/views/controls/button/native_button_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_GTK_H_ #define VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_GTK_H_ +#pragma once #include "app/gtk_signal.h" #include "views/controls/button/native_button_wrapper.h" diff --git a/views/controls/button/native_button_win.h b/views/controls/button/native_button_win.h index 95b8a5ac..d4aebbc2 100644 --- a/views/controls/button/native_button_win.h +++ b/views/controls/button/native_button_win.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WIN_H_ #define VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WIN_H_ +#pragma once #include "views/controls/native_control_win.h" #include "views/controls/button/native_button_wrapper.h" diff --git a/views/controls/button/native_button_wrapper.h b/views/controls/button/native_button_wrapper.h index 3e50a46..ac93acc 100644 --- a/views/controls/button/native_button_wrapper.h +++ b/views/controls/button/native_button_wrapper.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ #define VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ +#pragma once #include "gfx/native_widget_types.h" diff --git a/views/controls/button/radio_button.h b/views/controls/button/radio_button.h index 980395f..d71ce4e 100644 --- a/views/controls/button/radio_button.h +++ b/views/controls/button/radio_button.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ #define VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ +#pragma once #include "views/controls/button/checkbox.h" diff --git a/views/controls/button/text_button.h b/views/controls/button/text_button.h index 5953a34..8fc028b 100644 --- a/views/controls/button/text_button.h +++ b/views/controls/button/text_button.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_BUTTON_TEXT_BUTTON_H_ #define VIEWS_CONTROLS_BUTTON_TEXT_BUTTON_H_ +#pragma once #include "gfx/font.h" #include "third_party/skia/include/core/SkBitmap.h" diff --git a/views/controls/combobox/combobox.h b/views/controls/combobox/combobox.h index 2b4c6705..2b29f6a 100644 --- a/views/controls/combobox/combobox.h +++ b/views/controls/combobox/combobox.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_COMBOBOX_COMBOBOX_H_ #define VIEWS_CONTROLS_COMBOBOX_COMBOBOX_H_ +#pragma once #include <string> diff --git a/views/controls/combobox/native_combobox_gtk.h b/views/controls/combobox/native_combobox_gtk.h index 589cac6..8ed4bc0 100644 --- a/views/controls/combobox/native_combobox_gtk.h +++ b/views/controls/combobox/native_combobox_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_GTK_H_ #define VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_GTK_H_ +#pragma once #include "app/gtk_signal.h" #include "views/controls/combobox/native_combobox_wrapper.h" diff --git a/views/controls/combobox/native_combobox_win.h b/views/controls/combobox/native_combobox_win.h index 5b7d241..a0a6292 100644 --- a/views/controls/combobox/native_combobox_win.h +++ b/views/controls/combobox/native_combobox_win.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WIN_H_ #define VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WIN_H_ +#pragma once #include "views/controls/combobox/native_combobox_wrapper.h" #include "views/controls/native_control_win.h" diff --git a/views/controls/combobox/native_combobox_wrapper.h b/views/controls/combobox/native_combobox_wrapper.h index d2e96ad..0313857 100644 --- a/views/controls/combobox/native_combobox_wrapper.h +++ b/views/controls/combobox/native_combobox_wrapper.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_ #define VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_ +#pragma once #include "gfx/native_widget_types.h" diff --git a/views/controls/image_view.h b/views/controls/image_view.h index 45eeecd..4551312 100644 --- a/views/controls/image_view.h +++ b/views/controls/image_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_IMAGE_VIEW_H_ #define VIEWS_CONTROLS_IMAGE_VIEW_H_ +#pragma once #include "third_party/skia/include/core/SkBitmap.h" #include "views/view.h" diff --git a/views/controls/label.h b/views/controls/label.h index 30bd1b4..fea4085 100644 --- a/views/controls/label.h +++ b/views/controls/label.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_LABEL_H_ #define VIEWS_CONTROLS_LABEL_H_ +#pragma once #include "base/gtest_prod_util.h" #include "gfx/font.h" diff --git a/views/controls/link.h b/views/controls/link.h index 75fa877..ecf415b 100644 --- a/views/controls/link.h +++ b/views/controls/link.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_LINK_H_ #define VIEWS_CONTROLS_LINK_H_ +#pragma once #include <string> diff --git a/views/controls/listbox/listbox.h b/views/controls/listbox/listbox.h index 81bd0da..b029bde 100644 --- a/views/controls/listbox/listbox.h +++ b/views/controls/listbox/listbox.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_LISTBOX_LISTBOX_H_ #define VIEWS_CONTROLS_LISTBOX_LISTBOX_H_ +#pragma once #include "build/build_config.h" diff --git a/views/controls/listbox/native_listbox_win.h b/views/controls/listbox/native_listbox_win.h index 75844be..dbff71d 100644 --- a/views/controls/listbox/native_listbox_win.h +++ b/views/controls/listbox/native_listbox_win.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_LISTBOX_NATIVE_LISTBOX_WIN_H_ #define VIEWS_CONTROLS_LISTBOX_NATIVE_LISTBOX_WIN_H_ +#pragma once #include <windows.h> diff --git a/views/controls/listbox/native_listbox_wrapper.h b/views/controls/listbox/native_listbox_wrapper.h index 189ffc8..b1f3a65 100644 --- a/views/controls/listbox/native_listbox_wrapper.h +++ b/views/controls/listbox/native_listbox_wrapper.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_LISTBOX_NATIVE_LISTBOX_WRAPPER_H_ #define VIEWS_CONTROLS_LISTBOX_NATIVE_LISTBOX_WRAPPER_H_ +#pragma once #include "gfx/native_widget_types.h" #include "gfx/rect.h" diff --git a/views/controls/menu/controller.h b/views/controls/menu/controller.h index 6a693cc..df8d1b5 100644 --- a/views/controls/menu/controller.h +++ b/views/controls/menu/controller.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MENU_CONTROLLER_H_ #define VIEWS_CONTROLS_MENU_CONTROLLER_H_ +#pragma once #include <string> diff --git a/views/controls/menu/menu.h b/views/controls/menu/menu.h index c0c36c7..e005654 100644 --- a/views/controls/menu/menu.h +++ b/views/controls/menu/menu.h @@ -4,6 +4,7 @@ #ifndef CONTROLS_MENU_VIEWS_MENU_H_ #define CONTROLS_MENU_VIEWS_MENU_H_ +#pragma once #include "base/basictypes.h" #include "gfx/native_widget_types.h" diff --git a/views/controls/menu/menu_2.h b/views/controls/menu/menu_2.h index 4b3843a6..5763997 100644 --- a/views/controls/menu/menu_2.h +++ b/views/controls/menu/menu_2.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MENU_MENU_2_H_ #define VIEWS_CONTROLS_MENU_MENU_2_H_ +#pragma once #include "app/menus/menu_model.h" #include "base/scoped_ptr.h" diff --git a/views/controls/menu/menu_config.h b/views/controls/menu/menu_config.h index eb425f6..0fd9192 100644 --- a/views/controls/menu/menu_config.h +++ b/views/controls/menu/menu_config.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MENU_MENU_CONFIG_H_ #define VIEWS_CONTROLS_MENU_MENU_CONFIG_H_ +#pragma once #include "gfx/font.h" #include "third_party/skia/include/core/SkColor.h" diff --git a/views/controls/menu/menu_controller.h b/views/controls/menu/menu_controller.h index de06ae5..a370904 100644 --- a/views/controls/menu/menu_controller.h +++ b/views/controls/menu/menu_controller.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_ #define VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_ +#pragma once #include "build/build_config.h" diff --git a/views/controls/menu/menu_delegate.h b/views/controls/menu/menu_delegate.h index bfe2dec..7ddc556 100644 --- a/views/controls/menu/menu_delegate.h +++ b/views/controls/menu/menu_delegate.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MENU_MENU_DELEGATE_H_ #define VIEWS_CONTROLS_MENU_MENU_DELEGATE_H_ +#pragma once #include <set> #include <string> diff --git a/views/controls/menu/menu_gtk.h b/views/controls/menu/menu_gtk.h index 5e7ad16..f6f0876 100644 --- a/views/controls/menu/menu_gtk.h +++ b/views/controls/menu/menu_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MENU_VIEWS_MENU_GTK_H_ #define VIEWS_CONTROLS_MENU_VIEWS_MENU_GTK_H_ +#pragma once #include "base/basictypes.h" #include "views/controls/menu/menu.h" diff --git a/views/controls/menu/menu_host.h b/views/controls/menu/menu_host.h index 676a93b..e054d0a 100644 --- a/views/controls/menu/menu_host.h +++ b/views/controls/menu/menu_host.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MENU_MENU_HOST_H_ #define VIEWS_CONTROLS_MENU_MENU_HOST_H_ +#pragma once #include "gfx/native_widget_types.h" #include "gfx/rect.h" diff --git a/views/controls/menu/menu_host_gtk.h b/views/controls/menu/menu_host_gtk.h index 97223f8..02eb2e6 100644 --- a/views/controls/menu/menu_host_gtk.h +++ b/views/controls/menu/menu_host_gtk.h @@ -5,6 +5,7 @@ #ifndef VIEWS_CONTROLS_MENU_MENU_HOST_GTK_H_ #define VIEWS_CONTROLS_MENU_MENU_HOST_GTK_H_ +#pragma once #include "views/controls/menu/menu_host.h" #include "views/widget/widget_gtk.h" diff --git a/views/controls/menu/menu_host_root_view.h b/views/controls/menu/menu_host_root_view.h index 2ae774e..d42804f 100644 --- a/views/controls/menu/menu_host_root_view.h +++ b/views/controls/menu/menu_host_root_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MENU_MENU_HOST_ROOT_VIEW_H_ #define VIEWS_CONTROLS_MENU_MENU_HOST_ROOT_VIEW_H_ +#pragma once #include "views/widget/root_view.h" diff --git a/views/controls/menu/menu_host_win.h b/views/controls/menu/menu_host_win.h index f7d9cb4..ca8e12c 100644 --- a/views/controls/menu/menu_host_win.h +++ b/views/controls/menu/menu_host_win.h @@ -5,6 +5,7 @@ #ifndef VIEWS_CONTROLS_MENU_MENU_HOST_WIN_H_ #define VIEWS_CONTROLS_MENU_MENU_HOST_WIN_H_ +#pragma once #include "views/controls/menu/menu_host.h" #include "views/widget/widget_win.h" diff --git a/views/controls/menu/menu_item_view.h b/views/controls/menu/menu_item_view.h index e6ed28b..6c3848b 100644 --- a/views/controls/menu/menu_item_view.h +++ b/views/controls/menu/menu_item_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MENU_MENU_ITEM_VIEW_H_ #define VIEWS_CONTROLS_MENU_MENU_ITEM_VIEW_H_ +#pragma once #if defined(OS_WIN) #include <windows.h> diff --git a/views/controls/menu/menu_scroll_view_container.h b/views/controls/menu/menu_scroll_view_container.h index b95bfb0..cf7788e 100644 --- a/views/controls/menu/menu_scroll_view_container.h +++ b/views/controls/menu/menu_scroll_view_container.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MENU_MENU_SCROLL_VIEW_CONTAINER_H_ #define VIEWS_CONTROLS_MENU_MENU_SCROLL_VIEW_CONTAINER_H_ +#pragma once #include "views/view.h" diff --git a/views/controls/menu/menu_separator.h b/views/controls/menu/menu_separator.h index af37f8a..7a22b58 100644 --- a/views/controls/menu/menu_separator.h +++ b/views/controls/menu/menu_separator.h @@ -5,6 +5,7 @@ #ifndef VIEWS_CONTROLS_MENU_MENU_SEPARATOR_H_ #define VIEWS_CONTROLS_MENU_MENU_SEPARATOR_H_ +#pragma once #include "views/view.h" diff --git a/views/controls/menu/menu_win.h b/views/controls/menu/menu_win.h index 0469c12..f50aec2 100644 --- a/views/controls/menu/menu_win.h +++ b/views/controls/menu/menu_win.h @@ -4,6 +4,7 @@ #ifndef CONTROLS_MENU_VIEWS_MENU_WIN_H_ #define CONTROLS_MENU_VIEWS_MENU_WIN_H_ +#pragma once #include <vector> #include <windows.h> diff --git a/views/controls/menu/menu_wrapper.h b/views/controls/menu/menu_wrapper.h index e569ac4..fd65886 100644 --- a/views/controls/menu/menu_wrapper.h +++ b/views/controls/menu/menu_wrapper.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MENU_MENU_WRAPPER_H_ #define VIEWS_CONTROLS_MENU_MENU_WRAPPER_H_ +#pragma once #include "gfx/native_widget_types.h" diff --git a/views/controls/menu/native_menu_gtk.h b/views/controls/menu/native_menu_gtk.h index 5f33b8b..114db31 100644 --- a/views/controls/menu/native_menu_gtk.h +++ b/views/controls/menu/native_menu_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MENU_NATIVE_MENU_GTK_H_ #define VIEWS_CONTROLS_MENU_NATIVE_MENU_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/views/controls/menu/native_menu_win.h b/views/controls/menu/native_menu_win.h index 1138a46..1e07a9f 100644 --- a/views/controls/menu/native_menu_win.h +++ b/views/controls/menu/native_menu_win.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MENU_NATIVE_MENU_WIN_H_ #define VIEWS_CONTROLS_MENU_NATIVE_MENU_WIN_H_ +#pragma once #include <vector> diff --git a/views/controls/menu/submenu_view.h b/views/controls/menu/submenu_view.h index 62d8aa6..a2ac7f5 100644 --- a/views/controls/menu/submenu_view.h +++ b/views/controls/menu/submenu_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MENU_SUBMENU_VIEW_H_ #define VIEWS_CONTROLS_MENU_SUBMENU_VIEW_H_ +#pragma once #include "views/controls/menu/menu_delegate.h" #include "views/view.h" diff --git a/views/controls/menu/view_menu_delegate.h b/views/controls/menu/view_menu_delegate.h index 98f0156..3b9a8fe1 100644 --- a/views/controls/menu/view_menu_delegate.h +++ b/views/controls/menu/view_menu_delegate.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MENU_VIEW_MENU_DELEGATE_H_ #define VIEWS_CONTROLS_MENU_VIEW_MENU_DELEGATE_H_ +#pragma once #include "gfx/native_widget_types.h" diff --git a/views/controls/message_box_view.h b/views/controls/message_box_view.h index 71809b5..7d1b5b0 100644 --- a/views/controls/message_box_view.h +++ b/views/controls/message_box_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_ #define VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_ +#pragma once #include <string> diff --git a/views/controls/native/native_view_host.h b/views/controls/native/native_view_host.h index 149e9ae..4d4ba75 100644 --- a/views/controls/native/native_view_host.h +++ b/views/controls/native/native_view_host.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_H_ #define VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_H_ +#pragma once #include <string> diff --git a/views/controls/native/native_view_host_gtk.h b/views/controls/native/native_view_host_gtk.h index 4c7bb25..fe82160 100644 --- a/views/controls/native/native_view_host_gtk.h +++ b/views/controls/native/native_view_host_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_NATIVE_HOST_VIEW_GTK_H_ #define VIEWS_CONTROLS_NATIVE_HOST_VIEW_GTK_H_ +#pragma once #include <gtk/gtk.h> #include <string> diff --git a/views/controls/native/native_view_host_win.h b/views/controls/native/native_view_host_win.h index 489c9d8..6546f1a 100644 --- a/views/controls/native/native_view_host_win.h +++ b/views/controls/native/native_view_host_win.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_HWND_VIEW_H_ #define VIEWS_CONTROLS_HWND_VIEW_H_ +#pragma once #include "base/logging.h" #include "views/controls/native/native_view_host_wrapper.h" diff --git a/views/controls/native/native_view_host_wrapper.h b/views/controls/native/native_view_host_wrapper.h index 056584e..43e9869 100644 --- a/views/controls/native/native_view_host_wrapper.h +++ b/views/controls/native/native_view_host_wrapper.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_ #define VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_ +#pragma once namespace views { diff --git a/views/controls/native_control.h b/views/controls/native_control.h index ed565e6..a01ed83 100644 --- a/views/controls/native_control.h +++ b/views/controls/native_control.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_NATIVE_CONTROL_H_ #define VIEWS_CONTROLS_NATIVE_CONTROL_H_ +#pragma once #include <windows.h> diff --git a/views/controls/native_control_gtk.h b/views/controls/native_control_gtk.h index ff54033..ab2aa36 100644 --- a/views/controls/native_control_gtk.h +++ b/views/controls/native_control_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_NATIVE_CONTROL_GTK_H_ #define VIEWS_CONTROLS_NATIVE_CONTROL_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/views/controls/native_control_win.h b/views/controls/native_control_win.h index 1fad2a8..7a2ea64 100644 --- a/views/controls/native_control_win.h +++ b/views/controls/native_control_win.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_NATIVE_CONTROL_WIN_H_ #define VIEWS_CONTROLS_NATIVE_CONTROL_WIN_H_ +#pragma once #include "views/controls/combobox/combobox.h" #include "views/controls/native/native_view_host.h" diff --git a/views/controls/progress_bar.h b/views/controls/progress_bar.h index 38d04df..b1d7043 100644 --- a/views/controls/progress_bar.h +++ b/views/controls/progress_bar.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_PROGRESS_BAR_H_ #define VIEWS_CONTROLS_PROGRESS_BAR_H_ +#pragma once #include <string> diff --git a/views/controls/resize_gripper.h b/views/controls/resize_gripper.h index 4f3edbe..c844ce8 100644 --- a/views/controls/resize_gripper.h +++ b/views/controls/resize_gripper.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_RESIZE_GRIPPER_H_ #define VIEWS_CONTROLS_RESIZE_GRIPPER_H_ +#pragma once #include <string> diff --git a/views/controls/scroll_view.h b/views/controls/scroll_view.h index c05c9e9..2a3e8fd 100644 --- a/views/controls/scroll_view.h +++ b/views/controls/scroll_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_SCROLL_VIEW_H_ #define VIEWS_CONTROLS_SCROLL_VIEW_H_ +#pragma once #include <string> diff --git a/views/controls/scrollbar/bitmap_scroll_bar.h b/views/controls/scrollbar/bitmap_scroll_bar.h index 9a22a2e..67e1fba 100644 --- a/views/controls/scrollbar/bitmap_scroll_bar.h +++ b/views/controls/scrollbar/bitmap_scroll_bar.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_SCROLLBAR_BITMAP_SCROLL_BAR_H_ #define VIEWS_CONTROLS_SCROLLBAR_BITMAP_SCROLL_BAR_H_ +#pragma once #include "views/controls/button/image_button.h" #include "views/controls/menu/menu.h" diff --git a/views/controls/scrollbar/native_scroll_bar.h b/views/controls/scrollbar/native_scroll_bar.h index 6595a09..32a1286 100644 --- a/views/controls/scrollbar/native_scroll_bar.h +++ b/views/controls/scrollbar/native_scroll_bar.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_H_ #define VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_H_ +#pragma once #include <string> diff --git a/views/controls/scrollbar/native_scroll_bar_gtk.h b/views/controls/scrollbar/native_scroll_bar_gtk.h index ca70d1d..04acbae 100644 --- a/views/controls/scrollbar/native_scroll_bar_gtk.h +++ b/views/controls/scrollbar/native_scroll_bar_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_GTK_H_ #define VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_GTK_H_ +#pragma once #include "views/controls/native_control_gtk.h" #include "views/controls/scrollbar/native_scroll_bar_wrapper.h" diff --git a/views/controls/scrollbar/native_scroll_bar_win.h b/views/controls/scrollbar/native_scroll_bar_win.h index ba7dc25..5b69371 100644 --- a/views/controls/scrollbar/native_scroll_bar_win.h +++ b/views/controls/scrollbar/native_scroll_bar_win.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_WIN_H_ #define VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_WIN_H_ +#pragma once #include "views/controls/native_control_win.h" #include "views/controls/scrollbar/native_scroll_bar_wrapper.h" diff --git a/views/controls/scrollbar/native_scroll_bar_wrapper.h b/views/controls/scrollbar/native_scroll_bar_wrapper.h index 6fb68ea..78126ac 100644 --- a/views/controls/scrollbar/native_scroll_bar_wrapper.h +++ b/views/controls/scrollbar/native_scroll_bar_wrapper.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_NATIVE_SCROLL_BAR_WRAPPER_H_ #define VIEWS_CONTROLS_NATIVE_SCROLL_BAR_WRAPPER_H_ +#pragma once namespace views { diff --git a/views/controls/scrollbar/scroll_bar.h b/views/controls/scrollbar/scroll_bar.h index a4203d4..cd23a0f 100644 --- a/views/controls/scrollbar/scroll_bar.h +++ b/views/controls/scrollbar/scroll_bar.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_SCROLLBAR_SCROLLBAR_H_ #define VIEWS_CONTROLS_SCROLLBAR_SCROLLBAR_H_ +#pragma once #include "views/event.h" #include "views/view.h" diff --git a/views/controls/separator.h b/views/controls/separator.h index 823ebb3..82c4260 100644 --- a/views/controls/separator.h +++ b/views/controls/separator.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_SEPARATOR_H_ #define VIEWS_CONTROLS_SEPARATOR_H_ +#pragma once #include <string> diff --git a/views/controls/single_split_view.h b/views/controls/single_split_view.h index b571067..8f53410 100644 --- a/views/controls/single_split_view.h +++ b/views/controls/single_split_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_SINGLE_SPLIT_VIEW_H_ #define VIEWS_CONTROLS_SINGLE_SPLIT_VIEW_H_ +#pragma once #include "views/view.h" diff --git a/views/controls/slider/native_slider_gtk.h b/views/controls/slider/native_slider_gtk.h index 8af8c24..36ac81d 100644 --- a/views/controls/slider/native_slider_gtk.h +++ b/views/controls/slider/native_slider_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_SLIDER_NATIVE_SLIDER_GTK_H_ #define VIEWS_CONTROLS_SLIDER_NATIVE_SLIDER_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/views/controls/slider/native_slider_wrapper.h b/views/controls/slider/native_slider_wrapper.h index 6df3145..d25235f 100644 --- a/views/controls/slider/native_slider_wrapper.h +++ b/views/controls/slider/native_slider_wrapper.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_SLIDER_NATIVE_SLIDER_WRAPPER_H_ #define VIEWS_CONTROLS_SLIDER_NATIVE_SLIDER_WRAPPER_H_ +#pragma once #include "gfx/native_widget_types.h" diff --git a/views/controls/slider/slider.h b/views/controls/slider/slider.h index 4850a23..c0ab251 100644 --- a/views/controls/slider/slider.h +++ b/views/controls/slider/slider.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_SLIDER_SLIDER_H_ #define VIEWS_CONTROLS_SLIDER_SLIDER_H_ +#pragma once #if defined(OS_LINUX) #include <gdk/gdk.h> diff --git a/views/controls/tabbed_pane/native_tabbed_pane_gtk.h b/views/controls/tabbed_pane/native_tabbed_pane_gtk.h index 229faa5..b477a62 100644 --- a/views/controls/tabbed_pane/native_tabbed_pane_gtk.h +++ b/views/controls/tabbed_pane/native_tabbed_pane_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_GTK_H_ #define VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_GTK_H_ +#pragma once #include "views/controls/native_control_gtk.h" #include "views/controls/tabbed_pane/native_tabbed_pane_wrapper.h" diff --git a/views/controls/tabbed_pane/native_tabbed_pane_win.h b/views/controls/tabbed_pane/native_tabbed_pane_win.h index 4e4cc2a..8eac285 100644 --- a/views/controls/tabbed_pane/native_tabbed_pane_win.h +++ b/views/controls/tabbed_pane/native_tabbed_pane_win.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_WIN_H_ #define VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_WIN_H_ +#pragma once #include <vector> diff --git a/views/controls/tabbed_pane/native_tabbed_pane_wrapper.h b/views/controls/tabbed_pane/native_tabbed_pane_wrapper.h index 97c5fba..6b08d84 100644 --- a/views/controls/tabbed_pane/native_tabbed_pane_wrapper.h +++ b/views/controls/tabbed_pane/native_tabbed_pane_wrapper.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_WRAPPER_H_ #define VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_WRAPPER_H_ +#pragma once namespace views { diff --git a/views/controls/tabbed_pane/tabbed_pane.h b/views/controls/tabbed_pane/tabbed_pane.h index 36026a0..da077c3 100644 --- a/views/controls/tabbed_pane/tabbed_pane.h +++ b/views/controls/tabbed_pane/tabbed_pane.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TABBED_PANE_H_ #define VIEWS_CONTROLS_TABBED_PANE_H_ +#pragma once #include "views/view.h" diff --git a/views/controls/table/group_table_view.h b/views/controls/table/group_table_view.h index b137083..0e9f1ee 100644 --- a/views/controls/table/group_table_view.h +++ b/views/controls/table/group_table_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TABLE_GROUP_TABLE_VIEW_H_ #define VIEWS_CONTROLS_TABLE_GROUP_TABLE_VIEW_H_ +#pragma once #include "app/table_model.h" #include "base/task.h" diff --git a/views/controls/table/native_table_gtk.h b/views/controls/table/native_table_gtk.h index 5078dee..e927d60 100644 --- a/views/controls/table/native_table_gtk.h +++ b/views/controls/table/native_table_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TABLE_NATIVE_TABLE_GTK_H_ #define VIEWS_CONTROLS_TABLE_NATIVE_TABLE_GTK_H_ +#pragma once #include "app/gtk_signal.h" #include "app/table_model.h" diff --git a/views/controls/table/native_table_win.h b/views/controls/table/native_table_win.h index 509febd..d23a961 100644 --- a/views/controls/table/native_table_win.h +++ b/views/controls/table/native_table_win.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WIN_H_ #define VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WIN_H_ +#pragma once #include <windows.h> diff --git a/views/controls/table/native_table_wrapper.h b/views/controls/table/native_table_wrapper.h index 58cf977..4fe1181 100644 --- a/views/controls/table/native_table_wrapper.h +++ b/views/controls/table/native_table_wrapper.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WRAPPER_H_ #define VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WRAPPER_H_ +#pragma once #include "gfx/native_widget_types.h" diff --git a/views/controls/table/table_view.h b/views/controls/table/table_view.h index 9f427d4..2799c62 100644 --- a/views/controls/table/table_view.h +++ b/views/controls/table/table_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TABLE_TABLE_VIEW_H_ #define VIEWS_CONTROLS_TABLE_TABLE_VIEW_H_ +#pragma once #include "build/build_config.h" diff --git a/views/controls/table/table_view2.h b/views/controls/table/table_view2.h index 0f88cde..102eece 100644 --- a/views/controls/table/table_view2.h +++ b/views/controls/table/table_view2.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TABLE_TABLE_VIEW2_H_ #define VIEWS_CONTROLS_TABLE_TABLE_VIEW2_H_ +#pragma once #include "build/build_config.h" diff --git a/views/controls/table/table_view_observer.h b/views/controls/table/table_view_observer.h index a86bb8e..07a1e86 100644 --- a/views/controls/table/table_view_observer.h +++ b/views/controls/table/table_view_observer.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TABLE_TABLE_VIEW_OBSERVER_H_ #define VIEWS_CONTROLS_TABLE_TABLE_VIEW_OBSERVER_H_ +#pragma once #include "base/keyboard_codes.h" diff --git a/views/controls/textfield/gtk_views_entry.h b/views/controls/textfield/gtk_views_entry.h index e5b370d..aae80aa 100644 --- a/views/controls/textfield/gtk_views_entry.h +++ b/views/controls/textfield/gtk_views_entry.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_GTK_VIEWS_ENTRY_H_ #define VIEWS_WIDGET_GTK_VIEWS_ENTRY_H_ +#pragma once #include <gdk/gdk.h> #include <gtk/gtkentry.h> diff --git a/views/controls/textfield/gtk_views_textview.h b/views/controls/textfield/gtk_views_textview.h index 5b3684b..228a445 100644 --- a/views/controls/textfield/gtk_views_textview.h +++ b/views/controls/textfield/gtk_views_textview.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TEXTFIELD_GTK_VIEWS_TEXTVIEW_H_ #define VIEWS_CONTROLS_TEXTFIELD_GTK_VIEWS_TEXTVIEW_H_ +#pragma once #include <gdk/gdk.h> #include <gtk/gtktextview.h> diff --git a/views/controls/textfield/native_textfield_gtk.h b/views/controls/textfield/native_textfield_gtk.h index ff92d4e..b7665a8 100644 --- a/views/controls/textfield/native_textfield_gtk.h +++ b/views/controls/textfield/native_textfield_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_GTK_H_ #define VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/views/controls/textfield/native_textfield_win.h b/views/controls/textfield/native_textfield_win.h index abb3357..52504c1 100644 --- a/views/controls/textfield/native_textfield_win.h +++ b/views/controls/textfield/native_textfield_win.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ #define VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ +#pragma once #include <atlbase.h> #include <atlapp.h> diff --git a/views/controls/textfield/native_textfield_wrapper.h b/views/controls/textfield/native_textfield_wrapper.h index 90321a9..afe1917 100644 --- a/views/controls/textfield/native_textfield_wrapper.h +++ b/views/controls/textfield/native_textfield_wrapper.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ #define VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ +#pragma once #include "base/string16.h" #include "gfx/native_widget_types.h" diff --git a/views/controls/textfield/textfield.h b/views/controls/textfield/textfield.h index d2048a4..0b1c070 100644 --- a/views/controls/textfield/textfield.h +++ b/views/controls/textfield/textfield.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ #define VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ +#pragma once #if defined (OS_LINUX) #include <gdk/gdk.h> diff --git a/views/controls/throbber.h b/views/controls/throbber.h index e5d0490..d02623d 100644 --- a/views/controls/throbber.h +++ b/views/controls/throbber.h @@ -6,6 +6,7 @@ #ifndef VIEWS_CONTROLS_THROBBER_H_ #define VIEWS_CONTROLS_THROBBER_H_ +#pragma once #include "base/basictypes.h" #include "base/time.h" diff --git a/views/controls/tree/tree_view.h b/views/controls/tree/tree_view.h index 177fc40..6d1fdac 100644 --- a/views/controls/tree/tree_view.h +++ b/views/controls/tree/tree_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_CONTROLS_TREE_TREE_VIEW_H_ #define VIEWS_CONTROLS_TREE_TREE_VIEW_H_ +#pragma once #include <windows.h> #include <commctrl.h> diff --git a/views/drag_utils.h b/views/drag_utils.h index cec512a..4418504 100644 --- a/views/drag_utils.h +++ b/views/drag_utils.h @@ -4,6 +4,7 @@ #ifndef VIEWS_DRAG_UTILS_H_ #define VIEWS_DRAG_UTILS_H_ +#pragma once #include <string> diff --git a/views/event.h b/views/event.h index 6f96a71..fd16f31 100644 --- a/views/event.h +++ b/views/event.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EVENT_H_ #define VIEWS_EVENT_H_ +#pragma once #include "base/basictypes.h" #include "base/keyboard_codes.h" diff --git a/views/examples/button_example.h b/views/examples/button_example.h index f55baa9..ca66508 100644 --- a/views/examples/button_example.h +++ b/views/examples/button_example.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EXAMPLES_BUTTON_EXAMPLE_H_ #define VIEWS_EXAMPLES_BUTTON_EXAMPLE_H_ +#pragma once #include "base/string_util.h" #include "views/controls/button/text_button.h" diff --git a/views/examples/combobox_example.h b/views/examples/combobox_example.h index 97d5ef5..d756eb5 100644 --- a/views/examples/combobox_example.h +++ b/views/examples/combobox_example.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EXAMPLES_COMBOBOX_EXAMPLE_H_ #define VIEWS_EXAMPLES_COMBOBOX_EXAMPLE_H_ +#pragma once #include "app/combobox_model.h" #include "base/string_util.h" diff --git a/views/examples/example_base.h b/views/examples/example_base.h index fbe5cbc..d4e41bb 100644 --- a/views/examples/example_base.h +++ b/views/examples/example_base.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EXAMPLES_EXAMPLE_BASE_H_ #define VIEWS_EXAMPLES_EXAMPLE_BASE_H_ +#pragma once #include <string> diff --git a/views/examples/examples_main.h b/views/examples/examples_main.h index 2b8366e..000d24a 100644 --- a/views/examples/examples_main.h +++ b/views/examples/examples_main.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EXAMPLES_EXAMPLE_MAIN_H_ #define VIEWS_EXAMPLES_EXAMPLE_MAIN_H_ +#pragma once #include <string> diff --git a/views/examples/menu_example.h b/views/examples/menu_example.h index d43acde..91c32a4 100644 --- a/views/examples/menu_example.h +++ b/views/examples/menu_example.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EXAMPLES_MENU_EXAMPLE_H_ #define VIEWS_EXAMPLES_MENU_EXAMPLE_H_ +#pragma once #include <set> diff --git a/views/examples/message_box_example.h b/views/examples/message_box_example.h index 9d3631b..29eced8 100644 --- a/views/examples/message_box_example.h +++ b/views/examples/message_box_example.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EXAMPLES_MESSAGE_BOX_EXAMPLE_H_ #define VIEWS_EXAMPLES_MESSAGE_BOX_EXAMPLE_H_ +#pragma once #include "base/compiler_specific.h" #include "base/string_util.h" diff --git a/views/examples/radio_button_example.h b/views/examples/radio_button_example.h index 5610700..4bd5ab2a 100644 --- a/views/examples/radio_button_example.h +++ b/views/examples/radio_button_example.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EXAMPLES_RADIO_BUTTON_EXAMPLE_H_ #define VIEWS_EXAMPLES_RADIO_BUTTON_EXAMPLE_H_ +#pragma once #include "base/compiler_specific.h" #include "base/string_util.h" diff --git a/views/examples/scroll_view_example.h b/views/examples/scroll_view_example.h index c644f62..d8eab90 100644 --- a/views/examples/scroll_view_example.h +++ b/views/examples/scroll_view_example.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EXAMPLES_SCROLL_BAR_EXAMPLE_H_ #define VIEWS_EXAMPLES_SCROLL_BAR_EXAMPLE_H_ +#pragma once #include "base/compiler_specific.h" #include "base/string_util.h" diff --git a/views/examples/single_split_view_example.h b/views/examples/single_split_view_example.h index 599cc32..3eaea7c 100644 --- a/views/examples/single_split_view_example.h +++ b/views/examples/single_split_view_example.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EXAMPLES_SINGLE_SPLIT_VIEW_EXAMPLE_H_ #define VIEWS_EXAMPLES_SINGLE_SPLIT_VIEW_EXAMPLE_H_ +#pragma once #include "views/controls/single_split_view.h" #include "views/examples/example_base.h" diff --git a/views/examples/slider_example.h b/views/examples/slider_example.h index 601e6c1..f70c6bd 100644 --- a/views/examples/slider_example.h +++ b/views/examples/slider_example.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EXAMPLES_SLIDER_EXAMPLE_H_ #define VIEWS_EXAMPLES_SLIDER_EXAMPLE_H_ +#pragma once #include "views/controls/slider/slider.h" #include "views/examples/example_base.h" diff --git a/views/examples/tabbed_pane_example.h b/views/examples/tabbed_pane_example.h index 1b712a8..f49d15c 100644 --- a/views/examples/tabbed_pane_example.h +++ b/views/examples/tabbed_pane_example.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EXAMPLES_TABBED_PANE_EXAMPLE_H_ #define VIEWS_EXAMPLES_TABBED_PANE_EXAMPLE_H_ +#pragma once #include "base/string_util.h" #include "views/controls/button/text_button.h" diff --git a/views/examples/table2_example.h b/views/examples/table2_example.h index b2c0543..9e2f22f 100644 --- a/views/examples/table2_example.h +++ b/views/examples/table2_example.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EXAMPLES_TABLE2_EXAMPLE_H_ #define VIEWS_EXAMPLES_TABLE2_EXAMPLE_H_ +#pragma once #include <vector> diff --git a/views/examples/table_example.h b/views/examples/table_example.h index 1fcf33f..1a447f4 100644 --- a/views/examples/table_example.h +++ b/views/examples/table_example.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EXAMPLES_TABLE_EXAMPLE_H_ #define VIEWS_EXAMPLES_TABLE_EXAMPLE_H_ +#pragma once #include <vector> diff --git a/views/examples/textfield_example.h b/views/examples/textfield_example.h index 1a03b05..a14f443 100644 --- a/views/examples/textfield_example.h +++ b/views/examples/textfield_example.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EXAMPLES_TEXTFIELD_EXAMPLE_H_ #define VIEWS_EXAMPLES_TEXTFIELD_EXAMPLE_H_ +#pragma once #include "base/utf_string_conversions.h" #include "views/controls/button/text_button.h" diff --git a/views/examples/widget_example.h b/views/examples/widget_example.h index 9208a1b..ef6107a 100644 --- a/views/examples/widget_example.h +++ b/views/examples/widget_example.h @@ -4,6 +4,7 @@ #ifndef VIEWS_EXAMPLES_WIDGET_EXAMPLE_H_ #define VIEWS_EXAMPLES_WIDGET_EXAMPLE_H_ +#pragma once #include "views/background.h" #include "views/box_layout.h" diff --git a/views/fill_layout.h b/views/fill_layout.h index 89dd5ee..bede6ad 100644 --- a/views/fill_layout.h +++ b/views/fill_layout.h @@ -4,6 +4,7 @@ #ifndef VIEWS_FILL_LAYOUT_H_ #define VIEWS_FILL_LAYOUT_H_ +#pragma once #include "views/layout_manager.h" #include "views/view.h" diff --git a/views/focus/accelerator_handler.h b/views/focus/accelerator_handler.h index 67ce92c..6140d364 100644 --- a/views/focus/accelerator_handler.h +++ b/views/focus/accelerator_handler.h @@ -4,6 +4,7 @@ #ifndef VIEWS_FOCUS_ACCELERATOR_HANDLER_H_ #define VIEWS_FOCUS_ACCELERATOR_HANDLER_H_ +#pragma once #include "build/build_config.h" diff --git a/views/focus/external_focus_tracker.h b/views/focus/external_focus_tracker.h index 3a15aa1..8080f39 100644 --- a/views/focus/external_focus_tracker.h +++ b/views/focus/external_focus_tracker.h @@ -4,6 +4,7 @@ #ifndef VIEWS_FOCUS_EXTERNAL_FOCUS_TRACKER_H_ #define VIEWS_FOCUS_EXTERNAL_FOCUS_TRACKER_H_ +#pragma once #include "views/focus/focus_manager.h" diff --git a/views/focus/focus_manager.h b/views/focus/focus_manager.h index 7abe1d0..73cfdc8 100644 --- a/views/focus/focus_manager.h +++ b/views/focus/focus_manager.h @@ -4,6 +4,7 @@ #ifndef VIEWS_FOCUS_FOCUS_MANAGER_H_ #define VIEWS_FOCUS_FOCUS_MANAGER_H_ +#pragma once #include <list> #include <map> diff --git a/views/focus/focus_search.h b/views/focus/focus_search.h index d6479c4..5fcffe2 100644 --- a/views/focus/focus_search.h +++ b/views/focus/focus_search.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_FOCUS_SEARCH_H_ #define VIEWS_WIDGET_FOCUS_SEARCH_H_ +#pragma once #include "views/view.h" diff --git a/views/focus/focus_util_win.h b/views/focus/focus_util_win.h index 832a6df..7a85720 100644 --- a/views/focus/focus_util_win.h +++ b/views/focus/focus_util_win.h @@ -4,6 +4,7 @@ #ifndef VIEWS_FOCUS_FOCUS_UTIL_WIN_H_ #define VIEWS_FOCUS_FOCUS_UTIL_WIN_H_ +#pragma once #include <windows.h> diff --git a/views/focus/view_storage.h b/views/focus/view_storage.h index e72386a..bc34bb2 100644 --- a/views/focus/view_storage.h +++ b/views/focus/view_storage.h @@ -4,6 +4,7 @@ #ifndef VIEWS_FOCUS_VIEW_STORAGE_H_ #define VIEWS_FOCUS_VIEW_STORAGE_H_ +#pragma once #include "base/singleton.h" #include "views/view.h" diff --git a/views/grid_layout.h b/views/grid_layout.h index bb882ad..a1574ce 100644 --- a/views/grid_layout.h +++ b/views/grid_layout.h @@ -4,6 +4,7 @@ #ifndef VIEWS_GRID_LAYOUT_H_ #define VIEWS_GRID_LAYOUT_H_ +#pragma once #include <string> #include <vector> diff --git a/views/layout_manager.h b/views/layout_manager.h index 48a9c96..c7e2190 100644 --- a/views/layout_manager.h +++ b/views/layout_manager.h @@ -4,6 +4,7 @@ #ifndef VIEWS_LAYOUT_MANAGER_H_ #define VIEWS_LAYOUT_MANAGER_H_ +#pragma once #include "views/view.h" diff --git a/views/painter.h b/views/painter.h index a237461..6cfb7dc 100644 --- a/views/painter.h +++ b/views/painter.h @@ -4,6 +4,7 @@ #ifndef VIEWS_PAINTER_H_ #define VIEWS_PAINTER_H_ +#pragma once #include "base/basictypes.h" #include "third_party/skia/include/core/SkColor.h" diff --git a/views/repeat_controller.h b/views/repeat_controller.h index 78adeb1..e96a3d1 100644 --- a/views/repeat_controller.h +++ b/views/repeat_controller.h @@ -4,6 +4,7 @@ #ifndef VIEWS_REPEAT_CONTROLLER_H_ #define VIEWS_REPEAT_CONTROLLER_H_ +#pragma once #include "base/callback.h" #include "base/scoped_ptr.h" diff --git a/views/screen.h b/views/screen.h index 4fd60b9..6d6bc89 100644 --- a/views/screen.h +++ b/views/screen.h @@ -4,6 +4,7 @@ #ifndef VIEWS_SCREEN_H_ #define VIEWS_SCREEN_H_ +#pragma once #include "gfx/native_widget_types.h" #include "gfx/point.h" diff --git a/views/standard_layout.h b/views/standard_layout.h index 3f8f4a1..9679289 100644 --- a/views/standard_layout.h +++ b/views/standard_layout.h @@ -4,6 +4,7 @@ #ifndef VIEWS_STANDARD_LAYOUT_H_ #define VIEWS_STANDARD_LAYOUT_H_ +#pragma once #include "views/grid_layout.h" diff --git a/views/view.h b/views/view.h index 5a72863..fcd0ee7 100644 --- a/views/view.h +++ b/views/view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_VIEW_H_ #define VIEWS_VIEW_H_ +#pragma once #include "build/build_config.h" diff --git a/views/view_constants.h b/views/view_constants.h index d36dbb4..6dbc1de 100644 --- a/views/view_constants.h +++ b/views/view_constants.h @@ -4,6 +4,7 @@ #ifndef VIEWS_VIEW_CONSTANTS_H_ #define VIEWS_VIEW_CONSTANTS_H_ +#pragma once namespace views { diff --git a/views/view_text_utils.h b/views/view_text_utils.h index 5e292b9..6261f58 100644 --- a/views/view_text_utils.h +++ b/views/view_text_utils.h @@ -6,6 +6,7 @@ #ifndef VIEWS_VIEW_TEXT_UTILS_H_ #define VIEWS_VIEW_TEXT_UTILS_H_ +#pragma once #include <string> diff --git a/views/views_delegate.h b/views/views_delegate.h index d78304c..77edac2 100644 --- a/views/views_delegate.h +++ b/views/views_delegate.h @@ -4,6 +4,7 @@ #ifndef VIEWS_VIEWS_DELEGATE_H_ #define VIEWS_VIEWS_DELEGATE_H_ +#pragma once #include <string> #if defined(OS_WIN) diff --git a/views/widget/aero_tooltip_manager.h b/views/widget/aero_tooltip_manager.h index 8cfca64..e7fe5af 100644 --- a/views/widget/aero_tooltip_manager.h +++ b/views/widget/aero_tooltip_manager.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_AERO_TOOLTIP_MANAGER_H_ #define VIEWS_WIDGET_AERO_TOOLTIP_MANAGER_H_ +#pragma once #include "base/ref_counted.h" #include "base/task.h" diff --git a/views/widget/default_theme_provider.h b/views/widget/default_theme_provider.h index 962427f..79366a9 100644 --- a/views/widget/default_theme_provider.h +++ b/views/widget/default_theme_provider.h @@ -4,6 +4,7 @@ #ifndef VIEWS_DEFAULT_THEME_PROVIDER_H_ #define VIEWS_DEFAULT_THEME_PROVIDER_H_ +#pragma once #include <vector> diff --git a/views/widget/drop_helper.h b/views/widget/drop_helper.h index 63bfa27..28c9c8f 100644 --- a/views/widget/drop_helper.h +++ b/views/widget/drop_helper.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_DROP_HELPER_H_ #define VIEWS_WIDGET_DROP_HELPER_H_ +#pragma once #include "base/basictypes.h" diff --git a/views/widget/drop_target_gtk.h b/views/widget/drop_target_gtk.h index b4a5c56..d9cb011 100644 --- a/views/widget/drop_target_gtk.h +++ b/views/widget/drop_target_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_DROP_TARGET_GTK_H_ #define VIEWS_WIDGET_DROP_TARGET_GTK_H_ +#pragma once #include <gtk/gtk.h> #include <set> diff --git a/views/widget/drop_target_win.h b/views/widget/drop_target_win.h index d771c07..75949a9 100644 --- a/views/widget/drop_target_win.h +++ b/views/widget/drop_target_win.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_DROP_TARGET_WIN_H_ #define VIEWS_WIDGET_DROP_TARGET_WIN_H_ +#pragma once #include "base/base_drop_target.h" #include "views/widget/drop_helper.h" diff --git a/views/widget/gtk_views_fixed.h b/views/widget/gtk_views_fixed.h index 8fa3b80..a03c67b 100644 --- a/views/widget/gtk_views_fixed.h +++ b/views/widget/gtk_views_fixed.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_GTK_VIEWS_FIXED_H_ #define VIEWS_WIDGET_GTK_VIEWS_FIXED_H_ +#pragma once #include <gdk/gdk.h> #include <gtk/gtkfixed.h> diff --git a/views/widget/gtk_views_window.h b/views/widget/gtk_views_window.h index 0dd54be..8557db0 100644 --- a/views/widget/gtk_views_window.h +++ b/views/widget/gtk_views_window.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_GTK_VIEWS_WINDOW_H_ #define VIEWS_WIDGET_GTK_VIEWS_WINDOW_H_ +#pragma once #include <gtk/gtkwindow.h> diff --git a/views/widget/root_view.h b/views/widget/root_view.h index 4d40b21..6694f6a 100644 --- a/views/widget/root_view.h +++ b/views/widget/root_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_ROOT_VIEW_H_ #define VIEWS_WIDGET_ROOT_VIEW_H_ +#pragma once #include <string> diff --git a/views/widget/tooltip_manager.h b/views/widget/tooltip_manager.h index 48708eb..4931557 100644 --- a/views/widget/tooltip_manager.h +++ b/views/widget/tooltip_manager.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_TOOLTIP_MANAGER_H_ #define VIEWS_WIDGET_TOOLTIP_MANAGER_H_ +#pragma once #include <string> diff --git a/views/widget/tooltip_manager_gtk.h b/views/widget/tooltip_manager_gtk.h index d939343..c78acec 100644 --- a/views/widget/tooltip_manager_gtk.h +++ b/views/widget/tooltip_manager_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_TOOLTIP_MANAGER_GTK_H_ #define VIEWS_WIDGET_TOOLTIP_MANAGER_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/views/widget/tooltip_manager_win.h b/views/widget/tooltip_manager_win.h index e945031..27c7e7a 100644 --- a/views/widget/tooltip_manager_win.h +++ b/views/widget/tooltip_manager_win.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ #define VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ +#pragma once #include <windows.h> #include <commctrl.h> diff --git a/views/widget/tooltip_window_gtk.h b/views/widget/tooltip_window_gtk.h index 3ba0c20..fad4d0e 100644 --- a/views/widget/tooltip_window_gtk.h +++ b/views/widget/tooltip_window_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_TOOLTIP_WINDOW_GTK_H_ #define VIEWS_WIDGET_TOOLTIP_WINDOW_GTK_H_ +#pragma once #include <string> diff --git a/views/widget/widget.h b/views/widget/widget.h index 7443bcb..1ca96a5 100644 --- a/views/widget/widget.h +++ b/views/widget/widget.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_WIDGET_H_ #define VIEWS_WIDGET_WIDGET_H_ +#pragma once #include <vector> diff --git a/views/widget/widget_delegate.h b/views/widget/widget_delegate.h index 0bd86eb..71ea6ee 100644 --- a/views/widget/widget_delegate.h +++ b/views/widget/widget_delegate.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_WIDGET_DELEGATE_H_ #define VIEWS_WIDGET_WIDGET_DELEGATE_H_ +#pragma once namespace views { diff --git a/views/widget/widget_gtk.h b/views/widget/widget_gtk.h index 3700aa3..d010b03 100644 --- a/views/widget/widget_gtk.h +++ b/views/widget/widget_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_WIDGET_GTK_H_ #define VIEWS_WIDGET_WIDGET_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/views/widget/widget_win.h b/views/widget/widget_win.h index f52cf6f..b515d17 100644 --- a/views/widget/widget_win.h +++ b/views/widget/widget_win.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WIDGET_WIDGET_WIN_H_ #define VIEWS_WIDGET_WIDGET_WIN_H_ +#pragma once #include <atlbase.h> #include <atlapp.h> diff --git a/views/window/client_view.h b/views/window/client_view.h index f6088e3..fc79f73 100644 --- a/views/window/client_view.h +++ b/views/window/client_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WINDOW_CLIENT_VIEW_H_ #define VIEWS_WINDOW_CLIENT_VIEW_H_ +#pragma once #include "views/view.h" diff --git a/views/window/custom_frame_view.h b/views/window/custom_frame_view.h index 814a7a8..e424f29 100644 --- a/views/window/custom_frame_view.h +++ b/views/window/custom_frame_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WINDOW_CUSTOM_FRAME_VIEW_H_ #define VIEWS_WINDOW_CUSTOM_FRAME_VIEW_H_ +#pragma once #include "views/controls/button/image_button.h" #include "views/window/non_client_view.h" diff --git a/views/window/dialog_client_view.h b/views/window/dialog_client_view.h index 470481c..fdc4693 100644 --- a/views/window/dialog_client_view.h +++ b/views/window/dialog_client_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ #define VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ +#pragma once #include "gfx/font.h" #include "views/focus/focus_manager.h" diff --git a/views/window/dialog_delegate.h b/views/window/dialog_delegate.h index da120e7..6c8b27c 100644 --- a/views/window/dialog_delegate.h +++ b/views/window/dialog_delegate.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WINDOW_DIALOG_DELEGATE_H_ #define VIEWS_WINDOW_DIALOG_DELEGATE_H_ +#pragma once #include "app/message_box_flags.h" #include "views/accessibility/accessibility_types.h" diff --git a/views/window/hit_test.h b/views/window/hit_test.h index 35e88ae..657d88e 100644 --- a/views/window/hit_test.h +++ b/views/window/hit_test.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WINDOW_HIT_TEST_H_ #define VIEWS_WINDOW_HIT_TEST_H_ +#pragma once // Defines the same symbolic names used by the WM_NCHITTEST Notification under // win32 (the integer values are not guaranteed to be equivalent). We do this diff --git a/views/window/native_frame_view.h b/views/window/native_frame_view.h index c68941b..b20e328 100644 --- a/views/window/native_frame_view.h +++ b/views/window/native_frame_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WINDOW_NATIVE_FRAME_VIEW_H_ #define VIEWS_WINDOW_NATIVE_FRAME_VIEW_H_ +#pragma once #include "views/window/non_client_view.h" diff --git a/views/window/non_client_view.h b/views/window/non_client_view.h index 4377505..ced8063 100644 --- a/views/window/non_client_view.h +++ b/views/window/non_client_view.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WINDOW_NON_CLIENT_VIEW_H_ #define VIEWS_WINDOW_NON_CLIENT_VIEW_H_ +#pragma once #include "base/task.h" #include "views/view.h" diff --git a/views/window/window.h b/views/window/window.h index c0148bf..c16cdaa 100644 --- a/views/window/window.h +++ b/views/window/window.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WINDOW_WINDOW_H_ #define VIEWS_WINDOW_WINDOW_H_ +#pragma once #include "gfx/native_widget_types.h" diff --git a/views/window/window_delegate.h b/views/window/window_delegate.h index a5144d0..95ae934 100644 --- a/views/window/window_delegate.h +++ b/views/window/window_delegate.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WINDOW_WINDOW_DELEGATE_H_ #define VIEWS_WINDOW_WINDOW_DELEGATE_H_ +#pragma once #include <string> diff --git a/views/window/window_gtk.h b/views/window/window_gtk.h index 5aa8cbe..c62bc71 100644 --- a/views/window/window_gtk.h +++ b/views/window/window_gtk.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WINDOW_WINDOW_GTK_H_ #define VIEWS_WINDOW_WINDOW_GTK_H_ +#pragma once #include "base/basictypes.h" #include "views/widget/widget_gtk.h" diff --git a/views/window/window_resources.h b/views/window/window_resources.h index e79476e..4ce4112 100644 --- a/views/window/window_resources.h +++ b/views/window/window_resources.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WINDOW_WINDOW_RESOURCES_H_ #define VIEWS_WINDOW_WINDOW_RESOURCES_H_ +#pragma once class SkBitmap; diff --git a/views/window/window_shape.h b/views/window/window_shape.h index 5b47415..0fadc87 100644 --- a/views/window/window_shape.h +++ b/views/window/window_shape.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WINDOW_WINDOW_SHAPE_H_ #define VIEWS_WINDOW_WINDOW_SHAPE_H_ +#pragma once namespace gfx { class Size; diff --git a/views/window/window_win.h b/views/window/window_win.h index c1b1630..eb6ba63 100644 --- a/views/window/window_win.h +++ b/views/window/window_win.h @@ -4,6 +4,7 @@ #ifndef VIEWS_WINDOW_WINDOW_WIN_H_ #define VIEWS_WINDOW_WINDOW_WIN_H_ +#pragma once #include "views/widget/widget_win.h" #include "views/window/window.h" |