Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(940)

Unified Diff: ui/views/views_delegate.h

Issue 98793009: Linux Aura: Hide title bar when CustomFrameView maximized on Unity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Note: kUseSystemTitleBar check moved to OpaqueBrowserFrameView. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/views_delegate.h
diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h
index 9ae48eecd3f2913786b456b1a916c39d3b273542..a3d63bd3f99b8523426f76f8ca2760b67fbaf70d 100644
--- a/ui/views/views_delegate.h
+++ b/ui/views/views_delegate.h
@@ -119,6 +119,12 @@ class VIEWS_EXPORT ViewsDelegate {
// Returns the default obscured text reveal duration.
virtual base::TimeDelta GetDefaultTextfieldObscuredRevealDuration() = 0;
+ // Returns true if the operating system's window manager will always provide a
+ // title bar with caption buttons (ignoring the setting to
+ // |remove_standard_frame| in InitParams). If |maximized|, this applies to
+ // maximized windows; otherwise to restored windows.
+ virtual bool WindowManagerProvidesTitleBar(bool maximized);
+
private:
scoped_ptr<ViewsTouchSelectionControllerFactory> views_tsc_factory_;
};
« no previous file with comments | « chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.cc ('k') | ui/views/views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698