summaryrefslogtreecommitdiffstats
path: root/views/window/custom_frame_view.cc
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-14 19:13:13 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-14 19:13:13 +0000
commitf71e72699d8535e85fc47c6c2b63f84f796bef71 (patch)
treeb01d1d452ee5a460326a2cbfa642d876830d2120 /views/window/custom_frame_view.cc
parent957b7b518251ba16abca74ff04e370564a826a74 (diff)
downloadchromium_src-f71e72699d8535e85fc47c6c2b63f84f796bef71.zip
chromium_src-f71e72699d8535e85fc47c6c2b63f84f796bef71.tar.gz
chromium_src-f71e72699d8535e85fc47c6c2b63f84f796bef71.tar.bz2
Remove even more ATL dependencies.
Review URL: http://codereview.chromium.org/115309 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16088 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/custom_frame_view.cc')
-rw-r--r--views/window/custom_frame_view.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/views/window/custom_frame_view.cc b/views/window/custom_frame_view.cc
index 66e2ccd..19ce2fb 100644
--- a/views/window/custom_frame_view.cc
+++ b/views/window/custom_frame_view.cc
@@ -74,11 +74,12 @@ const int kCaptionTopSpacing = 1;
CustomFrameView::CustomFrameView(Window* frame)
: NonClientFrameView(),
- close_button_(new ImageButton(this)),
- restore_button_(new ImageButton(this)),
- maximize_button_(new ImageButton(this)),
- minimize_button_(new ImageButton(this)),
- system_menu_button_(new ImageButton(this)),
+ ALLOW_THIS_IN_INITIALIZER_LIST(close_button_(new ImageButton(this))),
+ ALLOW_THIS_IN_INITIALIZER_LIST(restore_button_(new ImageButton(this))),
+ ALLOW_THIS_IN_INITIALIZER_LIST(maximize_button_(new ImageButton(this))),
+ ALLOW_THIS_IN_INITIALIZER_LIST(minimize_button_(new ImageButton(this))),
+ ALLOW_THIS_IN_INITIALIZER_LIST(
+ system_menu_button_(new ImageButton(this))),
should_show_minmax_buttons_(false),
frame_(frame) {
InitClass();