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

Side by Side Diff: ash/common/test/test_shelf_item_delegate.cc

Issue 2558963002: Move shelf item tooltip flag from delegate to item. (Closed)
Patch Set: Remove WmWindowMus::SetBoolProperty override. Created 4 years 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
« no previous file with comments | « ash/common/test/test_shelf_item_delegate.h ('k') | ash/common/wm/container_finder.cc » ('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/common/test/test_shelf_item_delegate.h" 5 #include "ash/common/test/test_shelf_item_delegate.h"
6 6
7 #include "ash/common/wm_window.h" 7 #include "ash/common/wm_window.h"
8 8
9 namespace ash { 9 namespace ash {
10 namespace test { 10 namespace test {
(...skipping 24 matching lines...) Expand all
35 } 35 }
36 36
37 bool TestShelfItemDelegate::IsDraggable() { 37 bool TestShelfItemDelegate::IsDraggable() {
38 return is_draggable_; 38 return is_draggable_;
39 } 39 }
40 40
41 bool TestShelfItemDelegate::CanPin() const { 41 bool TestShelfItemDelegate::CanPin() const {
42 return true; 42 return true;
43 } 43 }
44 44
45 bool TestShelfItemDelegate::ShouldShowTooltip() {
46 return true;
47 }
48
49 void TestShelfItemDelegate::Close() {} 45 void TestShelfItemDelegate::Close() {}
50 46
51 } // namespace test 47 } // namespace test
52 } // namespace ash 48 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/test/test_shelf_item_delegate.h ('k') | ash/common/wm/container_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698