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

Side by Side Diff: chrome/browser/ui/views/confirm_message_box_dialog.cc

Issue 6204002: Carnitas: Remove chrome/browser/views, update references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Retrying upload after AppEngine error Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/views/confirm_message_box_dialog.h" 5 #include "chrome/browser/ui/views/confirm_message_box_dialog.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/message_box_flags.h" 8 #include "app/message_box_flags.h"
9 #include "grit/generated_resources.h" 9 #include "grit/generated_resources.h"
10 #include "grit/locale_settings.h" 10 #include "grit/locale_settings.h"
11 #include "views/standard_layout.h" 11 #include "views/standard_layout.h"
12 #include "views/widget/widget.h" 12 #include "views/widget/widget.h"
13 #include "views/window/window.h" 13 #include "views/window/window.h"
14 14
15 // static 15 // static
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void ConfirmMessageBoxDialog::Layout() { 95 void ConfirmMessageBoxDialog::Layout() {
96 gfx::Size sz = message_label_->GetPreferredSize(); 96 gfx::Size sz = message_label_->GetPreferredSize();
97 message_label_->SetBounds(kPanelHorizMargin, kPanelVertMargin, 97 message_label_->SetBounds(kPanelHorizMargin, kPanelVertMargin,
98 width() - 2 * kPanelHorizMargin, 98 width() - 2 * kPanelHorizMargin,
99 sz.height()); 99 sz.height());
100 } 100 }
101 101
102 gfx::Size ConfirmMessageBoxDialog::GetPreferredSize() { 102 gfx::Size ConfirmMessageBoxDialog::GetPreferredSize() {
103 return preferred_size_; 103 return preferred_size_;
104 } 104 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698