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