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 /chrome/browser/gtk | |
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 'chrome/browser/gtk')
114 files changed, 114 insertions, 0 deletions
diff --git a/chrome/browser/gtk/about_chrome_dialog.h b/chrome/browser/gtk/about_chrome_dialog.h index 5f1f8d3..020e3e5 100644 --- a/chrome/browser/gtk/about_chrome_dialog.h +++ b/chrome/browser/gtk/about_chrome_dialog.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_ABOUT_CHROME_DIALOG_H_ #define CHROME_BROWSER_GTK_ABOUT_CHROME_DIALOG_H_ +#pragma once class Profile; typedef struct _GtkWindow GtkWindow; diff --git a/chrome/browser/gtk/accelerators_gtk.h b/chrome/browser/gtk/accelerators_gtk.h index 677caea..de08f914 100644 --- a/chrome/browser/gtk/accelerators_gtk.h +++ b/chrome/browser/gtk/accelerators_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_ACCELERATORS_GTK_H_ #define CHROME_BROWSER_GTK_ACCELERATORS_GTK_H_ +#pragma once #include "app/menus/accelerator_gtk.h" #include "base/hash_tables.h" diff --git a/chrome/browser/gtk/accessibility_event_router_gtk.h b/chrome/browser/gtk/accessibility_event_router_gtk.h index ecb9b78..367aca3 100644 --- a/chrome/browser/gtk/accessibility_event_router_gtk.h +++ b/chrome/browser/gtk/accessibility_event_router_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_ACCESSIBILITY_EVENT_ROUTER_GTK_H_ #define CHROME_BROWSER_GTK_ACCESSIBILITY_EVENT_ROUTER_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/accessible_widget_helper_gtk.h b/chrome/browser/gtk/accessible_widget_helper_gtk.h index fdd244d..3713dd9 100644 --- a/chrome/browser/gtk/accessible_widget_helper_gtk.h +++ b/chrome/browser/gtk/accessible_widget_helper_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_ACCESSIBLE_WIDGET_HELPER_GTK_H_ #define CHROME_BROWSER_GTK_ACCESSIBLE_WIDGET_HELPER_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/back_forward_button_gtk.h b/chrome/browser/gtk/back_forward_button_gtk.h index 3439a75..f32b5bb 100644 --- a/chrome/browser/gtk/back_forward_button_gtk.h +++ b/chrome/browser/gtk/back_forward_button_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_BACK_FORWARD_BUTTON_GTK_H_ #define CHROME_BROWSER_GTK_BACK_FORWARD_BUTTON_GTK_H_ +#pragma once #include "app/gtk_signal.h" #include "base/scoped_ptr.h" diff --git a/chrome/browser/gtk/bookmark_bar_gtk.h b/chrome/browser/gtk/bookmark_bar_gtk.h index b00d61a..f159c98 100644 --- a/chrome/browser/gtk/bookmark_bar_gtk.h +++ b/chrome/browser/gtk/bookmark_bar_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_ #define CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/bookmark_bar_instructions_gtk.h b/chrome/browser/gtk/bookmark_bar_instructions_gtk.h index fd19eb2..b58e507 100644 --- a/chrome/browser/gtk/bookmark_bar_instructions_gtk.h +++ b/chrome/browser/gtk/bookmark_bar_instructions_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_BOOKMARK_BAR_INSTRUCTIONS_GTK_H_ #define CHROME_BROWSER_GTK_BOOKMARK_BAR_INSTRUCTIONS_GTK_H_ +#pragma once #include "app/gtk_signal.h" #include "base/basictypes.h" diff --git a/chrome/browser/gtk/bookmark_bubble_gtk.h b/chrome/browser/gtk/bookmark_bubble_gtk.h index c58b224..6c7de88 100644 --- a/chrome/browser/gtk/bookmark_bubble_gtk.h +++ b/chrome/browser/gtk/bookmark_bubble_gtk.h @@ -11,6 +11,7 @@ #ifndef CHROME_BROWSER_GTK_BOOKMARK_BUBBLE_GTK_H_ #define CHROME_BROWSER_GTK_BOOKMARK_BUBBLE_GTK_H_ +#pragma once #include <string> #include <vector> diff --git a/chrome/browser/gtk/bookmark_editor_gtk.h b/chrome/browser/gtk/bookmark_editor_gtk.h index af9a984..4da3292 100644 --- a/chrome/browser/gtk/bookmark_editor_gtk.h +++ b/chrome/browser/gtk/bookmark_editor_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_BOOKMARK_EDITOR_GTK_H_ #define CHROME_BROWSER_GTK_BOOKMARK_EDITOR_GTK_H_ +#pragma once #include <string> diff --git a/chrome/browser/gtk/bookmark_menu_controller_gtk.h b/chrome/browser/gtk/bookmark_menu_controller_gtk.h index cf0a512..fbf9335 100644 --- a/chrome/browser/gtk/bookmark_menu_controller_gtk.h +++ b/chrome/browser/gtk/bookmark_menu_controller_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_BOOKMARK_MENU_CONTROLLER_GTK_H_ #define CHROME_BROWSER_GTK_BOOKMARK_MENU_CONTROLLER_GTK_H_ +#pragma once #include <map> diff --git a/chrome/browser/gtk/bookmark_tree_model.h b/chrome/browser/gtk/bookmark_tree_model.h index 80b1984..4df7d41 100644 --- a/chrome/browser/gtk/bookmark_tree_model.h +++ b/chrome/browser/gtk/bookmark_tree_model.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_BOOKMARK_TREE_MODEL_H_ #define CHROME_BROWSER_GTK_BOOKMARK_TREE_MODEL_H_ +#pragma once #include <string> #include "base/basictypes.h" diff --git a/chrome/browser/gtk/bookmark_utils_gtk.h b/chrome/browser/gtk/bookmark_utils_gtk.h index 6619461..875e325 100644 --- a/chrome/browser/gtk/bookmark_utils_gtk.h +++ b/chrome/browser/gtk/bookmark_utils_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_BOOKMARK_UTILS_GTK_H_ #define CHROME_BROWSER_GTK_BOOKMARK_UTILS_GTK_H_ +#pragma once #include <vector> #include <string> diff --git a/chrome/browser/gtk/browser_actions_toolbar_gtk.h b/chrome/browser/gtk/browser_actions_toolbar_gtk.h index 262b81d..441753a 100644 --- a/chrome/browser/gtk/browser_actions_toolbar_gtk.h +++ b/chrome/browser/gtk/browser_actions_toolbar_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_ #define CHROME_BROWSER_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_ +#pragma once #include <map> #include <string> diff --git a/chrome/browser/gtk/browser_titlebar.h b/chrome/browser/gtk/browser_titlebar.h index 86f99d5..431eddf4 100644 --- a/chrome/browser/gtk/browser_titlebar.h +++ b/chrome/browser/gtk/browser_titlebar.h @@ -9,6 +9,7 @@ #ifndef CHROME_BROWSER_GTK_BROWSER_TITLEBAR_H_ #define CHROME_BROWSER_GTK_BROWSER_TITLEBAR_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/browser_toolbar_gtk.h b/chrome/browser/gtk/browser_toolbar_gtk.h index 511ac49..aa8c50c 100644 --- a/chrome/browser/gtk/browser_toolbar_gtk.h +++ b/chrome/browser/gtk/browser_toolbar_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_BROWSER_TOOLBAR_GTK_H_ #define CHROME_BROWSER_GTK_BROWSER_TOOLBAR_GTK_H_ +#pragma once #include <gtk/gtk.h> #include <string> diff --git a/chrome/browser/gtk/browser_window_gtk.h b/chrome/browser/gtk/browser_window_gtk.h index 03b1af0..7892368 100644 --- a/chrome/browser/gtk/browser_window_gtk.h +++ b/chrome/browser/gtk/browser_window_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/cairo_cached_surface.h b/chrome/browser/gtk/cairo_cached_surface.h index 0a2c256..b257062 100644 --- a/chrome/browser/gtk/cairo_cached_surface.h +++ b/chrome/browser/gtk/cairo_cached_surface.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_CAIRO_CACHED_SURFACE_H_ #define CHROME_BROWSER_GTK_CAIRO_CACHED_SURFACE_H_ +#pragma once typedef struct _GdkPixbuf GdkPixbuf; typedef struct _cairo cairo_t; diff --git a/chrome/browser/gtk/certificate_dialogs.h b/chrome/browser/gtk/certificate_dialogs.h index 1890a4a..00f1fc1 100644 --- a/chrome/browser/gtk/certificate_dialogs.h +++ b/chrome/browser/gtk/certificate_dialogs.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_CERTIFICATE_DIALOGS_H_ #define CHROME_BROWSER_GTK_CERTIFICATE_DIALOGS_H_ +#pragma once #include <cert.h> diff --git a/chrome/browser/gtk/certificate_manager.h b/chrome/browser/gtk/certificate_manager.h index 5587bcd..304fbe4 100644 --- a/chrome/browser/gtk/certificate_manager.h +++ b/chrome/browser/gtk/certificate_manager.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_CERTIFICATE_MANAGER_H_ #define CHROME_BROWSER_GTK_CERTIFICATE_MANAGER_H_ +#pragma once #include "gfx/native_widget_types.h" diff --git a/chrome/browser/gtk/certificate_viewer.h b/chrome/browser/gtk/certificate_viewer.h index 24e69b9..fdc905d 100644 --- a/chrome/browser/gtk/certificate_viewer.h +++ b/chrome/browser/gtk/certificate_viewer.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_CERTIFICATE_VIEWER_H_ #define CHROME_BROWSER_GTK_CERTIFICATE_VIEWER_H_ +#pragma once #include "chrome/browser/certificate_viewer.h" #include "gfx/native_widget_types.h" diff --git a/chrome/browser/gtk/clear_browsing_data_dialog_gtk.h b/chrome/browser/gtk/clear_browsing_data_dialog_gtk.h index ba6e512..87a4546 100644 --- a/chrome/browser/gtk/clear_browsing_data_dialog_gtk.h +++ b/chrome/browser/gtk/clear_browsing_data_dialog_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_CLEAR_BROWSING_DATA_DIALOG_GTK_H_ #define CHROME_BROWSER_GTK_CLEAR_BROWSING_DATA_DIALOG_GTK_H_ +#pragma once #include "app/gtk_signal.h" #include "base/basictypes.h" diff --git a/chrome/browser/gtk/collected_cookies_gtk.h b/chrome/browser/gtk/collected_cookies_gtk.h index 2d8f2a0..3f2bab7 100644 --- a/chrome/browser/gtk/collected_cookies_gtk.h +++ b/chrome/browser/gtk/collected_cookies_gtk.h @@ -6,6 +6,7 @@ #ifndef CHROME_BROWSER_GTK_COLLECTED_COOKIES_GTK_H_ #define CHROME_BROWSER_GTK_COLLECTED_COOKIES_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/constrained_window_gtk.h b/chrome/browser/gtk/constrained_window_gtk.h index 5015b45..9fcc404 100644 --- a/chrome/browser/gtk/constrained_window_gtk.h +++ b/chrome/browser/gtk/constrained_window_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_CONSTRAINED_WINDOW_GTK_H_ #define CHROME_BROWSER_GTK_CONSTRAINED_WINDOW_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/content_setting_bubble_gtk.h b/chrome/browser/gtk/content_setting_bubble_gtk.h index 868eeb2..94b8e17 100644 --- a/chrome/browser/gtk/content_setting_bubble_gtk.h +++ b/chrome/browser/gtk/content_setting_bubble_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ #define CHROME_BROWSER_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ +#pragma once #include <map> #include <string> diff --git a/chrome/browser/gtk/create_application_shortcuts_dialog_gtk.h b/chrome/browser/gtk/create_application_shortcuts_dialog_gtk.h index 71a1030..a8ab071 100644 --- a/chrome/browser/gtk/create_application_shortcuts_dialog_gtk.h +++ b/chrome/browser/gtk/create_application_shortcuts_dialog_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_ #define CHROME_BROWSER_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_ +#pragma once #include "app/gtk_signal.h" #include "base/basictypes.h" diff --git a/chrome/browser/gtk/custom_button.h b/chrome/browser/gtk/custom_button.h index 7c79e42..b92f4df 100644 --- a/chrome/browser/gtk/custom_button.h +++ b/chrome/browser/gtk/custom_button.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_CUSTOM_BUTTON_H_ #define CHROME_BROWSER_GTK_CUSTOM_BUTTON_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/custom_drag.h b/chrome/browser/gtk/custom_drag.h index 1b7753e..90cfde1 100644 --- a/chrome/browser/gtk/custom_drag.h +++ b/chrome/browser/gtk/custom_drag.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_CUSTOM_DRAG_H_ #define CHROME_BROWSER_GTK_CUSTOM_DRAG_H_ +#pragma once #include <gtk/gtk.h> #include <vector> diff --git a/chrome/browser/gtk/download_in_progress_dialog_gtk.h b/chrome/browser/gtk/download_in_progress_dialog_gtk.h index 92532f3..9d74f85 100644 --- a/chrome/browser/gtk/download_in_progress_dialog_gtk.h +++ b/chrome/browser/gtk/download_in_progress_dialog_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ #define CHROME_BROWSER_GTK_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ +#pragma once #include "app/gtk_signal.h" #include "base/basictypes.h" diff --git a/chrome/browser/gtk/download_item_gtk.h b/chrome/browser/gtk/download_item_gtk.h index 1b793dc..9df51d5 100644 --- a/chrome/browser/gtk/download_item_gtk.h +++ b/chrome/browser/gtk/download_item_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_DOWNLOAD_ITEM_GTK_H_ #define CHROME_BROWSER_GTK_DOWNLOAD_ITEM_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/download_shelf_gtk.h b/chrome/browser/gtk/download_shelf_gtk.h index 35d7f3e..cd3301e 100644 --- a/chrome/browser/gtk/download_shelf_gtk.h +++ b/chrome/browser/gtk/download_shelf_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_DOWNLOAD_SHELF_GTK_H_ #define CHROME_BROWSER_GTK_DOWNLOAD_SHELF_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/edit_search_engine_dialog.h b/chrome/browser/gtk/edit_search_engine_dialog.h index c7afbef..b02ae4f 100644 --- a/chrome/browser/gtk/edit_search_engine_dialog.h +++ b/chrome/browser/gtk/edit_search_engine_dialog.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_EDIT_SEARCH_ENGINE_DIALOG_H_ #define CHROME_BROWSER_GTK_EDIT_SEARCH_ENGINE_DIALOG_H_ +#pragma once #include <gtk/gtk.h> #include <string> diff --git a/chrome/browser/gtk/extension_infobar_gtk.h b/chrome/browser/gtk/extension_infobar_gtk.h index 2fff977..b727c04 100644 --- a/chrome/browser/gtk/extension_infobar_gtk.h +++ b/chrome/browser/gtk/extension_infobar_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_EXTENSION_INFOBAR_GTK_H_ #define CHROME_BROWSER_GTK_EXTENSION_INFOBAR_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/extension_installed_bubble_gtk.h b/chrome/browser/gtk/extension_installed_bubble_gtk.h index fc4680d..7bf2983 100644 --- a/chrome/browser/gtk/extension_installed_bubble_gtk.h +++ b/chrome/browser/gtk/extension_installed_bubble_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_EXTENSION_INSTALLED_BUBBLE_GTK_H_ #define CHROME_BROWSER_GTK_EXTENSION_INSTALLED_BUBBLE_GTK_H_ +#pragma once #include "base/ref_counted.h" #include "base/scoped_ptr.h" diff --git a/chrome/browser/gtk/extension_popup_gtk.h b/chrome/browser/gtk/extension_popup_gtk.h index fcf7015..df983de 100644 --- a/chrome/browser/gtk/extension_popup_gtk.h +++ b/chrome/browser/gtk/extension_popup_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_EXTENSION_POPUP_GTK_H_ #define CHROME_BROWSER_GTK_EXTENSION_POPUP_GTK_H_ +#pragma once #include "base/scoped_ptr.h" #include "base/task.h" diff --git a/chrome/browser/gtk/extension_view_gtk.h b/chrome/browser/gtk/extension_view_gtk.h index 26dd8d1..5e5f436 100644 --- a/chrome/browser/gtk/extension_view_gtk.h +++ b/chrome/browser/gtk/extension_view_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_EXTENSION_VIEW_GTK_H_ #define CHROME_BROWSER_GTK_EXTENSION_VIEW_GTK_H_ +#pragma once #include "base/basictypes.h" #include "gfx/native_widget_types.h" diff --git a/chrome/browser/gtk/external_protocol_dialog_gtk.h b/chrome/browser/gtk/external_protocol_dialog_gtk.h index 9c2e6dd..6416b30 100644 --- a/chrome/browser/gtk/external_protocol_dialog_gtk.h +++ b/chrome/browser/gtk/external_protocol_dialog_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_ #define CHROME_BROWSER_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_ +#pragma once #include "app/gtk_signal.h" #include "base/time.h" diff --git a/chrome/browser/gtk/find_bar_gtk.h b/chrome/browser/gtk/find_bar_gtk.h index 3de3dfd..573e0ba 100644 --- a/chrome/browser/gtk/find_bar_gtk.h +++ b/chrome/browser/gtk/find_bar_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_FIND_BAR_GTK_H_ #define CHROME_BROWSER_GTK_FIND_BAR_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/first_run_bubble.h b/chrome/browser/gtk/first_run_bubble.h index 31355d0..3ef4d22 100644 --- a/chrome/browser/gtk/first_run_bubble.h +++ b/chrome/browser/gtk/first_run_bubble.h @@ -8,6 +8,7 @@ #ifndef CHROME_BROWSER_GTK_FIRST_RUN_BUBBLE_H_ #define CHROME_BROWSER_GTK_FIRST_RUN_BUBBLE_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/first_run_dialog.h b/chrome/browser/gtk/first_run_dialog.h index a2b2a70..f757a42 100644 --- a/chrome/browser/gtk/first_run_dialog.h +++ b/chrome/browser/gtk/first_run_dialog.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_FIRST_RUN_DIALOG_H_ #define CHROME_BROWSER_GTK_FIRST_RUN_DIALOG_H_ +#pragma once typedef struct _GtkButton GtkButton; typedef struct _GtkWidget GtkWidget; diff --git a/chrome/browser/gtk/focus_store_gtk.h b/chrome/browser/gtk/focus_store_gtk.h index cfd6c9c..ce3b68b 100644 --- a/chrome/browser/gtk/focus_store_gtk.h +++ b/chrome/browser/gtk/focus_store_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_FOCUS_STORE_GTK_H_ #define CHROME_BROWSER_GTK_FOCUS_STORE_GTK_H_ +#pragma once #include "base/basictypes.h" diff --git a/chrome/browser/gtk/fullscreen_exit_bubble_gtk.h b/chrome/browser/gtk/fullscreen_exit_bubble_gtk.h index b81348e..456d9a1 100644 --- a/chrome/browser/gtk/fullscreen_exit_bubble_gtk.h +++ b/chrome/browser/gtk/fullscreen_exit_bubble_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_FULLSCREEN_EXIT_BUBBLE_GTK_H_ #define CHROME_BROWSER_GTK_FULLSCREEN_EXIT_BUBBLE_GTK_H_ +#pragma once #include "app/gtk_signal.h" #include "app/gtk_signal_registrar.h" diff --git a/chrome/browser/gtk/gconf_titlebar_listener.h b/chrome/browser/gtk/gconf_titlebar_listener.h index ad73e05..658da54 100644 --- a/chrome/browser/gtk/gconf_titlebar_listener.h +++ b/chrome/browser/gtk/gconf_titlebar_listener.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_GCONF_TITLEBAR_LISTENER_H_ #define CHROME_BROWSER_GTK_GCONF_TITLEBAR_LISTENER_H_ +#pragma once #include <gconf/gconf-client.h> #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/gtk_chrome_button.h b/chrome/browser/gtk/gtk_chrome_button.h index 762f238..dc683a5 100644 --- a/chrome/browser/gtk/gtk_chrome_button.h +++ b/chrome/browser/gtk/gtk_chrome_button.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_GTK_CHROME_BUTTON_H_ #define CHROME_BROWSER_GTK_GTK_CHROME_BUTTON_H_ +#pragma once #include <gdk/gdk.h> #include <gtk/gtkbutton.h> diff --git a/chrome/browser/gtk/gtk_chrome_cookie_view.h b/chrome/browser/gtk/gtk_chrome_cookie_view.h index aa663a9..cacf0dc 100644 --- a/chrome/browser/gtk/gtk_chrome_cookie_view.h +++ b/chrome/browser/gtk/gtk_chrome_cookie_view.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_GTK_CHROME_COOKIE_VIEW_H_ #define CHROME_BROWSER_GTK_GTK_CHROME_COOKIE_VIEW_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/gtk_chrome_link_button.h b/chrome/browser/gtk/gtk_chrome_link_button.h index 1021cba..7e040d6 100644 --- a/chrome/browser/gtk/gtk_chrome_link_button.h +++ b/chrome/browser/gtk/gtk_chrome_link_button.h @@ -9,6 +9,7 @@ #ifndef CHROME_BROWSER_GTK_GTK_CHROME_LINK_BUTTON_H_ #define CHROME_BROWSER_GTK_GTK_CHROME_LINK_BUTTON_H_ +#pragma once #include <gdk/gdk.h> #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/gtk_chrome_shrinkable_hbox.h b/chrome/browser/gtk/gtk_chrome_shrinkable_hbox.h index 08d0b37..9793548 100644 --- a/chrome/browser/gtk/gtk_chrome_shrinkable_hbox.h +++ b/chrome/browser/gtk/gtk_chrome_shrinkable_hbox.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_GTK_CHROME_SHRINKABLE_HBOX_H_ #define CHROME_BROWSER_GTK_GTK_CHROME_SHRINKABLE_HBOX_H_ +#pragma once #include <gdk/gdk.h> #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/gtk_custom_menu.h b/chrome/browser/gtk/gtk_custom_menu.h index a2fc757..1faa730 100644 --- a/chrome/browser/gtk/gtk_custom_menu.h +++ b/chrome/browser/gtk/gtk_custom_menu.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_GTK_CUSTOM_MENU_H_ #define CHROME_BROWSER_GTK_GTK_CUSTOM_MENU_H_ +#pragma once // GtkCustomMenu is a GtkMenu subclass that can contain, and collaborates with, // GtkCustomMenuItem instances. GtkCustomMenuItem is a GtkMenuItem that can diff --git a/chrome/browser/gtk/gtk_custom_menu_item.h b/chrome/browser/gtk/gtk_custom_menu_item.h index c89db5d..c730342 100644 --- a/chrome/browser/gtk/gtk_custom_menu_item.h +++ b/chrome/browser/gtk/gtk_custom_menu_item.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_GTK_CUSTOM_MENU_ITEM_H_ #define CHROME_BROWSER_GTK_GTK_CUSTOM_MENU_ITEM_H_ +#pragma once // GtkCustomMenuItem is a GtkMenuItem subclass that has buttons in it and acts // to support this. GtkCustomMenuItems only render properly when put in a diff --git a/chrome/browser/gtk/gtk_expanded_container.h b/chrome/browser/gtk/gtk_expanded_container.h index 396177e..0870bbc 100644 --- a/chrome/browser/gtk/gtk_expanded_container.h +++ b/chrome/browser/gtk/gtk_expanded_container.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_GTK_EXPANDED_CONTAINER_H_ #define CHROME_BROWSER_GTK_GTK_EXPANDED_CONTAINER_H_ +#pragma once #include <gdk/gdk.h> #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/gtk_floating_container.h b/chrome/browser/gtk/gtk_floating_container.h index 7cd6b0b..f1b5eebc 100644 --- a/chrome/browser/gtk/gtk_floating_container.h +++ b/chrome/browser/gtk/gtk_floating_container.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_GTK_FLOATING_CONTAINER_H_ #define CHROME_BROWSER_GTK_GTK_FLOATING_CONTAINER_H_ +#pragma once #include <gdk/gdk.h> #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/gtk_theme_provider.h b/chrome/browser/gtk/gtk_theme_provider.h index 031c5c0..323592a 100644 --- a/chrome/browser/gtk/gtk_theme_provider.h +++ b/chrome/browser/gtk/gtk_theme_provider.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_GTK_THEME_PROVIDER_H_ #define CHROME_BROWSER_GTK_GTK_THEME_PROVIDER_H_ +#pragma once #include <map> #include <string> diff --git a/chrome/browser/gtk/gtk_tree.h b/chrome/browser/gtk/gtk_tree.h index 1357315e1..7ed79b9 100644 --- a/chrome/browser/gtk/gtk_tree.h +++ b/chrome/browser/gtk/gtk_tree.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_GTK_TREE_H_ #define CHROME_BROWSER_GTK_GTK_TREE_H_ +#pragma once #include <gtk/gtk.h> #include <set> diff --git a/chrome/browser/gtk/gtk_util.h b/chrome/browser/gtk/gtk_util.h index 7fed9e4..8b83262 100644 --- a/chrome/browser/gtk/gtk_util.h +++ b/chrome/browser/gtk/gtk_util.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_GTK_UTIL_H_ #define CHROME_BROWSER_GTK_GTK_UTIL_H_ +#pragma once #include <gtk/gtk.h> #include <string> diff --git a/chrome/browser/gtk/hover_controller_gtk.h b/chrome/browser/gtk/hover_controller_gtk.h index 5a4cd9c..05d2ebf 100644 --- a/chrome/browser/gtk/hover_controller_gtk.h +++ b/chrome/browser/gtk/hover_controller_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_HOVER_CONTROLLER_GTK_H_ #define CHROME_BROWSER_GTK_HOVER_CONTROLLER_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/html_dialog_gtk.h b/chrome/browser/gtk/html_dialog_gtk.h index 250f1a0..bd4fcd5 100644 --- a/chrome/browser/gtk/html_dialog_gtk.h +++ b/chrome/browser/gtk/html_dialog_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_HTML_DIALOG_GTK_H_ #define CHROME_BROWSER_GTK_HTML_DIALOG_GTK_H_ +#pragma once #include <string> #include <vector> diff --git a/chrome/browser/gtk/import_dialog_gtk.h b/chrome/browser/gtk/import_dialog_gtk.h index 8b2b220..a1126b8 100644 --- a/chrome/browser/gtk/import_dialog_gtk.h +++ b/chrome/browser/gtk/import_dialog_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_IMPORT_DIALOG_GTK_H_ #define CHROME_BROWSER_GTK_IMPORT_DIALOG_GTK_H_ +#pragma once #include "app/gtk_signal.h" #include "chrome/browser/importer/importer.h" diff --git a/chrome/browser/gtk/import_lock_dialog_gtk.h b/chrome/browser/gtk/import_lock_dialog_gtk.h index ebcee7f..96f9b13 100644 --- a/chrome/browser/gtk/import_lock_dialog_gtk.h +++ b/chrome/browser/gtk/import_lock_dialog_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_IMPORT_LOCK_DIALOG_GTK_H_ #define CHROME_BROWSER_GTK_IMPORT_LOCK_DIALOG_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/import_progress_dialog_gtk.h b/chrome/browser/gtk/import_progress_dialog_gtk.h index a990ca7..d7a6408 100644 --- a/chrome/browser/gtk/import_progress_dialog_gtk.h +++ b/chrome/browser/gtk/import_progress_dialog_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_IMPORT_PROGRESS_DIALOG_GTK_H_ #define CHROME_BROWSER_GTK_IMPORT_PROGRESS_DIALOG_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/info_bubble_gtk.h b/chrome/browser/gtk/info_bubble_gtk.h index d13a965..2da6d2f 100644 --- a/chrome/browser/gtk/info_bubble_gtk.h +++ b/chrome/browser/gtk/info_bubble_gtk.h @@ -12,6 +12,7 @@ #ifndef CHROME_BROWSER_GTK_INFO_BUBBLE_GTK_H_ #define CHROME_BROWSER_GTK_INFO_BUBBLE_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/infobar_container_gtk.h b/chrome/browser/gtk/infobar_container_gtk.h index 56a7b95..55b6773 100644 --- a/chrome/browser/gtk/infobar_container_gtk.h +++ b/chrome/browser/gtk/infobar_container_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_INFOBAR_CONTAINER_GTK_H_ #define CHROME_BROWSER_GTK_INFOBAR_CONTAINER_GTK_H_ +#pragma once #include "base/basictypes.h" #include "chrome/common/notification_registrar.h" diff --git a/chrome/browser/gtk/infobar_gtk.h b/chrome/browser/gtk/infobar_gtk.h index 9b83354..61e602c 100644 --- a/chrome/browser/gtk/infobar_gtk.h +++ b/chrome/browser/gtk/infobar_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_INFOBAR_GTK_H_ #define CHROME_BROWSER_GTK_INFOBAR_GTK_H_ +#pragma once #include "app/gtk_signal.h" #include "base/basictypes.h" diff --git a/chrome/browser/gtk/keyword_editor_view.h b/chrome/browser/gtk/keyword_editor_view.h index 3ce4b49..37eb398 100644 --- a/chrome/browser/gtk/keyword_editor_view.h +++ b/chrome/browser/gtk/keyword_editor_view.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_KEYWORD_EDITOR_VIEW_H_ #define CHROME_BROWSER_GTK_KEYWORD_EDITOR_VIEW_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/location_bar_view_gtk.h b/chrome/browser/gtk/location_bar_view_gtk.h index 7600390..89d813b 100644 --- a/chrome/browser/gtk/location_bar_view_gtk.h +++ b/chrome/browser/gtk/location_bar_view_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ #define CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/menu_bar_helper.h b/chrome/browser/gtk/menu_bar_helper.h index c3f92cf..69de87e 100644 --- a/chrome/browser/gtk/menu_bar_helper.h +++ b/chrome/browser/gtk/menu_bar_helper.h @@ -7,6 +7,7 @@ #ifndef CHROME_BROWSER_GTK_MENU_BAR_HELPER_H_ #define CHROME_BROWSER_GTK_MENU_BAR_HELPER_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/menu_gtk.h b/chrome/browser/gtk/menu_gtk.h index 55767da..ee0114e 100644 --- a/chrome/browser/gtk/menu_gtk.h +++ b/chrome/browser/gtk/menu_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_MENU_GTK_H_ #define CHROME_BROWSER_GTK_MENU_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/meta_frames.h b/chrome/browser/gtk/meta_frames.h index ef828ef..bc8a493 100644 --- a/chrome/browser/gtk/meta_frames.h +++ b/chrome/browser/gtk/meta_frames.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_META_FRAMES_H_ #define CHROME_BROWSER_GTK_META_FRAMES_H_ +#pragma once #include <gdk/gdk.h> #include <gtk/gtkwindow.h> diff --git a/chrome/browser/gtk/nine_box.h b/chrome/browser/gtk/nine_box.h index c00a99b..ecdf44a 100644 --- a/chrome/browser/gtk/nine_box.h +++ b/chrome/browser/gtk/nine_box.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_NINE_BOX_H_ #define CHROME_BROWSER_GTK_NINE_BOX_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/notifications/balloon_view_gtk.h b/chrome/browser/gtk/notifications/balloon_view_gtk.h index d80bda6..37c2d34 100644 --- a/chrome/browser/gtk/notifications/balloon_view_gtk.h +++ b/chrome/browser/gtk/notifications/balloon_view_gtk.h @@ -6,6 +6,7 @@ #ifndef CHROME_BROWSER_GTK_NOTIFICATIONS_BALLOON_VIEW_GTK_H_ #define CHROME_BROWSER_GTK_NOTIFICATIONS_BALLOON_VIEW_GTK_H_ +#pragma once #include "app/animation.h" #include "app/gtk_signal.h" diff --git a/chrome/browser/gtk/notifications/balloon_view_host_gtk.h b/chrome/browser/gtk/notifications/balloon_view_host_gtk.h index f51b875..75dfb92 100644 --- a/chrome/browser/gtk/notifications/balloon_view_host_gtk.h +++ b/chrome/browser/gtk/notifications/balloon_view_host_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_ #define CHROME_BROWSER_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_ +#pragma once #include "chrome/browser/notifications/balloon_host.h" #include "gfx/native_widget_types.h" diff --git a/chrome/browser/gtk/options/advanced_contents_gtk.h b/chrome/browser/gtk/options/advanced_contents_gtk.h index 40a04b62..28eb3bd 100644 --- a/chrome/browser/gtk/options/advanced_contents_gtk.h +++ b/chrome/browser/gtk/options/advanced_contents_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_ADVANCED_CONTENTS_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_ADVANCED_CONTENTS_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/options/advanced_page_gtk.h b/chrome/browser/gtk/options/advanced_page_gtk.h index 91be437..a4b19ff 100644 --- a/chrome/browser/gtk/options/advanced_page_gtk.h +++ b/chrome/browser/gtk/options/advanced_page_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_ADVANCED_PAGE_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_ADVANCED_PAGE_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/options/content_exception_editor.h b/chrome/browser/gtk/options/content_exception_editor.h index 98dcbf9..3de04bf 100644 --- a/chrome/browser/gtk/options/content_exception_editor.h +++ b/chrome/browser/gtk/options/content_exception_editor.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_CONTENT_EXCEPTION_EDITOR_H_ #define CHROME_BROWSER_GTK_OPTIONS_CONTENT_EXCEPTION_EDITOR_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/options/content_exceptions_window_gtk.h b/chrome/browser/gtk/options/content_exceptions_window_gtk.h index b36d8d1..4779833 100644 --- a/chrome/browser/gtk/options/content_exceptions_window_gtk.h +++ b/chrome/browser/gtk/options/content_exceptions_window_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_CONTENT_EXCEPTIONS_WINDOW_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_CONTENT_EXCEPTIONS_WINDOW_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/options/content_filter_page_gtk.h b/chrome/browser/gtk/options/content_filter_page_gtk.h index f7f4de9..45e3720 100644 --- a/chrome/browser/gtk/options/content_filter_page_gtk.h +++ b/chrome/browser/gtk/options/content_filter_page_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_CONTENT_FILTER_PAGE_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_CONTENT_FILTER_PAGE_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/options/content_page_gtk.h b/chrome/browser/gtk/options/content_page_gtk.h index 2489959..675f0a2 100644 --- a/chrome/browser/gtk/options/content_page_gtk.h +++ b/chrome/browser/gtk/options/content_page_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/options/content_settings_window_gtk.h b/chrome/browser/gtk/options/content_settings_window_gtk.h index 900e89b..93c7d0a 100644 --- a/chrome/browser/gtk/options/content_settings_window_gtk.h +++ b/chrome/browser/gtk/options/content_settings_window_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_CONTENT_SETTINGS_WINDOW_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_CONTENT_SETTINGS_WINDOW_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/options/cookie_filter_page_gtk.h b/chrome/browser/gtk/options/cookie_filter_page_gtk.h index 062b099..8ab6804 100644 --- a/chrome/browser/gtk/options/cookie_filter_page_gtk.h +++ b/chrome/browser/gtk/options/cookie_filter_page_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_COOKIE_FILTER_PAGE_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_COOKIE_FILTER_PAGE_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/options/cookies_view.h b/chrome/browser/gtk/options/cookies_view.h index 8843ac4..2d58b61 100644 --- a/chrome/browser/gtk/options/cookies_view.h +++ b/chrome/browser/gtk/options/cookies_view.h @@ -6,6 +6,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_COOKIES_VIEW_H_ #define CHROME_BROWSER_GTK_OPTIONS_COOKIES_VIEW_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/options/fonts_page_gtk.h b/chrome/browser/gtk/options/fonts_page_gtk.h index 837f48f..eb90901 100644 --- a/chrome/browser/gtk/options/fonts_page_gtk.h +++ b/chrome/browser/gtk/options/fonts_page_gtk.h @@ -7,6 +7,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_FONTS_PAGE_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_FONTS_PAGE_GTK_H_ +#pragma once #include <gtk/gtk.h> #include <vector> diff --git a/chrome/browser/gtk/options/general_page_gtk.h b/chrome/browser/gtk/options/general_page_gtk.h index 93e9aae..3ac5f66 100644 --- a/chrome/browser/gtk/options/general_page_gtk.h +++ b/chrome/browser/gtk/options/general_page_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_GENERAL_PAGE_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_GENERAL_PAGE_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/options/languages_page_gtk.h b/chrome/browser/gtk/options/languages_page_gtk.h index 17c83cb..f3f56d4 100644 --- a/chrome/browser/gtk/options/languages_page_gtk.h +++ b/chrome/browser/gtk/options/languages_page_gtk.h @@ -11,6 +11,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_LANGUAGES_PAGE_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_LANGUAGES_PAGE_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/options/managed_prefs_banner_gtk.h b/chrome/browser/gtk/options/managed_prefs_banner_gtk.h index 499d782..e2ef6f4 100644 --- a/chrome/browser/gtk/options/managed_prefs_banner_gtk.h +++ b/chrome/browser/gtk/options/managed_prefs_banner_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_MANAGED_PREFS_BANNER_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_MANAGED_PREFS_BANNER_GTK_H_ +#pragma once #include <set> diff --git a/chrome/browser/gtk/options/options_layout_gtk.h b/chrome/browser/gtk/options/options_layout_gtk.h index 0cc8b7f..5bf2d3e 100644 --- a/chrome/browser/gtk/options/options_layout_gtk.h +++ b/chrome/browser/gtk/options/options_layout_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_OPTIONS_LAYOUT_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_OPTIONS_LAYOUT_GTK_H_ +#pragma once #include <gtk/gtk.h> #include <string> diff --git a/chrome/browser/gtk/options/passwords_exceptions_page_gtk.h b/chrome/browser/gtk/options/passwords_exceptions_page_gtk.h index e2d2d41..5fcee8d 100644 --- a/chrome/browser/gtk/options/passwords_exceptions_page_gtk.h +++ b/chrome/browser/gtk/options/passwords_exceptions_page_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_EXCEPTIONS_PAGE_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_EXCEPTIONS_PAGE_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/options/passwords_exceptions_window_gtk.h b/chrome/browser/gtk/options/passwords_exceptions_window_gtk.h index 45aa8e0..1e5be39 100644 --- a/chrome/browser/gtk/options/passwords_exceptions_window_gtk.h +++ b/chrome/browser/gtk/options/passwords_exceptions_window_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_EXCEPTIONS_WINDOW_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_EXCEPTIONS_WINDOW_GTK_H_ +#pragma once class Profile; diff --git a/chrome/browser/gtk/options/passwords_page_gtk.h b/chrome/browser/gtk/options/passwords_page_gtk.h index 328ce35..80ff8969 100644 --- a/chrome/browser/gtk/options/passwords_page_gtk.h +++ b/chrome/browser/gtk/options/passwords_page_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_PAGE_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_PAGE_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/options/simple_content_exceptions_window.h b/chrome/browser/gtk/options/simple_content_exceptions_window.h index 12700bd..e6080b6 100644 --- a/chrome/browser/gtk/options/simple_content_exceptions_window.h +++ b/chrome/browser/gtk/options/simple_content_exceptions_window.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_SIMPLE_CONTENT_EXCEPTIONS_WINDOW_H_ #define CHROME_BROWSER_GTK_OPTIONS_SIMPLE_CONTENT_EXCEPTIONS_WINDOW_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/options/url_picker_dialog_gtk.h b/chrome/browser/gtk/options/url_picker_dialog_gtk.h index ed2d4a0..6c4429b 100644 --- a/chrome/browser/gtk/options/url_picker_dialog_gtk.h +++ b/chrome/browser/gtk/options/url_picker_dialog_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OPTIONS_URL_PICKER_DIALOG_GTK_H_ #define CHROME_BROWSER_GTK_OPTIONS_URL_PICKER_DIALOG_GTK_H_ +#pragma once #include <string> diff --git a/chrome/browser/gtk/overflow_button.h b/chrome/browser/gtk/overflow_button.h index 5362e6b..f499c48 100644 --- a/chrome/browser/gtk/overflow_button.h +++ b/chrome/browser/gtk/overflow_button.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_OVERFLOW_BUTTON_H_ #define CHROME_BROWSER_GTK_OVERFLOW_BUTTON_H_ +#pragma once #include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" diff --git a/chrome/browser/gtk/process_singleton_dialog.h b/chrome/browser/gtk/process_singleton_dialog.h index fa303e2..ec9641e 100644 --- a/chrome/browser/gtk/process_singleton_dialog.h +++ b/chrome/browser/gtk/process_singleton_dialog.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_PROCESS_SINGLETON_DIALOG_H_ #define CHROME_BROWSER_GTK_PROCESS_SINGLETON_DIALOG_H_ +#pragma once #include <string> diff --git a/chrome/browser/gtk/reload_button_gtk.h b/chrome/browser/gtk/reload_button_gtk.h index 6cc3a13..beee958 100644 --- a/chrome/browser/gtk/reload_button_gtk.h +++ b/chrome/browser/gtk/reload_button_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_RELOAD_BUTTON_GTK_H_ #define CHROME_BROWSER_GTK_RELOAD_BUTTON_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/repost_form_warning_gtk.h b/chrome/browser/gtk/repost_form_warning_gtk.h index 149216b..6b0f982 100644 --- a/chrome/browser/gtk/repost_form_warning_gtk.h +++ b/chrome/browser/gtk/repost_form_warning_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_REPOST_FORM_WARNING_GTK_H_ #define CHROME_BROWSER_GTK_REPOST_FORM_WARNING_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/rounded_window.h b/chrome/browser/gtk/rounded_window.h index 7f2c584..d1788f8 100644 --- a/chrome/browser/gtk/rounded_window.h +++ b/chrome/browser/gtk/rounded_window.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_ROUNDED_WINDOW_H_ #define CHROME_BROWSER_GTK_ROUNDED_WINDOW_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/sad_tab_gtk.h b/chrome/browser/gtk/sad_tab_gtk.h index 283f4d5..1661217 100644 --- a/chrome/browser/gtk/sad_tab_gtk.h +++ b/chrome/browser/gtk/sad_tab_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_SAD_TAB_GTK_H_ #define CHROME_BROWSER_GTK_SAD_TAB_GTK_H_ +#pragma once typedef struct _GtkWidget GtkWidget; diff --git a/chrome/browser/gtk/slide_animator_gtk.h b/chrome/browser/gtk/slide_animator_gtk.h index 799816c..1de91af 100644 --- a/chrome/browser/gtk/slide_animator_gtk.h +++ b/chrome/browser/gtk/slide_animator_gtk.h @@ -13,6 +13,7 @@ #ifndef CHROME_BROWSER_GTK_SLIDE_ANIMATOR_GTK_H_ #define CHROME_BROWSER_GTK_SLIDE_ANIMATOR_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/status_bubble_gtk.h b/chrome/browser/gtk/status_bubble_gtk.h index 497d67e..4a8748f 100644 --- a/chrome/browser/gtk/status_bubble_gtk.h +++ b/chrome/browser/gtk/status_bubble_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_STATUS_BUBBLE_GTK_H_ #define CHROME_BROWSER_GTK_STATUS_BUBBLE_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/status_icons/status_icon_gtk.h b/chrome/browser/gtk/status_icons/status_icon_gtk.h index 65a07ab..adb139b 100644 --- a/chrome/browser/gtk/status_icons/status_icon_gtk.h +++ b/chrome/browser/gtk/status_icons/status_icon_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_STATUS_ICONS_STATUS_ICON_GTK_H_ #define CHROME_BROWSER_GTK_STATUS_ICONS_STATUS_ICON_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/status_icons/status_tray_gtk.h b/chrome/browser/gtk/status_icons/status_tray_gtk.h index a41e5df0..ec443ca 100644 --- a/chrome/browser/gtk/status_icons/status_tray_gtk.h +++ b/chrome/browser/gtk/status_icons/status_tray_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_STATUS_ICONS_STATUS_TRAY_GTK_H_ #define CHROME_BROWSER_GTK_STATUS_ICONS_STATUS_TRAY_GTK_H_ +#pragma once #include "chrome/browser/status_icons/status_tray.h" diff --git a/chrome/browser/gtk/tab_contents_container_gtk.h b/chrome/browser/gtk/tab_contents_container_gtk.h index 91c2301..b72844a 100644 --- a/chrome/browser/gtk/tab_contents_container_gtk.h +++ b/chrome/browser/gtk/tab_contents_container_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ #define CHROME_BROWSER_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/tab_contents_drag_source.h b/chrome/browser/gtk/tab_contents_drag_source.h index 20eeea3..7b4cc97 100644 --- a/chrome/browser/gtk/tab_contents_drag_source.h +++ b/chrome/browser/gtk/tab_contents_drag_source.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_TAB_CONTENTS_DRAG_SOURCE_H_ #define CHROME_BROWSER_GTK_TAB_CONTENTS_DRAG_SOURCE_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.h b/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.h index 69602a8..66bbbba 100644 --- a/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.h +++ b/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ #define CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/tabs/dragged_tab_gtk.h b/chrome/browser/gtk/tabs/dragged_tab_gtk.h index 2eafca2..38c6525 100644 --- a/chrome/browser/gtk/tabs/dragged_tab_gtk.h +++ b/chrome/browser/gtk/tabs/dragged_tab_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_GTK_H_ #define CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/tabs/tab_gtk.h b/chrome/browser/gtk/tabs/tab_gtk.h index 6630780..8a2786c 100644 --- a/chrome/browser/gtk/tabs/tab_gtk.h +++ b/chrome/browser/gtk/tabs/tab_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_TABS_TAB_GTK_H_ #define CHROME_BROWSER_GTK_TABS_TAB_GTK_H_ +#pragma once #include "app/gtk_signal.h" #include "app/theme_provider.h" diff --git a/chrome/browser/gtk/tabs/tab_renderer_gtk.h b/chrome/browser/gtk/tabs/tab_renderer_gtk.h index 1ba697d..c733dd5 100644 --- a/chrome/browser/gtk/tabs/tab_renderer_gtk.h +++ b/chrome/browser/gtk/tabs/tab_renderer_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ #define CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ +#pragma once #include <gtk/gtk.h> #include <map> diff --git a/chrome/browser/gtk/tabs/tab_strip_gtk.h b/chrome/browser/gtk/tabs/tab_strip_gtk.h index 7fe8c60..c3b2502 100644 --- a/chrome/browser/gtk/tabs/tab_strip_gtk.h +++ b/chrome/browser/gtk/tabs/tab_strip_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ #define CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ +#pragma once #include <gtk/gtk.h> #include <vector> diff --git a/chrome/browser/gtk/tabstrip_origin_provider.h b/chrome/browser/gtk/tabstrip_origin_provider.h index 47baf91..0904a01 100644 --- a/chrome/browser/gtk/tabstrip_origin_provider.h +++ b/chrome/browser/gtk/tabstrip_origin_provider.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_TABSTRIP_ORIGIN_PROVIDER_H_ #define CHROME_BROWSER_GTK_TABSTRIP_ORIGIN_PROVIDER_H_ +#pragma once namespace gfx{ class Point; diff --git a/chrome/browser/gtk/task_manager_gtk.h b/chrome/browser/gtk/task_manager_gtk.h index c0ec0ef..51d706e4 100644 --- a/chrome/browser/gtk/task_manager_gtk.h +++ b/chrome/browser/gtk/task_manager_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_TASK_MANAGER_GTK_H_ #define CHROME_BROWSER_GTK_TASK_MANAGER_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/theme_install_bubble_view_gtk.h b/chrome/browser/gtk/theme_install_bubble_view_gtk.h index bffaae8..17770a2 100644 --- a/chrome/browser/gtk/theme_install_bubble_view_gtk.h +++ b/chrome/browser/gtk/theme_install_bubble_view_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_THEME_INSTALL_BUBBLE_VIEW_GTK_H_ #define CHROME_BROWSER_GTK_THEME_INSTALL_BUBBLE_VIEW_GTK_H_ +#pragma once #include <gtk/gtk.h> diff --git a/chrome/browser/gtk/translate/after_translate_infobar_gtk.h b/chrome/browser/gtk/translate/after_translate_infobar_gtk.h index 221b718..bd870be 100644 --- a/chrome/browser/gtk/translate/after_translate_infobar_gtk.h +++ b/chrome/browser/gtk/translate/after_translate_infobar_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_TRANSLATE_AFTER_TRANSLATE_INFOBAR_GTK_H_ #define CHROME_BROWSER_GTK_TRANSLATE_AFTER_TRANSLATE_INFOBAR_GTK_H_ +#pragma once #include "base/task.h" #include "chrome/browser/gtk/translate/translate_infobar_base_gtk.h" diff --git a/chrome/browser/gtk/translate/before_translate_infobar_gtk.h b/chrome/browser/gtk/translate/before_translate_infobar_gtk.h index 6c90308..1373247 100644 --- a/chrome/browser/gtk/translate/before_translate_infobar_gtk.h +++ b/chrome/browser/gtk/translate/before_translate_infobar_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_TRANSLATE_BEFORE_TRANSLATE_INFOBAR_GTK_H_ #define CHROME_BROWSER_GTK_TRANSLATE_BEFORE_TRANSLATE_INFOBAR_GTK_H_ +#pragma once #include "chrome/browser/gtk/translate/translate_infobar_base_gtk.h" diff --git a/chrome/browser/gtk/translate/translate_infobar_base_gtk.h b/chrome/browser/gtk/translate/translate_infobar_base_gtk.h index a1d7292..e7f20ee 100644 --- a/chrome/browser/gtk/translate/translate_infobar_base_gtk.h +++ b/chrome/browser/gtk/translate/translate_infobar_base_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_TRANSLATE_TRANSLATE_INFOBAR_BASE_GTK_H_ #define CHROME_BROWSER_GTK_TRANSLATE_TRANSLATE_INFOBAR_BASE_GTK_H_ +#pragma once #include "chrome/browser/translate/translate_infobar_view.h" #include "chrome/browser/gtk/infobar_gtk.h" diff --git a/chrome/browser/gtk/translate/translate_message_infobar_gtk.h b/chrome/browser/gtk/translate/translate_message_infobar_gtk.h index 1dd4665..74db7e3 100644 --- a/chrome/browser/gtk/translate/translate_message_infobar_gtk.h +++ b/chrome/browser/gtk/translate/translate_message_infobar_gtk.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_TRANSLATE_TRANSLATE_MESSAGE_INFOBAR_GTK_H_ #define CHROME_BROWSER_GTK_TRANSLATE_TRANSLATE_MESSAGE_INFOBAR_GTK_H_ +#pragma once #include "chrome/browser/gtk/translate/translate_infobar_base_gtk.h" diff --git a/chrome/browser/gtk/update_recommended_dialog.h b/chrome/browser/gtk/update_recommended_dialog.h index 94e32c8..1105584 100644 --- a/chrome/browser/gtk/update_recommended_dialog.h +++ b/chrome/browser/gtk/update_recommended_dialog.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_UPDATE_RECOMMENDED_DIALOG_H_ #define CHROME_BROWSER_GTK_UPDATE_RECOMMENDED_DIALOG_H_ +#pragma once #include "app/gtk_integers.h" #include "app/gtk_signal.h" diff --git a/chrome/browser/gtk/view_id_util.h b/chrome/browser/gtk/view_id_util.h index 2640d15..c4833ad 100644 --- a/chrome/browser/gtk/view_id_util.h +++ b/chrome/browser/gtk/view_id_util.h @@ -4,6 +4,7 @@ #ifndef CHROME_BROWSER_GTK_VIEW_ID_UTIL_H_ #define CHROME_BROWSER_GTK_VIEW_ID_UTIL_H_ +#pragma once #include "chrome/browser/view_ids.h" |