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

Unified Diff: ash/common/system/chromeos/palette/palette_tray.cc

Issue 2147143002: [Chrome OS MD] Draw a 1px separator between 2 tray items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: new approach Created 4 years, 5 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/common/system/chromeos/palette/palette_tray.cc
diff --git a/ash/common/system/chromeos/palette/palette_tray.cc b/ash/common/system/chromeos/palette/palette_tray.cc
index c4cdadfd68a5b4a8955aa38dea9b1bbc37f02383..f8872e7fe2219ba26b1d6dd85498577ee38c5807 100644
--- a/ash/common/system/chromeos/palette/palette_tray.cc
+++ b/ash/common/system/chromeos/palette/palette_tray.cc
@@ -15,6 +15,7 @@
#include "ash/common/system/tray/tray_bubble_wrapper.h"
#include "ash/common/system/tray/tray_constants.h"
#include "ash/common/system/tray/tray_popup_header_button.h"
+#include "ash/common/system/view_observer.h"
#include "ash/common/wm_lookup.h"
#include "ash/common/wm_root_window_controller.h"
#include "ash/common/wm_shell.h"
@@ -106,8 +107,8 @@ views::View* CreateTitleView() {
} // namespace
-PaletteTray::PaletteTray(WmShelf* wm_shelf)
- : TrayBackgroundView(wm_shelf),
+PaletteTray::PaletteTray(WmShelf* wm_shelf, ViewObserver* view_observer)
+ : TrayBackgroundView(wm_shelf, view_observer),
palette_tool_manager_(new PaletteToolManager(this)) {
PaletteTool::RegisterToolInstances(palette_tool_manager_.get());

Powered by Google App Engine
This is Rietveld 408576698