OLD | NEW |
---|---|
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/ui/bookmarks/bookmark_editor.h" | |
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; |
13 class GURL; | 14 class GURL; |
14 class LoginHandler; | 15 class LoginHandler; |
15 class Profile; | 16 class Profile; |
16 class SkBitmap; | 17 class SkBitmap; |
17 | 18 |
18 namespace content { | 19 namespace content { |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
95 const content::SSLStatus& ssl); | 96 const content::SSLStatus& ssl); |
96 | 97 |
97 #endif // OS_MACOSX | 98 #endif // OS_MACOSX |
98 | 99 |
99 #if defined(TOOLKIT_VIEWS) | 100 #if defined(TOOLKIT_VIEWS) |
100 | 101 |
101 // Creates a toolkit-views based LoginHandler (e.g. HTTP-Auth dialog). | 102 // Creates a toolkit-views based LoginHandler (e.g. HTTP-Auth dialog). |
102 LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info, | 103 LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info, |
103 net::URLRequest* request); | 104 net::URLRequest* request); |
104 | 105 |
106 // Shows the toolkit-views based BookmarkEditor. | |
107 void ShowBookmarkEditorView(gfx::NativeWindow parent_window, | |
tapted
2015/08/21 01:22:49
nit: View -> Views
jackhou1
2015/08/21 02:27:32
Done.
| |
108 Profile* profile, | |
109 const BookmarkEditor::EditDetails& details, | |
110 BookmarkEditor::Configuration configuration); | |
111 | |
105 #endif // TOOLKIT_VIEWS | 112 #endif // TOOLKIT_VIEWS |
106 | 113 |
107 } // namespace chrome | 114 } // namespace chrome |
108 | 115 |
109 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 116 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
OLD | NEW |