diff options
Diffstat (limited to 'views/controls')
83 files changed, 83 insertions, 0 deletions
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> |