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

Unified Diff: views/bubble/border_contents_view.cc

Issue 8565034: Add a drop shadow to the fullscreen exit bubble on windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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 | « ui/resources/ui_resources_standard.grd ('k') | views/bubble/bubble_border.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/bubble/border_contents_view.cc
diff --git a/views/bubble/border_contents_view.cc b/views/bubble/border_contents_view.cc
index f846b3ac9463b5c0c9f38dde8d1a42eebef123e9..67c893ae1d8f6a751277079240941e58e5f03b54 100644
--- a/views/bubble/border_contents_view.cc
+++ b/views/bubble/border_contents_view.cc
@@ -78,7 +78,10 @@ void BorderContentsView::Init() {
arrow_location = BubbleBorder::horizontal_mirror(arrow_location);
DCHECK(!bubble_border_);
- bubble_border_ = new BubbleBorder(arrow_location);
+ // TODO(alicet): Expose the shadow option in BorderContentsView when we make
+ // the fullscreen exit bubble use the new bubble code.
+ bubble_border_ = new BubbleBorder(arrow_location,
+ views::BubbleBorder::NO_SHADOW);
set_border(bubble_border_);
set_background(new BubbleBackground(bubble_border_));
}
« no previous file with comments | « ui/resources/ui_resources_standard.grd ('k') | views/bubble/bubble_border.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698