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

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

Issue 2228713003: mash: Convert ShelfView to wm common types, clean up Shelf access (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix control reaches end of non-void function warnings Created 4 years, 4 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
« no previous file with comments | « ash/shelf/shelf_widget_unittest.cc ('k') | ash/wm/panels/attached_panel_window_targeter.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 (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 "ash/test/shelf_view_test_api.h" 5 #include "ash/test/shelf_view_test_api.h"
6 6
7 #include "ash/common/shelf/overflow_button.h" 7 #include "ash/common/shelf/overflow_button.h"
8 #include "ash/common/shelf/shelf_button.h" 8 #include "ash/common/shelf/shelf_button.h"
9 #include "ash/common/shelf/shelf_constants.h" 9 #include "ash/common/shelf/shelf_constants.h"
10 #include "ash/common/shelf/shelf_model.h" 10 #include "ash/common/shelf/shelf_model.h"
11 #include "ash/shelf/shelf_view.h" 11 #include "ash/common/shelf/shelf_view.h"
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "ui/views/animation/bounds_animator.h" 13 #include "ui/views/animation/bounds_animator.h"
14 #include "ui/views/controls/menu/menu_runner.h" 14 #include "ui/views/controls/menu/menu_runner.h"
15 #include "ui/views/view_model.h" 15 #include "ui/views/view_model.h"
16 16
17 namespace { 17 namespace {
18 18
19 // A class used to wait for animations. 19 // A class used to wait for animations.
20 class TestAPIAnimationObserver : public views::BoundsAnimatorObserver { 20 class TestAPIAnimationObserver : public views::BoundsAnimatorObserver {
21 public: 21 public:
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 return shelf_view_->dragged_off_from_overflow_to_shelf_; 156 return shelf_view_->dragged_off_from_overflow_to_shelf_;
157 } 157 }
158 158
159 ShelfButtonPressedMetricTracker* 159 ShelfButtonPressedMetricTracker*
160 ShelfViewTestAPI::shelf_button_pressed_metric_tracker() { 160 ShelfViewTestAPI::shelf_button_pressed_metric_tracker() {
161 return &(shelf_view_->shelf_button_pressed_metric_tracker_); 161 return &(shelf_view_->shelf_button_pressed_metric_tracker_);
162 } 162 }
163 163
164 } // namespace test 164 } // namespace test
165 } // namespace ash 165 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shelf/shelf_widget_unittest.cc ('k') | ash/wm/panels/attached_panel_window_targeter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698