OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.h" | 5 #include "chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.h" |
6 | 6 |
7 DesktopShellLauncherContextMenu::DesktopShellLauncherContextMenu( | 7 DesktopShellLauncherContextMenu::DesktopShellLauncherContextMenu( |
8 ChromeLauncherControllerImpl* controller, | 8 ChromeLauncherController* controller, |
9 const ash::ShelfItem* item, | 9 const ash::ShelfItem* item, |
10 ash::WmShelf* wm_shelf) | 10 ash::WmShelf* wm_shelf) |
11 : LauncherContextMenu(controller, item, wm_shelf) { | 11 : LauncherContextMenu(controller, item, wm_shelf) { |
12 Init(); | 12 Init(); |
13 } | 13 } |
14 | 14 |
15 DesktopShellLauncherContextMenu::~DesktopShellLauncherContextMenu() {} | 15 DesktopShellLauncherContextMenu::~DesktopShellLauncherContextMenu() {} |
16 | 16 |
17 void DesktopShellLauncherContextMenu::Init() { | 17 void DesktopShellLauncherContextMenu::Init() { |
18 AddShelfOptionsMenu(); | 18 AddShelfOptionsMenu(); |
19 } | 19 } |
OLD | NEW |