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

Side by Side Diff: chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc

Issue 468233004: Cleanup: Another round of removing unneeded grit #includes in chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac, undo ui_localizer.mm Created 6 years, 4 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
« no previous file with comments | « chrome/browser/ui/webui/profiler_ui.cc ('k') | chrome/browser/web_applications/web_app_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/webui/signin/profile_signin_confirmation_dialog.h" 5 #include "chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/json/json_writer.h" 8 #include "base/json/json_writer.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/profiles/profile_manager.h" 11 #include "chrome/browser/profiles/profile_manager.h"
12 #include "chrome/browser/ui/browser.h" 12 #include "chrome/browser/ui/browser.h"
13 #include "chrome/browser/ui/browser_dialogs.h" 13 #include "chrome/browser/ui/browser_dialogs.h"
14 #include "chrome/browser/ui/browser_window.h" 14 #include "chrome/browser/ui/browser_window.h"
15 #include "chrome/browser/ui/webui/constrained_web_dialog_ui.h" 15 #include "chrome/browser/ui/webui/constrained_web_dialog_ui.h"
16 #include "chrome/common/url_constants.h" 16 #include "chrome/common/url_constants.h"
17 #include "content/public/browser/web_ui.h" 17 #include "content/public/browser/web_ui.h"
18 #include "content/public/browser/web_ui_message_handler.h" 18 #include "content/public/browser/web_ui_message_handler.h"
19 #include "grit/browser_resources.h" 19 #include "grit/browser_resources.h"
20 #include "grit/chromium_strings.h" 20 #include "grit/chromium_strings.h"
21 #include "grit/generated_resources.h"
22 #include "ui/base/l10n/l10n_util.h" 21 #include "ui/base/l10n/l10n_util.h"
23 22
24 // ProfileSigninConfirmationHandler -------------------------------------------- 23 // ProfileSigninConfirmationHandler --------------------------------------------
25 24
26 namespace { 25 namespace {
27 26
28 class ProfileSigninConfirmationHandler : public content::WebUIMessageHandler { 27 class ProfileSigninConfirmationHandler : public content::WebUIMessageHandler {
29 public: 28 public:
30 ProfileSigninConfirmationHandler( 29 ProfileSigninConfirmationHandler(
31 const ProfileSigninConfirmationDialog* dialog, 30 const ProfileSigninConfirmationDialog* dialog,
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 void ProfileSigninConfirmationDialog::OnCloseContents( 207 void ProfileSigninConfirmationDialog::OnCloseContents(
209 content::WebContents* source, 208 content::WebContents* source,
210 bool* out_close_dialog) { 209 bool* out_close_dialog) {
211 if (out_close_dialog) 210 if (out_close_dialog)
212 *out_close_dialog = true; 211 *out_close_dialog = true;
213 } 212 }
214 213
215 bool ProfileSigninConfirmationDialog::ShouldShowDialogTitle() const { 214 bool ProfileSigninConfirmationDialog::ShouldShowDialogTitle() const {
216 return true; 215 return true;
217 } 216 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/profiler_ui.cc ('k') | chrome/browser/web_applications/web_app_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698