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

Side by Side Diff: chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.cc

Issue 1857213004: Refactor of LauncherContextMenu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits update Created 4 years, 8 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 unified diff | Download patch
OLDNEW
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/keyboard_ui_service.h" 5 #include "chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.h"
6 6
7 KeyboardUIService::KeyboardUIService() {} 7 DesktopShellLauncherContextMenu::DesktopShellLauncherContextMenu(
8 KeyboardUIService::~KeyboardUIService() {} 8 ChromeLauncherController* controller,
9 9 const ash::ShelfItem* item,
10 void KeyboardUIService::Show() { 10 ash::Shelf* shelf)
11 NOTIMPLEMENTED(); 11 : LauncherContextMenu(controller, item, shelf) {
12 Init();
12 } 13 }
13 14
14 void KeyboardUIService::Hide() { 15 DesktopShellLauncherContextMenu::~DesktopShellLauncherContextMenu() {}
15 NOTIMPLEMENTED(); 16
17 void DesktopShellLauncherContextMenu::Init() {
18 AddShelfOptionsMenu();
16 } 19 }
17
18 void KeyboardUIService::AddObserver(
19 keyboard::mojom::KeyboardObserverPtr observer) {
20 NOTIMPLEMENTED();
21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698