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

Side by Side Diff: chrome/browser/ui/cocoa/version_independent_window.mm

Issue 638383003: Remove unused headers after CL 609833003 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | 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 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 #import "chrome/browser/ui/cocoa/version_independent_window.h" 5 #import "chrome/browser/ui/cocoa/version_independent_window.h"
6 6
7 #include "base/command_line.h"
8 #include "base/logging.h" 7 #include "base/logging.h"
9 #include "base/mac/mac_util.h"
10 #include "chrome/common/chrome_switches.h"
11 8
12 @interface VersionIndependentWindow () 9 @interface VersionIndependentWindow ()
13 10
14 + (BOOL)shouldUseFullSizeContentViewForStyle:(NSUInteger)windowStyle; 11 + (BOOL)shouldUseFullSizeContentViewForStyle:(NSUInteger)windowStyle;
15 12
16 - (NSView*)chromeWindowView; 13 - (NSView*)chromeWindowView;
17 14
18 @end 15 @end
19 16
20 // This view always takes the size of its superview. It is intended to be used 17 // This view always takes the size of its superview. It is intended to be used
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 return [super contentRectForFrameRect:fRect styleMask:aStyle]; 121 return [super contentRectForFrameRect:fRect styleMask:aStyle];
125 } 122 }
126 123
127 - (NSRect)contentRectForFrameRect:(NSRect)frameRect { 124 - (NSRect)contentRectForFrameRect:(NSRect)frameRect {
128 if (chromeWindowView_) 125 if (chromeWindowView_)
129 return frameRect; 126 return frameRect;
130 return [super contentRectForFrameRect:frameRect]; 127 return [super contentRectForFrameRect:frameRect];
131 } 128 }
132 129
133 @end 130 @end
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698