| 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 <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 gfx::NativeView parent, | 129 gfx::NativeView parent, |
| 130 bookmarks::BookmarkBubbleObserver* observer, | 130 bookmarks::BookmarkBubbleObserver* observer, |
| 131 Browser* browser, | 131 Browser* browser, |
| 132 const GURL& url, | 132 const GURL& url, |
| 133 bool newly_bookmarked); | 133 bool newly_bookmarked); |
| 134 | 134 |
| 135 // Bridging methods that show/hide the toolkit-views based Task Manager on Mac. | 135 // Bridging methods that show/hide the toolkit-views based Task Manager on Mac. |
| 136 task_manager::TaskManagerTableModel* ShowTaskManagerViews(Browser* browser); | 136 task_manager::TaskManagerTableModel* ShowTaskManagerViews(Browser* browser); |
| 137 void HideTaskManagerViews(); | 137 void HideTaskManagerViews(); |
| 138 | 138 |
| 139 // Show the Views "Chrome Update" dialog. |
| 140 void ShowUpdateChromeDialogViews(gfx::NativeWindow parent); |
| 141 |
| 139 #endif // OS_MACOSX | 142 #endif // OS_MACOSX |
| 140 | 143 |
| 141 #if defined(TOOLKIT_VIEWS) | 144 #if defined(TOOLKIT_VIEWS) |
| 142 | 145 |
| 143 // Creates a toolkit-views based LoginHandler (e.g. HTTP-Auth dialog). | 146 // Creates a toolkit-views based LoginHandler (e.g. HTTP-Auth dialog). |
| 144 LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info, | 147 LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info, |
| 145 net::URLRequest* request); | 148 net::URLRequest* request); |
| 146 | 149 |
| 147 // Shows the toolkit-views based BookmarkEditor. | 150 // Shows the toolkit-views based BookmarkEditor. |
| 148 void ShowBookmarkEditorViews(gfx::NativeWindow parent_window, | 151 void ShowBookmarkEditorViews(gfx::NativeWindow parent_window, |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 using BubbleShowPtr = | 190 using BubbleShowPtr = |
| 188 void (*)(content::WebContents*, | 191 void (*)(content::WebContents*, |
| 189 const std::vector<arc::ArcNavigationThrottle::AppInfo>&, | 192 const std::vector<arc::ArcNavigationThrottle::AppInfo>&, |
| 190 const IntentPickerResponse&); | 193 const IntentPickerResponse&); |
| 191 | 194 |
| 192 BubbleShowPtr ShowIntentPickerBubble(); | 195 BubbleShowPtr ShowIntentPickerBubble(); |
| 193 | 196 |
| 194 #endif // OS_CHROMEOS | 197 #endif // OS_CHROMEOS |
| 195 | 198 |
| 196 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 199 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| OLD | NEW |