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

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

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
« ui/views/widget/widget.h ('K') | « ui/views/widget/widget.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.cc
diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
index fdcb32af915e97a73fead05becf0ac0c83dece35..9cf9a950d707ccb361f6ec462f41349c5497357f 100644
--- a/ui/views/widget/widget.cc
+++ b/ui/views/widget/widget.cc
@@ -984,6 +984,9 @@ void Widget::OnRootViewLayout() {
void Widget::OnOwnerClosing() {
}
+bool Widget::CanHaveAlphaEnabled() const {
tapted 2014/07/16 03:01:01 nit: move up
jackhou1 2014/07/16 05:54:04 Done.
+ return native_widget_->CanHaveAlphaEnabled();
+}
////////////////////////////////////////////////////////////////////////////////
// Widget, NativeWidgetDelegate implementation:
« ui/views/widget/widget.h ('K') | « ui/views/widget/widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698