| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "chrome/browser/lifetime/browser_close_manager.h" | 9 #include "chrome/browser/lifetime/browser_close_manager.h" |
| 10 #include "chrome/browser/signin/chrome_signin_helper.h" | 10 #include "chrome/browser/signin/chrome_signin_helper.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 class GURL; | 30 class GURL; |
| 31 class LocationBar; | 31 class LocationBar; |
| 32 class Profile; | 32 class Profile; |
| 33 class ProfileResetGlobalError; | 33 class ProfileResetGlobalError; |
| 34 class StatusBubble; | 34 class StatusBubble; |
| 35 class TemplateURL; | 35 class TemplateURL; |
| 36 class ToolbarActionsBar; | 36 class ToolbarActionsBar; |
| 37 | 37 |
| 38 struct WebApplicationInfo; | 38 struct WebApplicationInfo; |
| 39 | 39 |
| 40 namespace autofill { |
| 41 class SaveCardBubbleController; |
| 42 } |
| 43 |
| 40 namespace content { | 44 namespace content { |
| 41 class WebContents; | 45 class WebContents; |
| 42 struct NativeWebKeyboardEvent; | 46 struct NativeWebKeyboardEvent; |
| 43 } | 47 } |
| 44 | 48 |
| 45 namespace extensions { | 49 namespace extensions { |
| 46 class Command; | 50 class Command; |
| 47 class Extension; | 51 class Extension; |
| 48 } | 52 } |
| 49 | 53 |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 | 242 |
| 239 // Shows the Bookmark App bubble. | 243 // Shows the Bookmark App bubble. |
| 240 // See Extension::InitFromValueFlags::FROM_BOOKMARK for a description of | 244 // See Extension::InitFromValueFlags::FROM_BOOKMARK for a description of |
| 241 // bookmark apps. | 245 // bookmark apps. |
| 242 // | 246 // |
| 243 // |web_app_info| is the WebApplicationInfo being converted into an app. | 247 // |web_app_info| is the WebApplicationInfo being converted into an app. |
| 244 virtual void ShowBookmarkAppBubble( | 248 virtual void ShowBookmarkAppBubble( |
| 245 const WebApplicationInfo& web_app_info, | 249 const WebApplicationInfo& web_app_info, |
| 246 const ShowBookmarkAppBubbleCallback& callback) = 0; | 250 const ShowBookmarkAppBubbleCallback& callback) = 0; |
| 247 | 251 |
| 252 // Shows the "Save credit card" bubble. |
| 253 virtual void ShowSaveCreditCardBubble( |
| 254 content::WebContents* contents, |
| 255 autofill::SaveCardBubbleController* controller) = 0; |
| 256 |
| 248 // Shows the translate bubble. | 257 // Shows the translate bubble. |
| 249 // | 258 // |
| 250 // |is_user_gesture| is true when the bubble is shown on the user's deliberate | 259 // |is_user_gesture| is true when the bubble is shown on the user's deliberate |
| 251 // action. | 260 // action. |
| 252 virtual void ShowTranslateBubble( | 261 virtual void ShowTranslateBubble( |
| 253 content::WebContents* contents, | 262 content::WebContents* contents, |
| 254 translate::TranslateStep step, | 263 translate::TranslateStep step, |
| 255 translate::TranslateErrors::Type error_type, | 264 translate::TranslateErrors::Type error_type, |
| 256 bool is_user_gesture) = 0; | 265 bool is_user_gesture) = 0; |
| 257 | 266 |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 // Returns object implementing ExclusiveAccessContext interface. | 400 // Returns object implementing ExclusiveAccessContext interface. |
| 392 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0; | 401 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0; |
| 393 | 402 |
| 394 protected: | 403 protected: |
| 395 friend class BrowserCloseManager; | 404 friend class BrowserCloseManager; |
| 396 friend class BrowserView; | 405 friend class BrowserView; |
| 397 virtual void DestroyBrowser() = 0; | 406 virtual void DestroyBrowser() = 0; |
| 398 }; | 407 }; |
| 399 | 408 |
| 400 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 409 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |