| 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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 | 378 |
| 379 // Shows the IME warning bubble. | 379 // Shows the IME warning bubble. |
| 380 virtual void ShowImeWarningBubble( | 380 virtual void ShowImeWarningBubble( |
| 381 const extensions::Extension* extension, | 381 const extensions::Extension* extension, |
| 382 const base::Callback<void(ImeWarningBubblePermissionStatus status)>& | 382 const base::Callback<void(ImeWarningBubblePermissionStatus status)>& |
| 383 callback) = 0; | 383 callback) = 0; |
| 384 | 384 |
| 385 // Returns the platform-specific ID of the workspace the browser window | 385 // Returns the platform-specific ID of the workspace the browser window |
| 386 // currently resides in. | 386 // currently resides in. |
| 387 virtual std::string GetWorkspace() const = 0; | 387 virtual std::string GetWorkspace() const = 0; |
| 388 virtual bool IsVisibleOnAllWorkspaces() const = 0; |
| 388 | 389 |
| 389 protected: | 390 protected: |
| 390 friend class BrowserCloseManager; | 391 friend class BrowserCloseManager; |
| 391 friend class BrowserView; | 392 friend class BrowserView; |
| 392 virtual void DestroyBrowser() = 0; | 393 virtual void DestroyBrowser() = 0; |
| 393 }; | 394 }; |
| 394 | 395 |
| 395 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 396 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |