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

Side by Side Diff: ui/aura/window_tree_host_mac.mm

Issue 1133713009: Subject .mm files to the header sorting presubmit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase - of course... it would be one of my patches I conflict with :| Created 5 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
« no previous file with comments | « ui/app_list/cocoa/app_list_view_controller.mm ('k') | ui/base/cocoa/base_view.mm » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <Cocoa/Cocoa.h> 5 #include <Cocoa/Cocoa.h>
6 6
7 #include "ui/aura/window_tree_host.h"
7 #include "ui/aura/window_tree_host_mac.h" 8 #include "ui/aura/window_tree_host_mac.h"
8 #include "ui/aura/window_tree_host.h"
9 9
10 namespace aura { 10 namespace aura {
11 11
12 WindowTreeHostMac::WindowTreeHostMac(const gfx::Rect& bounds) { 12 WindowTreeHostMac::WindowTreeHostMac(const gfx::Rect& bounds) {
13 window_.reset( 13 window_.reset(
14 [[NSWindow alloc] 14 [[NSWindow alloc]
15 initWithContentRect:NSRectFromCGRect(bounds.ToCGRect()) 15 initWithContentRect:NSRectFromCGRect(bounds.ToCGRect())
16 styleMask:NSBorderlessWindowMask 16 styleMask:NSBorderlessWindowMask
17 backing:NSBackingStoreBuffered 17 backing:NSBackingStoreBuffered
18 defer:NO]); 18 defer:NO]);
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 return new WindowTreeHostMac(bounds); 101 return new WindowTreeHostMac(bounds);
102 } 102 }
103 103
104 // static 104 // static
105 gfx::Size WindowTreeHost::GetNativeScreenSize() { 105 gfx::Size WindowTreeHost::GetNativeScreenSize() {
106 NOTIMPLEMENTED(); 106 NOTIMPLEMENTED();
107 return gfx::Size(1024, 768); 107 return gfx::Size(1024, 768);
108 } 108 }
109 109
110 } // namespace aura 110 } // namespace aura
OLDNEW
« no previous file with comments | « ui/app_list/cocoa/app_list_view_controller.mm ('k') | ui/base/cocoa/base_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698