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

Unified Diff: ui/views/widget/widget.h

Issue 136093007: Widget::ShouldUseNativeFrame is now meaningful on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Big refactor; fix Windows opaque windows when Glass is enabled. Created 6 years, 10 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/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index bce2a8b966eeb14c08ce27bc83b555bcd6b6d347..dd0c48d7839f114df2e8e5ab07c206d9bca610be 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -591,6 +591,10 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// Whether we should be using a native frame.
bool ShouldUseNativeFrame() const;
+ // Determines whether the window contents should be rendered transparently
+ // (for example, so that they can overhang onto the window title bar).
+ bool ShouldWindowContentsBeTransparent() const;
sky 2014/02/10 15:04:08 This name isn't the greatest at the widget level,
+
// Forces the frame into the alternate frame type (custom or native) depending
// on its current state.
void DebugToggleFrameType();

Powered by Google App Engine
This is Rietveld 408576698