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

Unified Diff: ash/wm/app_list_controller.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
Index: ash/wm/app_list_controller.cc
diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc
index d9bf234e3052bb4b2ef2c118baf2c07c01834183..a13ba65dc07c6322ebba83967b93cb98ccc7d7cc 100644
--- a/ash/wm/app_list_controller.cc
+++ b/ash/wm/app_list_controller.cc
@@ -4,6 +4,7 @@
#include "ash/wm/app_list_controller.h"
+#include "ash/ash_switches.h"
#include "ash/launcher/launcher.h"
#include "ash/root_window_controller.h"
#include "ash/shelf/shelf_layout_manager.h"
@@ -127,6 +128,8 @@ void AppListController::SetVisible(bool visible, aura::Window* window) {
gfx::Point(),
GetBubbleArrow(container),
true /* border_accepts_events */);
+ if (ash::switches::UseAlternateShelfLayout())
+ view->SetArrowPaintType(views::BubbleBorder::PAINT_NONE);
SetView(view);
}
}

Powered by Google App Engine
This is Rietveld 408576698