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/examples | |
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/examples')
-rw-r--r-- | views/examples/button_example.h | 1 | ||||
-rw-r--r-- | views/examples/combobox_example.h | 1 | ||||
-rw-r--r-- | views/examples/example_base.h | 1 | ||||
-rw-r--r-- | views/examples/examples_main.h | 1 | ||||
-rw-r--r-- | views/examples/menu_example.h | 1 | ||||
-rw-r--r-- | views/examples/message_box_example.h | 1 | ||||
-rw-r--r-- | views/examples/radio_button_example.h | 1 | ||||
-rw-r--r-- | views/examples/scroll_view_example.h | 1 | ||||
-rw-r--r-- | views/examples/single_split_view_example.h | 1 | ||||
-rw-r--r-- | views/examples/slider_example.h | 1 | ||||
-rw-r--r-- | views/examples/tabbed_pane_example.h | 1 | ||||
-rw-r--r-- | views/examples/table2_example.h | 1 | ||||
-rw-r--r-- | views/examples/table_example.h | 1 | ||||
-rw-r--r-- | views/examples/textfield_example.h | 1 | ||||
-rw-r--r-- | views/examples/widget_example.h | 1 |
15 files changed, 15 insertions, 0 deletions
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" |