OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/first_run_search_engine_view.h" | 5 #include "chrome/browser/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" | 12 #include "app/resource_bundle.h" |
13 #include "base/i18n/rtl.h" | 13 #include "base/i18n/rtl.h" |
14 #include "base/rand_util.h" | 14 #include "base/rand_util.h" |
15 #include "base/time.h" | 15 #include "base/time.h" |
16 #include "chrome/browser/options_window.h" | |
17 #include "chrome/browser/profile.h" | 16 #include "chrome/browser/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" |
| 20 #include "chrome/browser/ui/options/options_window.h" |
21 #include "gfx/canvas.h" | 21 #include "gfx/canvas.h" |
22 #include "gfx/font.h" | 22 #include "gfx/font.h" |
23 #include "grit/browser_resources.h" | 23 #include "grit/browser_resources.h" |
24 #include "grit/chromium_strings.h" | 24 #include "grit/chromium_strings.h" |
25 #include "grit/google_chrome_strings.h" | 25 #include "grit/google_chrome_strings.h" |
26 #include "grit/generated_resources.h" | 26 #include "grit/generated_resources.h" |
27 #include "grit/locale_settings.h" | 27 #include "grit/locale_settings.h" |
28 #include "grit/theme_resources.h" | 28 #include "grit/theme_resources.h" |
29 #include "views/controls/button/button.h" | 29 #include "views/controls/button/button.h" |
30 #include "views/controls/image_view.h" | 30 #include "views/controls/image_view.h" |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 } // if (search_engine_choices.size() > 0) | 421 } // if (search_engine_choices.size() > 0) |
422 } | 422 } |
423 | 423 |
424 AccessibilityTypes::Role FirstRunSearchEngineView::GetAccessibleRole() { | 424 AccessibilityTypes::Role FirstRunSearchEngineView::GetAccessibleRole() { |
425 return AccessibilityTypes::ROLE_ALERT; | 425 return AccessibilityTypes::ROLE_ALERT; |
426 } | 426 } |
427 | 427 |
428 std::wstring FirstRunSearchEngineView::GetWindowTitle() const { | 428 std::wstring FirstRunSearchEngineView::GetWindowTitle() const { |
429 return l10n_util::GetString(IDS_FIRSTRUN_DLG_TITLE); | 429 return l10n_util::GetString(IDS_FIRSTRUN_DLG_TITLE); |
430 } | 430 } |
OLD | NEW |