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

Side by Side Diff: chrome/browser/ui/browser_dialogs.h

Issue 14846020: Add Views implementation of ProfileSigninConfirmationDialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more nits Created 7 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 #ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
7 7
8 #include "base/callback.h"
8 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. 9 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED.
9 #include "third_party/skia/include/core/SkColor.h" 10 #include "third_party/skia/include/core/SkColor.h"
10 #include "ui/gfx/native_widget_types.h" 11 #include "ui/gfx/native_widget_types.h"
11 12
12 class Browser; 13 class Browser;
14 class Profile;
13 class SkBitmap; 15 class SkBitmap;
14 class TabModalConfirmDialogDelegate; 16 class TabModalConfirmDialogDelegate;
15 17
16 namespace content { 18 namespace content {
17 class BrowserContext; 19 class BrowserContext;
18 class ColorChooser; 20 class ColorChooser;
19 class WebContents; 21 class WebContents;
20 } 22 }
21 23
22 namespace extensions { 24 namespace extensions {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 #if !defined(OS_MACOSX) 74 #if !defined(OS_MACOSX)
73 // Shows the create web app shortcut dialog box. 75 // Shows the create web app shortcut dialog box.
74 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, 76 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window,
75 content::WebContents* web_contents); 77 content::WebContents* web_contents);
76 #endif 78 #endif
77 79
78 // Shows a color chooser that reports to the given WebContents. 80 // Shows a color chooser that reports to the given WebContents.
79 content::ColorChooser* ShowColorChooser(content::WebContents* web_contents, 81 content::ColorChooser* ShowColorChooser(content::WebContents* web_contents,
80 SkColor initial_color); 82 SkColor initial_color);
81 83
84 void ShowProfileSigninConfirmationDialog(
85 Browser* browser,
86 content::WebContents* web_contents,
87 Profile* profile,
88 const std::string& username,
89 const base::Closure& cancel_signin,
90 const base::Closure& signin_with_new_profile,
91 const base::Closure& continue_signin);
92
82 } // namespace chrome 93 } // namespace chrome
83 94
84 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 95 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
OLDNEW
« no previous file with comments | « chrome/app/google_chrome_strings.grd ('k') | chrome/browser/ui/sync/one_click_signin_sync_starter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698