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

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

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 3 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) 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 "chrome/grit/chromium_strings.h"
17 #include "content/public/browser/web_ui.h" 18 #include "content/public/browser/web_ui.h"
18 #include "content/public/browser/web_ui_message_handler.h" 19 #include "content/public/browser/web_ui_message_handler.h"
19 #include "grit/browser_resources.h" 20 #include "grit/browser_resources.h"
20 #include "grit/chromium_strings.h"
21 #include "ui/base/l10n/l10n_util.h" 21 #include "ui/base/l10n/l10n_util.h"
22 22
23 // ProfileSigninConfirmationHandler -------------------------------------------- 23 // ProfileSigninConfirmationHandler --------------------------------------------
24 24
25 namespace { 25 namespace {
26 26
27 class ProfileSigninConfirmationHandler : public content::WebUIMessageHandler { 27 class ProfileSigninConfirmationHandler : public content::WebUIMessageHandler {
28 public: 28 public:
29 ProfileSigninConfirmationHandler( 29 ProfileSigninConfirmationHandler(
30 const ProfileSigninConfirmationDialog* dialog, 30 const ProfileSigninConfirmationDialog* dialog,
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 void ProfileSigninConfirmationDialog::OnCloseContents( 207 void ProfileSigninConfirmationDialog::OnCloseContents(
208 content::WebContents* source, 208 content::WebContents* source,
209 bool* out_close_dialog) { 209 bool* out_close_dialog) {
210 if (out_close_dialog) 210 if (out_close_dialog)
211 *out_close_dialog = true; 211 *out_close_dialog = true;
212 } 212 }
213 213
214 bool ProfileSigninConfirmationDialog::ShouldShowDialogTitle() const { 214 bool ProfileSigninConfirmationDialog::ShouldShowDialogTitle() const {
215 return true; 215 return true;
216 } 216 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/signin/inline_login_ui.cc ('k') | chrome/browser/ui/webui/signin/profile_signin_confirmation_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698