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

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

Issue 6257017: views: Move standard_layout.h into the layout directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win 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) 2011 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/ui/views/first_run_search_engine_view.h" 5 #include "chrome/browser/ui/views/first_run_search_engine_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 13 matching lines...) Expand all
24 #include "grit/google_chrome_strings.h" 24 #include "grit/google_chrome_strings.h"
25 #include "grit/generated_resources.h" 25 #include "grit/generated_resources.h"
26 #include "grit/locale_settings.h" 26 #include "grit/locale_settings.h"
27 #include "grit/theme_resources.h" 27 #include "grit/theme_resources.h"
28 #include "ui/base/l10n/l10n_util.h" 28 #include "ui/base/l10n/l10n_util.h"
29 #include "ui/base/resource/resource_bundle.h" 29 #include "ui/base/resource/resource_bundle.h"
30 #include "views/controls/button/button.h" 30 #include "views/controls/button/button.h"
31 #include "views/controls/image_view.h" 31 #include "views/controls/image_view.h"
32 #include "views/controls/label.h" 32 #include "views/controls/label.h"
33 #include "views/controls/separator.h" 33 #include "views/controls/separator.h"
34 #include "views/standard_layout.h" 34 #include "views/layout/layout_constants.h"
35 #include "views/view_text_utils.h" 35 #include "views/view_text_utils.h"
36 #include "views/widget/widget.h" 36 #include "views/widget/widget.h"
37 #include "views/window/window.h" 37 #include "views/window/window.h"
38 38
39 using base::Time; 39 using base::Time;
40 40
41 namespace { 41 namespace {
42 42
43 // Size to scale logos down to if showing 4 instead of 3 choices. Logo images 43 // Size to scale logos down to if showing 4 instead of 3 choices. Logo images
44 // are all originally sized at 180 x 120 pixels, with the logo text baseline 44 // are all originally sized at 180 x 120 pixels, with the logo text baseline
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 } // if (search_engine_choices.size() > 0) 425 } // if (search_engine_choices.size() > 0)
426 } 426 }
427 427
428 AccessibilityTypes::Role FirstRunSearchEngineView::GetAccessibleRole() { 428 AccessibilityTypes::Role FirstRunSearchEngineView::GetAccessibleRole() {
429 return AccessibilityTypes::ROLE_ALERT; 429 return AccessibilityTypes::ROLE_ALERT;
430 } 430 }
431 431
432 std::wstring FirstRunSearchEngineView::GetWindowTitle() const { 432 std::wstring FirstRunSearchEngineView::GetWindowTitle() const {
433 return UTF16ToWide(l10n_util::GetStringUTF16(IDS_FIRSTRUN_DLG_TITLE)); 433 return UTF16ToWide(l10n_util::GetStringUTF16(IDS_FIRSTRUN_DLG_TITLE));
434 } 434 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/first_run_bubble.cc ('k') | chrome/browser/ui/views/generic_info_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698