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

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

Issue 9570044: Rename chrome/browser/ui/views/{aura => ash}/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/views/aura/launcher/launcher_context_menu.h" 5 #include "chrome/browser/ui/views/ash/launcher/launcher_context_menu.h"
6 6
7 #include "chrome/browser/ui/views/aura/launcher/chrome_launcher_delegate.h" 7 #include "chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.h"
8 #include "grit/generated_resources.h" 8 #include "grit/generated_resources.h"
9 #include "ui/base/l10n/l10n_util.h" 9 #include "ui/base/l10n/l10n_util.h"
10 10
11 LauncherContextMenu::LauncherContextMenu(ChromeLauncherDelegate* delegate, 11 LauncherContextMenu::LauncherContextMenu(ChromeLauncherDelegate* delegate,
12 ash::LauncherID id) 12 ash::LauncherID id)
13 : ui::SimpleMenuModel(NULL), 13 : ui::SimpleMenuModel(NULL),
14 delegate_(delegate), 14 delegate_(delegate),
15 id_(id) { 15 id_(id) {
16 set_delegate(this); 16 set_delegate(this);
17 ash::LauncherItem item; 17 ash::LauncherItem item;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 delegate_->Open(id_); 59 delegate_->Open(id_);
60 break; 60 break;
61 case MENU_CLOSE: 61 case MENU_CLOSE:
62 delegate_->Close(id_); 62 delegate_->Close(id_);
63 break; 63 break;
64 case MENU_PIN: 64 case MENU_PIN:
65 delegate_->TogglePinned(id_); 65 delegate_->TogglePinned(id_);
66 break; 66 break;
67 } 67 }
68 } 68 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698