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