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

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

Issue 113143: Move color_utils, text_elider, drag_utils, accessibility_types, standard_layo... (Closed) Base URL: svn://svn.chromium.org/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
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/first_run_view.h" 5 #include "chrome/browser/views/first_run_view.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "chrome/browser/importer/importer.h" 9 #include "chrome/browser/importer/importer.h"
10 #include "chrome/browser/first_run.h" 10 #include "chrome/browser/first_run.h"
11 #include "chrome/browser/metrics/user_metrics.h" 11 #include "chrome/browser/metrics/user_metrics.h"
12 #include "chrome/browser/views/first_run_customize_view.h" 12 #include "chrome/browser/views/first_run_customize_view.h"
13 #include "chrome/browser/views/standard_layout.h"
14 #include "grit/chromium_strings.h" 13 #include "grit/chromium_strings.h"
15 #include "grit/generated_resources.h" 14 #include "grit/generated_resources.h"
16 #include "grit/locale_settings.h" 15 #include "grit/locale_settings.h"
17 #include "grit/theme_resources.h" 16 #include "grit/theme_resources.h"
18 #include "views/controls/button/checkbox.h" 17 #include "views/controls/button/checkbox.h"
19 #include "views/controls/image_view.h" 18 #include "views/controls/image_view.h"
20 #include "views/controls/label.h" 19 #include "views/controls/label.h"
21 #include "views/controls/throbber.h" 20 #include "views/controls/throbber.h"
22 #include "views/controls/separator.h" 21 #include "views/controls/separator.h"
22 #include "views/standard_layout.h"
23 #include "views/window/window.h" 23 #include "views/window/window.h"
24 24
25 namespace { 25 namespace {
26 26
27 // Adds a bullet glyph to a string. 27 // Adds a bullet glyph to a string.
28 std::wstring AddBullet(const std::wstring& text) { 28 std::wstring AddBullet(const std::wstring& text) {
29 std::wstring btext(L" " + text); 29 std::wstring btext(L" " + text);
30 return btext.insert(0, 1, L'\u2022'); 30 return btext.insert(0, 1, L'\u2022');
31 } 31 }
32 32
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 // Notification from the customize dialog that the user accepted. Since all 197 // Notification from the customize dialog that the user accepted. Since all
198 // the work is done there we got nothing else to do. 198 // the work is done there we got nothing else to do.
199 void FirstRunView::CustomizeAccepted() { 199 void FirstRunView::CustomizeAccepted() {
200 window()->Close(); 200 window()->Close();
201 } 201 }
202 202
203 // Notification from the customize dialog that the user cancelled. 203 // Notification from the customize dialog that the user cancelled.
204 void FirstRunView::CustomizeCanceled() { 204 void FirstRunView::CustomizeCanceled() {
205 UserMetrics::RecordAction(L"FirstRunCustom_Cancel", profile_); 205 UserMetrics::RecordAction(L"FirstRunCustom_Cancel", profile_);
206 } 206 }
OLDNEW
« no previous file with comments | « chrome/browser/views/first_run_customize_view.cc ('k') | chrome/browser/views/first_run_view_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698