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

Unified Diff: ui/aura/window.h

Issue 9169050: aura: No shadow for transparent window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comments in #2 Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/shadow_controller.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 9fc775ead32579668b6072b95a6099c48fdfc800..9d3a2fdf97b3785b581390810e6d8414ee5776ff 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -70,6 +70,9 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
const string16 title() const { return title_; }
void set_title(const string16& title) { title_ = title; }
+ bool transparent() const { return transparent_; }
+ void SetTransparent(bool transparent);
+
ui::Layer* layer() { return layer_.get(); }
const ui::Layer* layer() const { return layer_.get(); }
@@ -341,6 +344,9 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
string16 title_;
+ // Whether layer is initialized as non-opaque.
+ bool transparent_;
+
scoped_ptr<EventFilter> event_filter_;
scoped_ptr<LayoutManager> layout_manager_;
« no previous file with comments | « ash/wm/shadow_controller.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698