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

Unified Diff: trunk/src/ui/views/bubble/bubble_border.cc

Issue 14765016: Revert 198491 "Render opaque border with no shadow for web conte..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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 | « trunk/src/ui/views/bubble/bubble_border.h ('k') | trunk/src/ui/views/bubble/bubble_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/views/bubble/bubble_border.cc
===================================================================
--- trunk/src/ui/views/bubble/bubble_border.cc (revision 198505)
+++ trunk/src/ui/views/bubble/bubble_border.cc (working copy)
@@ -112,7 +112,6 @@
set = new BorderImages(kShadowImages, kShadowArrows, 0, 0, 3);
break;
case BubbleBorder::NO_SHADOW:
- case BubbleBorder::NO_SHADOW_OPAQUE_BORDER:
set = new BorderImages(kNoShadowImages, kNoShadowArrows, 6, 7, 4);
break;
case BubbleBorder::BIG_SHADOW:
@@ -333,9 +332,6 @@
}
void BubbleBackground::Paint(gfx::Canvas* canvas, views::View* view) const {
- if (border_->shadow() == BubbleBorder::NO_SHADOW_OPAQUE_BORDER)
- canvas->DrawColor(border_->background_color());
-
// Clip out the client bounds to prevent overlapping transparent widgets.
if (!border_->client_bounds().IsEmpty()) {
SkRect client_rect(gfx::RectToSkRect(border_->client_bounds()));
« no previous file with comments | « trunk/src/ui/views/bubble/bubble_border.h ('k') | trunk/src/ui/views/bubble/bubble_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698