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

Side by Side Diff: chrome/browser/chromeos/status/power_menu_button_browsertest.cc

Issue 5104002: Cleanup: Include browser.h -> ui/browser.h [Part 4]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/chromeos/status/power_menu_button.h" 5 #include "chrome/browser/chromeos/status/power_menu_button.h"
6 6
7 #include "chrome/browser/browser.h"
8 #include "chrome/browser/browser_window.h"
9 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h" 7 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h"
10 #include "chrome/browser/chromeos/cros/mock_power_library.h" 8 #include "chrome/browser/chromeos/cros/mock_power_library.h"
11 #include "chrome/browser/chromeos/frame/browser_view.h" 9 #include "chrome/browser/chromeos/frame/browser_view.h"
12 #include "chrome/browser/chromeos/status/status_area_view.h" 10 #include "chrome/browser/chromeos/status/status_area_view.h"
13 #include "chrome/browser/chromeos/view_ids.h" 11 #include "chrome/browser/chromeos/view_ids.h"
12 #include "chrome/browser/ui/browser.h"
13 #include "chrome/browser/ui/browser_window.h"
14 #include "grit/theme_resources.h" 14 #include "grit/theme_resources.h"
15 15
16 namespace chromeos { 16 namespace chromeos {
17 using ::testing::AnyNumber; 17 using ::testing::AnyNumber;
18 using ::testing::InvokeWithoutArgs; 18 using ::testing::InvokeWithoutArgs;
19 using ::testing::Return; 19 using ::testing::Return;
20 using ::testing::ReturnRef; 20 using ::testing::ReturnRef;
21 using ::testing::_; 21 using ::testing::_;
22 22
23 class PowerMenuButtonTest : public CrosInProcessBrowserTest { 23 class PowerMenuButtonTest : public CrosInProcessBrowserTest {
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 EXPECT_CALL(*mock_power_library_, battery_percentage()) 196 EXPECT_CALL(*mock_power_library_, battery_percentage())
197 .WillOnce((Return(percent))) 197 .WillOnce((Return(percent)))
198 .RetiresOnSaturation(); 198 .RetiresOnSaturation();
199 ASSERT_LT(id, arraysize(kDischargingImages)); 199 ASSERT_LT(id, arraysize(kDischargingImages));
200 EXPECT_EQ(kDischargingImages[id], CallPowerChangedAndGetIconId()); 200 EXPECT_EQ(kDischargingImages[id], CallPowerChangedAndGetIconId());
201 id++; 201 id++;
202 } 202 }
203 } 203 }
204 204
205 } // namespace chromeos 205 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/status/network_menu.cc ('k') | chrome/browser/chromeos/usb_mount_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698