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

Unified Diff: chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.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: chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.h
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.h b/chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.h
index 765cf706e17026fe56bd8f591c4c6c4bb418285f..b457233388f4fd5d08f25638d8f914c586b036bd 100644
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.h
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.h
@@ -17,16 +17,6 @@ class OpaqueBrowserFrameViewPlatformSpecific {
static OpaqueBrowserFrameViewPlatformSpecific* Create(
OpaqueBrowserFrameView* view,
OpaqueBrowserFrameViewLayout* layout);
-
- // Whether we should show the (minimize,maximize,close) buttons. This can
- // depend on the current state of the window (e.g., whether it is maximized).
- // The default implementation always returns true.
- virtual bool ShouldShowCaptionButtons() const;
-
- // Whether we should show a title bar at all, for browser windows that do not
- // have a tab strip (e.g., developer tools, popups). The default
- // implementation always returns true.
- virtual bool ShouldShowTitleBar() const;
};
#endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_PLATFORM_SPECIFIC_H_

Powered by Google App Engine
This is Rietveld 408576698