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

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: Address comments 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..c6df47bb43e8d7a07ce438ce79f2a2bb1569ad7f 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -726,6 +726,9 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// window sizing information to the window server on some platforms.
void OnRootViewLayout();
+ // Whether the widget can have a transparent background.
+ bool CanHaveAlphaEnabled() const;
sky 2014/07/16 15:14:54 This name is confusing. No where in widget do we h
jackhou1 2014/07/17 03:07:23 Done.
+
// Notification that our owner is closing.
// NOTE: this is not invoked for aura as it's currently not needed there.
// Under aura menus close by way of activation getting reset when the owner

Powered by Google App Engine
This is Rietveld 408576698