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

Unified Diff: ui/views/bubble/bubble_delegate.cc

Issue 16909006: Turn off the tip for the sytem tray menu and the app list (ChromeOS). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Created 7 years, 6 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
« ash/system/tray/system_tray.cc ('K') | « ui/views/bubble/bubble_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_delegate.cc
diff --git a/ui/views/bubble/bubble_delegate.cc b/ui/views/bubble/bubble_delegate.cc
index a713e43be8df947344c16b3dfe0fa02601945ef9..e42329c3250efd5d8cd0d8b320da3f569049043c 100644
--- a/ui/views/bubble/bubble_delegate.cc
+++ b/ui/views/bubble/bubble_delegate.cc
@@ -277,6 +277,12 @@ void BubbleDelegateView::SetAlignment(BubbleBorder::BubbleAlignment alignment) {
SizeToContents();
}
+void BubbleDelegateView::SetArrowPaintType(
+ BubbleBorder::ArrowPaintType paint_type) {
+ GetBubbleFrameView()->bubble_border()->set_paint_arrow(paint_type);
+ SizeToContents();
+}
+
bool BubbleDelegateView::AcceleratorPressed(
const ui::Accelerator& accelerator) {
if (!close_on_esc() || accelerator.key_code() != ui::VKEY_ESCAPE)
« ash/system/tray/system_tray.cc ('K') | « ui/views/bubble/bubble_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698