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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 UI_VIEWS_VIEWS_DELEGATE_H_ 5 #ifndef UI_VIEWS_VIEWS_DELEGATE_H_
6 #define UI_VIEWS_VIEWS_DELEGATE_H_ 6 #define UI_VIEWS_VIEWS_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 content::BrowserContext* browser_context, 112 content::BrowserContext* browser_context,
113 content::SiteInstance* site_instance) = 0; 113 content::SiteInstance* site_instance) = 0;
114 114
115 // Gives the platform a chance to modify the properties of a Widget. 115 // Gives the platform a chance to modify the properties of a Widget.
116 virtual void OnBeforeWidgetInit(Widget::InitParams* params, 116 virtual void OnBeforeWidgetInit(Widget::InitParams* params,
117 internal::NativeWidgetDelegate* delegate) = 0; 117 internal::NativeWidgetDelegate* delegate) = 0;
118 118
119 // Returns the default obscured text reveal duration. 119 // Returns the default obscured text reveal duration.
120 virtual base::TimeDelta GetDefaultTextfieldObscuredRevealDuration() = 0; 120 virtual base::TimeDelta GetDefaultTextfieldObscuredRevealDuration() = 0;
121 121
122 // Returns true if the operating system's window manager will always provide a
123 // title bar with caption buttons (ignoring the setting to
124 // |remove_standard_frame| in InitParams). If |maximized|, this applies to
125 // maximized windows; otherwise to restored windows.
126 virtual bool WindowManagerProvidesTitleBar(bool maximized);
127
122 private: 128 private:
123 scoped_ptr<ViewsTouchSelectionControllerFactory> views_tsc_factory_; 129 scoped_ptr<ViewsTouchSelectionControllerFactory> views_tsc_factory_;
124 }; 130 };
125 131
126 } // namespace views 132 } // namespace views
127 133
128 #endif // UI_VIEWS_VIEWS_DELEGATE_H_ 134 #endif // UI_VIEWS_VIEWS_DELEGATE_H_
OLDNEW
« 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