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

Side by Side Diff: chrome/browser/ui/views/sync/one_click_signin_dialog_view.cc

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase Created 3 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/sync/one_click_signin_dialog_view.h" 5 #include "chrome/browser/ui/views/sync/one_click_signin_dialog_view.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/callback_helpers.h" 9 #include "base/callback_helpers.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "chrome/browser/ui/browser.h" 11 #include "chrome/browser/ui/browser.h"
12 #include "chrome/browser/ui/browser_dialogs.h" 12 #include "chrome/browser/ui/browser_dialogs.h"
13 #include "chrome/common/url_constants.h" 13 #include "chrome/common/url_constants.h"
14 #include "chrome/grit/chromium_strings.h" 14 #include "chrome/grit/chromium_strings.h"
15 #include "chrome/grit/generated_resources.h" 15 #include "chrome/grit/generated_resources.h"
16 #include "components/constrained_window/constrained_window_views.h" 16 #include "components/constrained_window/constrained_window_views.h"
17 #include "components/google/core/browser/google_util.h" 17 #include "components/google/core/browser/google_util.h"
18 #include "components/strings/grit/components_strings.h" 18 #include "components/strings/grit/components_strings.h"
19 #include "ui/base/l10n/l10n_util.h" 19 #include "ui/base/l10n/l10n_util.h"
20 #include "ui/base/resource/resource_bundle.h" 20 #include "ui/base/resource/resource_bundle.h"
21 #include "ui/events/keycodes/keyboard_codes.h" 21 #include "ui/events/keycodes/keyboard_codes.h"
22 #include "ui/resources/grit/ui_resources.h"
23 #include "ui/views/controls/button/image_button.h" 22 #include "ui/views/controls/button/image_button.h"
24 #include "ui/views/controls/button/label_button.h" 23 #include "ui/views/controls/button/label_button.h"
25 #include "ui/views/controls/image_view.h" 24 #include "ui/views/controls/image_view.h"
26 #include "ui/views/controls/label.h" 25 #include "ui/views/controls/label.h"
27 #include "ui/views/controls/link.h" 26 #include "ui/views/controls/link.h"
28 #include "ui/views/layout/grid_layout.h" 27 #include "ui/views/layout/grid_layout.h"
29 #include "ui/views/widget/widget.h" 28 #include "ui/views/widget/widget.h"
30 29
31 namespace { 30 namespace {
32 31
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 .Run(OneClickSigninSyncStarter::CONFIGURE_SYNC_FIRST); 151 .Run(OneClickSigninSyncStarter::CONFIGURE_SYNC_FIRST);
153 GetWidget()->Close(); 152 GetWidget()->Close();
154 } 153 }
155 } 154 }
156 155
157 bool OneClickSigninDialogView::Accept() { 156 bool OneClickSigninDialogView::Accept() {
158 base::ResetAndReturn(&start_sync_callback_) 157 base::ResetAndReturn(&start_sync_callback_)
159 .Run(OneClickSigninSyncStarter::SYNC_WITH_DEFAULT_SETTINGS); 158 .Run(OneClickSigninSyncStarter::SYNC_WITH_DEFAULT_SETTINGS);
160 return true; 159 return true;
161 } 160 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/payments/payment_sheet_view_controller.cc ('k') | chrome/browser/ui/views/tab_icon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698