Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: views/window/custom_frame_view.cc

Issue 115309: Remove even more ATL dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/widget/widget_win.h ('k') | views/window/window_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/custom_frame_view.cc
===================================================================
--- views/window/custom_frame_view.cc (revision 16052)
+++ views/window/custom_frame_view.cc (working copy)
@@ -74,11 +74,12 @@
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();
« no previous file with comments | « views/widget/widget_win.h ('k') | views/window/window_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698