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 "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "chrome/browser/lifetime/browser_close_manager.h" | 10 #include "chrome/browser/lifetime/browser_close_manager.h" |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 | 372 |
373 // Returns object implementing ExclusiveAccessContext interface. | 373 // Returns object implementing ExclusiveAccessContext interface. |
374 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0; | 374 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0; |
375 | 375 |
376 // Shows the IME warning bubble. | 376 // Shows the IME warning bubble. |
377 virtual void ShowImeWarningBubble( | 377 virtual void ShowImeWarningBubble( |
378 const extensions::Extension* extension, | 378 const extensions::Extension* extension, |
379 const base::Callback<void(ImeWarningBubblePermissionStatus status)>& | 379 const base::Callback<void(ImeWarningBubblePermissionStatus status)>& |
380 callback) = 0; | 380 callback) = 0; |
381 | 381 |
| 382 virtual int GetRestoredWorkspace() const = 0; |
| 383 |
382 protected: | 384 protected: |
383 friend class BrowserCloseManager; | 385 friend class BrowserCloseManager; |
384 friend class BrowserView; | 386 friend class BrowserView; |
385 virtual void DestroyBrowser() = 0; | 387 virtual void DestroyBrowser() = 0; |
386 }; | 388 }; |
387 | 389 |
388 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 390 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
OLD | NEW |