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

Side by Side Diff: chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc

Issue 15026005: Remove unused third_party/WebKit #includes from chrome/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: without browser_test changes Created 7 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 | « chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc ('k') | no next file » | 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 "chrome/browser/ui/window_sizer/window_sizer_common_unittest.h" 5 #include "chrome/browser/ui/window_sizer/window_sizer_common_unittest.h"
6 6
7 #include "ash/wm/window_resizer.h" 7 #include "ash/wm/window_resizer.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/ui/browser.h" 9 #include "chrome/browser/ui/browser.h"
10 #include "chrome/common/chrome_switches.h" 10 #include "chrome/common/chrome_switches.h"
11 #include "chrome/test/base/testing_profile.h" 11 #include "chrome/test/base/testing_profile.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h"
14 13
15 TestMonitorInfoProvider::TestMonitorInfoProvider() {}; 14 TestMonitorInfoProvider::TestMonitorInfoProvider() {};
16 15
17 TestMonitorInfoProvider::~TestMonitorInfoProvider() {}; 16 TestMonitorInfoProvider::~TestMonitorInfoProvider() {};
18 17
19 void TestMonitorInfoProvider::AddMonitor(const gfx::Rect& bounds, 18 void TestMonitorInfoProvider::AddMonitor(const gfx::Rect& bounds,
20 const gfx::Rect& work_area) { 19 const gfx::Rect& work_area) {
21 DCHECK(bounds.Contains(work_area)); 20 DCHECK(bounds.Contains(work_area));
22 monitor_bounds_.push_back(bounds); 21 monitor_bounds_.push_back(bounds);
23 work_areas_.push_back(work_area); 22 work_areas_.push_back(work_area);
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 { // Check that a window which hangs out of the screen get moved back in. 379 { // Check that a window which hangs out of the screen get moved back in.
381 gfx::Rect window_bounds; 380 gfx::Rect window_bounds;
382 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx::Rect(), 381 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx::Rect(),
383 gfx::Rect(), DEFAULT, NULL, 382 gfx::Rect(), DEFAULT, NULL,
384 gfx::Rect(1020, 700, 100, 100), &window_bounds); 383 gfx::Rect(1020, 700, 100, 100), &window_bounds);
385 EXPECT_EQ("924,668 100x100", window_bounds.ToString()); 384 EXPECT_EQ("924,668 100x100", window_bounds.ToString());
386 } 385 }
387 } 386 }
388 387
389 #endif // defined(OS_MACOSX) 388 #endif // defined(OS_MACOSX)
OLDNEW
« no previous file with comments | « chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698