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

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

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
11 #include "app/l10n_util.h" 11 #include "app/l10n_util.h"
12 #include "app/resource_bundle.h"
13 #include "base/i18n/rtl.h" 12 #include "base/i18n/rtl.h"
14 #include "base/rand_util.h" 13 #include "base/rand_util.h"
15 #include "base/time.h" 14 #include "base/time.h"
16 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
17 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
18 #include "chrome/browser/search_engines/search_engine_type.h" 17 #include "chrome/browser/search_engines/search_engine_type.h"
19 #include "chrome/browser/search_engines/template_url.h" 18 #include "chrome/browser/search_engines/template_url.h"
20 #include "chrome/browser/search_engines/template_url_model.h" 19 #include "chrome/browser/search_engines/template_url_model.h"
21 #include "chrome/browser/ui/options/options_window.h" 20 #include "chrome/browser/ui/options/options_window.h"
22 #include "gfx/canvas.h" 21 #include "gfx/canvas.h"
23 #include "gfx/font.h" 22 #include "gfx/font.h"
24 #include "grit/browser_resources.h" 23 #include "grit/browser_resources.h"
25 #include "grit/chromium_strings.h" 24 #include "grit/chromium_strings.h"
26 #include "grit/google_chrome_strings.h" 25 #include "grit/google_chrome_strings.h"
27 #include "grit/generated_resources.h" 26 #include "grit/generated_resources.h"
28 #include "grit/locale_settings.h" 27 #include "grit/locale_settings.h"
29 #include "grit/theme_resources.h" 28 #include "grit/theme_resources.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/standard_layout.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;
(...skipping 385 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/frame/app_panel_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698