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

Side by Side Diff: ash/launcher/launcher_view_unittest.cc

Issue 10365007: ui: Move compositor/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DEPS Created 8 years, 7 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
« no previous file with comments | « ash/launcher/launcher_view.cc ('k') | ash/magnifier/magnification_controller.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/launcher/launcher_view.h" 5 #include "ash/launcher/launcher_view.h"
6 6
7 #include "ash/launcher/launcher.h" 7 #include "ash/launcher/launcher.h"
8 #include "ash/launcher/launcher_button.h" 8 #include "ash/launcher/launcher_button.h"
9 #include "ash/launcher/launcher_icon_observer.h"
9 #include "ash/launcher/launcher_model.h" 10 #include "ash/launcher/launcher_model.h"
10 #include "ash/launcher/launcher_icon_observer.h"
11 #include "ash/shell.h" 11 #include "ash/shell.h"
12 #include "ash/test/ash_test_base.h" 12 #include "ash/test/ash_test_base.h"
13 #include "ash/test/launcher_view_test_api.h" 13 #include "ash/test/launcher_view_test_api.h"
14 #include "ash/test/test_launcher_delegate.h" 14 #include "ash/test/test_launcher_delegate.h"
15 #include "base/basictypes.h" 15 #include "base/basictypes.h"
16 #include "base/compiler_specific.h" 16 #include "base/compiler_specific.h"
17 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
18 #include "ui/aura/test/aura_test_base.h"
18 #include "ui/aura/window.h" 19 #include "ui/aura/window.h"
19 #include "ui/aura/test/aura_test_base.h" 20 #include "ui/compositor/layer.h"
20 #include "ui/gfx/compositor/layer.h"
21 #include "ui/views/widget/widget.h" 21 #include "ui/views/widget/widget.h"
22 #include "ui/views/widget/widget_delegate.h" 22 #include "ui/views/widget/widget_delegate.h"
23 23
24 namespace ash { 24 namespace ash {
25 namespace test { 25 namespace test {
26 26
27 //////////////////////////////////////////////////////////////////////////////// 27 ////////////////////////////////////////////////////////////////////////////////
28 // LauncherIconObserver tests. 28 // LauncherIconObserver tests.
29 29
30 class TestLauncherIconObserver : public LauncherIconObserver { 30 class TestLauncherIconObserver : public LauncherIconObserver {
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 // Verifies non-overflow buttons are visible. 283 // Verifies non-overflow buttons are visible.
284 for (int i = 0; i <= test_api_->GetLastVisibleIndex(); ++i) { 284 for (int i = 0; i <= test_api_->GetLastVisibleIndex(); ++i) {
285 internal::LauncherButton* button = test_api_->GetButton(i); 285 internal::LauncherButton* button = test_api_->GetButton(i);
286 EXPECT_TRUE(button->visible()) << "button index=" << i; 286 EXPECT_TRUE(button->visible()) << "button index=" << i;
287 EXPECT_EQ(1.0f, button->layer()->opacity()) << "button index=" << i; 287 EXPECT_EQ(1.0f, button->layer()->opacity()) << "button index=" << i;
288 } 288 }
289 } 289 }
290 290
291 } // namespace test 291 } // namespace test
292 } // namespace ash 292 } // namespace ash
OLDNEW
« no previous file with comments | « ash/launcher/launcher_view.cc ('k') | ash/magnifier/magnification_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698