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

Side by Side Diff: ash/test/test_launcher_item_delegate.cc

Issue 37733003: Make GetRootWindow() return a Window instead of a RootWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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
« no previous file with comments | « ash/test/test_launcher_item_delegate.h ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "ash/test/test_launcher_item_delegate.h" 5 #include "ash/test/test_launcher_item_delegate.h"
6 6
7 #include "ash/wm/window_util.h" 7 #include "ash/wm/window_util.h"
8 #include "ui/aura/window.h" 8 #include "ui/aura/window.h"
9 9
10 namespace ash { 10 namespace ash {
(...skipping 13 matching lines...) Expand all
24 window_->Show(); 24 window_->Show();
25 ash::wm::ActivateWindow(window_); 25 ash::wm::ActivateWindow(window_);
26 } 26 }
27 } 27 }
28 28
29 base::string16 TestLauncherItemDelegate::GetTitle() { 29 base::string16 TestLauncherItemDelegate::GetTitle() {
30 return window_ ? window_->title() : base::string16(); 30 return window_ ? window_->title() : base::string16();
31 } 31 }
32 32
33 ui::MenuModel* TestLauncherItemDelegate::CreateContextMenu( 33 ui::MenuModel* TestLauncherItemDelegate::CreateContextMenu(
34 aura::RootWindow* root_window) { 34 aura::Window* root_window) {
35 return NULL; 35 return NULL;
36 } 36 }
37 37
38 ash::LauncherMenuModel* TestLauncherItemDelegate::CreateApplicationMenu( 38 ash::LauncherMenuModel* TestLauncherItemDelegate::CreateApplicationMenu(
39 int event_flags) { 39 int event_flags) {
40 return NULL; 40 return NULL;
41 } 41 }
42 42
43 bool TestLauncherItemDelegate::IsDraggable() { 43 bool TestLauncherItemDelegate::IsDraggable() {
44 return true; 44 return true;
45 } 45 }
46 46
47 bool TestLauncherItemDelegate::ShouldShowTooltip() { 47 bool TestLauncherItemDelegate::ShouldShowTooltip() {
48 return true; 48 return true;
49 } 49 }
50 50
51 } // namespace test 51 } // namespace test
52 } // namespace ash 52 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/test_launcher_item_delegate.h ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698