diff options
Diffstat (limited to 'chrome/browser/ui/host_desktop.h')
-rw-r--r-- | chrome/browser/ui/host_desktop.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/chrome/browser/ui/host_desktop.h b/chrome/browser/ui/host_desktop.h index c22f04a..1349da5 100644 --- a/chrome/browser/ui/host_desktop.h +++ b/chrome/browser/ui/host_desktop.h @@ -31,28 +31,10 @@ enum HostDesktopType { HOST_DESKTOP_TYPE_COUNT }; -// Used during initialization to override parenting. -class ScopedForceDesktopType { - public: - explicit ScopedForceDesktopType(HostDesktopType type); - ~ScopedForceDesktopType(); - private: - HostDesktopType previous_type_; - bool previous_force_; - - DISALLOW_COPY_AND_ASSIGN(ScopedForceDesktopType); -}; - HostDesktopType GetHostDesktopTypeForNativeView(gfx::NativeView native_view); HostDesktopType GetHostDesktopTypeForNativeWindow( gfx::NativeWindow native_window); -// Returns the desktop type forced by an active ScopedForceDesktopType or -// |browser|'s desktop type. Most consumers shouldn't need to care about -// ScopedForceDesktopType and should use |browser|'s host_desktop_type() -// directly. -HostDesktopType GetHostDesktopTypeForBrowser(const Browser* browser); - // Returns the type of host desktop most likely to be in use. This is the one // most recently activated by the user. HostDesktopType GetActiveDesktop(); |