| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 class Point; | 43 class Point; |
| 44 } | 44 } |
| 45 | 45 |
| 46 namespace net { | 46 namespace net { |
| 47 class AuthChallengeInfo; | 47 class AuthChallengeInfo; |
| 48 class URLRequest; | 48 class URLRequest; |
| 49 } | 49 } |
| 50 | 50 |
| 51 namespace payments { | 51 namespace payments { |
| 52 class PaymentRequest; | 52 class PaymentRequest; |
| 53 class PaymentRequestDialog; |
| 53 } | 54 } |
| 54 | 55 |
| 55 namespace security_state { | 56 namespace security_state { |
| 56 struct SecurityInfo; | 57 struct SecurityInfo; |
| 57 } // namespace security_state | 58 } // namespace security_state |
| 58 | 59 |
| 59 namespace task_manager { | 60 namespace task_manager { |
| 60 class TaskManagerTableModel; | 61 class TaskManagerTableModel; |
| 61 } | 62 } |
| 62 | 63 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 // Creates a toolkit-views based LoginHandler (e.g. HTTP-Auth dialog). | 144 // Creates a toolkit-views based LoginHandler (e.g. HTTP-Auth dialog). |
| 144 LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info, | 145 LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info, |
| 145 net::URLRequest* request); | 146 net::URLRequest* request); |
| 146 | 147 |
| 147 // Shows the toolkit-views based BookmarkEditor. | 148 // Shows the toolkit-views based BookmarkEditor. |
| 148 void ShowBookmarkEditorViews(gfx::NativeWindow parent_window, | 149 void ShowBookmarkEditorViews(gfx::NativeWindow parent_window, |
| 149 Profile* profile, | 150 Profile* profile, |
| 150 const BookmarkEditor::EditDetails& details, | 151 const BookmarkEditor::EditDetails& details, |
| 151 BookmarkEditor::Configuration configuration); | 152 BookmarkEditor::Configuration configuration); |
| 152 | 153 |
| 153 void ShowPaymentRequestDialog(payments::PaymentRequest* request); | 154 payments::PaymentRequestDialog* CreatePaymentRequestDialog( |
| 155 payments::PaymentRequest* request); |
| 154 | 156 |
| 155 #if defined(OS_MACOSX) | 157 #if defined(OS_MACOSX) |
| 156 | 158 |
| 157 // This is a class so that it can be friended from ContentSettingBubbleContents, | 159 // This is a class so that it can be friended from ContentSettingBubbleContents, |
| 158 // which allows it to call SetAnchorRect(). | 160 // which allows it to call SetAnchorRect(). |
| 159 class ContentSettingBubbleViewsBridge { | 161 class ContentSettingBubbleViewsBridge { |
| 160 public: | 162 public: |
| 161 static void Show(gfx::NativeView parent_view, | 163 static void Show(gfx::NativeView parent_view, |
| 162 ContentSettingBubbleModel* model, | 164 ContentSettingBubbleModel* model, |
| 163 content::WebContents* web_contents, | 165 content::WebContents* web_contents, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 187 using BubbleShowPtr = | 189 using BubbleShowPtr = |
| 188 void (*)(content::WebContents*, | 190 void (*)(content::WebContents*, |
| 189 const std::vector<arc::ArcNavigationThrottle::AppInfo>&, | 191 const std::vector<arc::ArcNavigationThrottle::AppInfo>&, |
| 190 const IntentPickerResponse&); | 192 const IntentPickerResponse&); |
| 191 | 193 |
| 192 BubbleShowPtr ShowIntentPickerBubble(); | 194 BubbleShowPtr ShowIntentPickerBubble(); |
| 193 | 195 |
| 194 #endif // OS_CHROMEOS | 196 #endif // OS_CHROMEOS |
| 195 | 197 |
| 196 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 198 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| OLD | NEW |