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

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

Issue 2164733002: mash: Convert ash shelf overflow bubble to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 5 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_view_unittest.cc ('k') | ash/test/shelf_view_test_api.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/test/overflow_bubble_view_test_api.h" 5 #include "ash/test/overflow_bubble_view_test_api.h"
6 6
7 #include "ash/shelf/overflow_bubble_view.h" 7 #include "ash/common/shelf/overflow_bubble_view.h"
8 8
9 namespace ash { 9 namespace ash {
10 namespace test { 10 namespace test {
11 11
12 OverflowBubbleViewTestAPI::OverflowBubbleViewTestAPI( 12 OverflowBubbleViewTestAPI::OverflowBubbleViewTestAPI(
13 OverflowBubbleView* bubble_view) 13 OverflowBubbleView* bubble_view)
14 : bubble_view_(bubble_view) {} 14 : bubble_view_(bubble_view) {}
15 15
16 OverflowBubbleViewTestAPI::~OverflowBubbleViewTestAPI() {} 16 OverflowBubbleViewTestAPI::~OverflowBubbleViewTestAPI() {}
17 17
18 gfx::Size OverflowBubbleViewTestAPI::GetContentsSize() { 18 gfx::Size OverflowBubbleViewTestAPI::GetContentsSize() {
19 return bubble_view_->GetContentsSize(); 19 return bubble_view_->GetContentsSize();
20 } 20 }
21 21
22 void OverflowBubbleViewTestAPI::ScrollByXOffset(int x_offset) { 22 void OverflowBubbleViewTestAPI::ScrollByXOffset(int x_offset) {
23 bubble_view_->ScrollByXOffset(x_offset); 23 bubble_view_->ScrollByXOffset(x_offset);
24 bubble_view_->Layout(); 24 bubble_view_->Layout();
25 } 25 }
26 26
27 views::BubbleFrameView* OverflowBubbleViewTestAPI::GetBubbleFrameView() { 27 views::BubbleFrameView* OverflowBubbleViewTestAPI::GetBubbleFrameView() {
28 return bubble_view_->GetBubbleFrameView(); 28 return bubble_view_->GetBubbleFrameView();
29 } 29 }
30 30
31 } // namespace test 31 } // namespace test
32 } // namespace ash 32 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shelf/shelf_view_unittest.cc ('k') | ash/test/shelf_view_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698