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

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

Issue 375183002: Add app.window.alphaEnabled() and onAlphaEnabledChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Split out non-essential parts for another CL. Created 6 years, 5 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 bc3f91473dd19de5175b0b939a69341424b7a329..3157e5bc85b18b781bb3dd364c746d2c303ade22 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -732,6 +732,9 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// closes.
virtual void OnOwnerClosing();
+ // Whether the widget can have a transparent background.
+ bool CanHaveAlphaEnabled() const;
tapted 2014/07/16 03:01:01 nit: move up ap bit, to come after OnRootViewLayou
jackhou1 2014/07/16 05:54:04 Done.
+
// Overridden from NativeWidgetDelegate:
virtual bool IsModal() const OVERRIDE;
virtual bool IsDialogBox() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698