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

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

Issue 797413002: MacViews: Compile more Views source files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for sky and rebase Created 6 years 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
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/cocoa/web_dialog_window_controller.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) 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 "base/callback.h"
9 #include "chrome/browser/profiles/profile_window.h" 9 #include "chrome/browser/profiles/profile_window.h"
10 #include "content/public/common/signed_certificate_timestamp_id_and_status.h" 10 #include "content/public/common/signed_certificate_timestamp_id_and_status.h"
(...skipping 22 matching lines...) Expand all
33 } 33 }
34 34
35 namespace chrome { 35 namespace chrome {
36 36
37 // Creates and shows an HTML dialog with the given delegate and context. 37 // Creates and shows an HTML dialog with the given delegate and context.
38 // The window is automatically destroyed when it is closed. 38 // The window is automatically destroyed when it is closed.
39 // Returns the created window. 39 // Returns the created window.
40 // 40 //
41 // Make sure to use the returned window only when you know it is safe 41 // Make sure to use the returned window only when you know it is safe
42 // to do so, i.e. before OnDialogClosed() is called on the delegate. 42 // to do so, i.e. before OnDialogClosed() is called on the delegate.
43 gfx::NativeWindow ShowWebDialog(gfx::NativeWindow parent, 43 gfx::NativeWindow ShowWebDialog(gfx::NativeView parent,
44 content::BrowserContext* context, 44 content::BrowserContext* context,
45 ui::WebDialogDelegate* delegate); 45 ui::WebDialogDelegate* delegate);
46 46
47 // Shows the collected cookies dialog box. 47 // Shows the collected cookies dialog box.
48 void ShowCollectedCookiesDialog(content::WebContents* web_contents); 48 void ShowCollectedCookiesDialog(content::WebContents* web_contents);
49 49
50 // Creates the ExtensionInstalledBubble and schedules it to be shown once 50 // Creates the ExtensionInstalledBubble and schedules it to be shown once
51 // the extension has loaded. |extension| is the installed extension. |browser| 51 // the extension has loaded. |extension| is the installed extension. |browser|
52 // is the browser window which will host the bubble. |icon| is the install 52 // is the browser window which will host the bubble. |icon| is the install
53 // icon of the extension. 53 // icon of the extension.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 // Shows the ManagePasswords bubble for a particular |web_contents|. 99 // Shows the ManagePasswords bubble for a particular |web_contents|.
100 void ShowManagePasswordsBubble(content::WebContents* web_contents); 100 void ShowManagePasswordsBubble(content::WebContents* web_contents);
101 101
102 // Closes the bubble if it's shown for |web_contents|. 102 // Closes the bubble if it's shown for |web_contents|.
103 void CloseManagePasswordsBubble(content::WebContents* web_contents); 103 void CloseManagePasswordsBubble(content::WebContents* web_contents);
104 104
105 } // namespace chrome 105 } // namespace chrome
106 106
107 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 107 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/cocoa/web_dialog_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698