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

Side by Side Diff: chrome/browser/views/jsmessage_box_dialog.cc

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/views/infobars/infobars.cc ('k') | chrome/browser/views/keyword_editor_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/jsmessage_box_dialog.h" 5 #include "chrome/browser/views/jsmessage_box_dialog.h"
6 6
7 #include "app/l10n_util.h"
7 #include "chrome/browser/app_modal_dialog.h" 8 #include "chrome/browser/app_modal_dialog.h"
8 #include "chrome/browser/tab_contents/tab_contents.h" 9 #include "chrome/browser/tab_contents/tab_contents.h"
9 #include "chrome/common/l10n_util.h"
10 #include "chrome/common/message_box_flags.h" 10 #include "chrome/common/message_box_flags.h"
11 #include "chrome/views/controls/message_box_view.h" 11 #include "chrome/views/controls/message_box_view.h"
12 #include "chrome/views/window/window.h" 12 #include "chrome/views/window/window.h"
13 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
14 14
15 JavascriptMessageBoxDialog::JavascriptMessageBoxDialog( 15 JavascriptMessageBoxDialog::JavascriptMessageBoxDialog(
16 AppModalDialog* parent, 16 AppModalDialog* parent,
17 const std::wstring& message_text, 17 const std::wstring& message_text,
18 const std::wstring& default_prompt_text, 18 const std::wstring& default_prompt_text,
19 bool display_suppress_checkbox) 19 bool display_suppress_checkbox)
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 views::View* JavascriptMessageBoxDialog::GetContentsView() { 115 views::View* JavascriptMessageBoxDialog::GetContentsView() {
116 return message_box_view_; 116 return message_box_view_;
117 } 117 }
118 118
119 views::View* JavascriptMessageBoxDialog::GetInitiallyFocusedView() { 119 views::View* JavascriptMessageBoxDialog::GetInitiallyFocusedView() {
120 if (message_box_view_->text_box()) 120 if (message_box_view_->text_box())
121 return message_box_view_->text_box(); 121 return message_box_view_->text_box();
122 return views::DialogDelegate::GetInitiallyFocusedView(); 122 return views::DialogDelegate::GetInitiallyFocusedView();
123 } 123 }
OLDNEW
« no previous file with comments | « chrome/browser/views/infobars/infobars.cc ('k') | chrome/browser/views/keyword_editor_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698