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

Unified Diff: ash/system/tray/tray_background_view.cc

Issue 12310022: More flexibility in BubbleBorder arrow rendering. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address msw style nits. Created 7 years, 10 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: ash/system/tray/tray_background_view.cc
diff --git a/ash/system/tray/tray_background_view.cc b/ash/system/tray/tray_background_view.cc
index f4c29071e48e15ca6d4d5d2ea2e0cf7c747e8aee..ebe77cd4bfc5822735a531492e4a6b16518c8ae1 100644
--- a/ash/system/tray/tray_background_view.cc
+++ b/ash/system/tray/tray_background_view.cc
@@ -388,7 +388,9 @@ void TrayBackgroundView::UpdateBubbleViewArrow(
bubble_view->GetWidget()->GetNativeView()->GetRootWindow();
ash::internal::ShelfLayoutManager* shelf =
ash::GetRootWindowController(root_window)->shelf();
- bubble_view->SetPaintArrow(shelf->IsVisible());
+ bubble_view->SetArrowPaintType(
+ shelf->IsVisible() ? views::BubbleBorder::PAINT_NORMAL :
+ views::BubbleBorder::PAINT_TRANSPARENT);
}
} // namespace internal
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | chrome/browser/ui/views/message_center/notification_bubble_wrapper_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698