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

Unified Diff: content/test/content_browser_test_utils_mac.mm

Issue 214823006: Move ContentBrowserTest class to content/public, since it's used by components_browsertests for bro… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: remove other files Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/content_browser_test_utils.cc ('k') | content/test/webrtc_content_browsertest_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/content_browser_test_utils_mac.mm
===================================================================
--- content/test/content_browser_test_utils_mac.mm (revision 259922)
+++ content/test/content_browser_test_utils_mac.mm (working copy)
@@ -1,25 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/test/content_browser_test_utils.h"
-
-#include <Carbon/Carbon.h>
-#import <Cocoa/Cocoa.h>
-
-#include "ui/gfx/rect.h"
-
-namespace content {
-
-void SetWindowBounds(gfx::NativeWindow window, const gfx::Rect& bounds) {
- NSRect new_bounds = NSRectFromCGRect(bounds.ToCGRect());
- if ([[NSScreen screens] count] > 0) {
- new_bounds.origin.y =
- [[[NSScreen screens] objectAtIndex:0] frame].size.height -
- new_bounds.origin.y - new_bounds.size.height;
- }
-
- [window setFrame:new_bounds display:NO];
-}
-
-} // namespace content
« no previous file with comments | « content/test/content_browser_test_utils.cc ('k') | content/test/webrtc_content_browsertest_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698