summaryrefslogtreecommitdiffstats
path: root/views/window
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-26 23:08:24 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-26 23:08:24 +0000
commit32b76eff6f630b9bcc0fc3f3bad826f3d1217dda (patch)
treea5687726e4f145c715c73cbbff23e88ac2192eb9 /views/window
parent7cf4d5505378a983947d8c989841f1f378f19cde (diff)
downloadchromium_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/window')
-rw-r--r--views/window/client_view.h1
-rw-r--r--views/window/custom_frame_view.h1
-rw-r--r--views/window/dialog_client_view.h1
-rw-r--r--views/window/dialog_delegate.h1
-rw-r--r--views/window/hit_test.h1
-rw-r--r--views/window/native_frame_view.h1
-rw-r--r--views/window/non_client_view.h1
-rw-r--r--views/window/window.h1
-rw-r--r--views/window/window_delegate.h1
-rw-r--r--views/window/window_gtk.h1
-rw-r--r--views/window/window_resources.h1
-rw-r--r--views/window/window_shape.h1
-rw-r--r--views/window/window_win.h1
13 files changed, 13 insertions, 0 deletions
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"