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

Side by Side Diff: chrome/browser/ui/panels/panel_window_controller_cocoa.h

Issue 10831025: mac: Remove now-unneeded includes of cocoa_protocols.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
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 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
7 7
8 // A class acting as the Objective-C controller for the Panel window 8 // A class acting as the Objective-C controller for the Panel window
9 // object. Handles interactions between Cocoa and the cross-platform 9 // object. Handles interactions between Cocoa and the cross-platform
10 // code. Each window has a single titlebar and is managed/owned by Panel. 10 // code. Each window has a single titlebar and is managed/owned by Panel.
11 11
12 #import <Cocoa/Cocoa.h> 12 #import <Cocoa/Cocoa.h>
13 13
14 #import "base/mac/cocoa_protocols.h"
15 #include "base/memory/scoped_nsobject.h" 14 #include "base/memory/scoped_nsobject.h"
16 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
17 #include "base/time.h" 16 #include "base/time.h"
18 #import "chrome/browser/ui/cocoa/browser_command_executor.h" 17 #import "chrome/browser/ui/cocoa/browser_command_executor.h"
19 #import "chrome/browser/ui/cocoa/chrome_browser_window.h" 18 #import "chrome/browser/ui/cocoa/chrome_browser_window.h"
20 #import "chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h" 19 #import "chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h"
21 #import "chrome/browser/ui/cocoa/themed_window.h" 20 #import "chrome/browser/ui/cocoa/themed_window.h"
22 #import "chrome/browser/ui/cocoa/tracking_area.h" 21 #import "chrome/browser/ui/cocoa/tracking_area.h"
23 #include "chrome/browser/ui/panels/panel.h" 22 #include "chrome/browser/ui/panels/panel.h"
24 23
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 154
156 // Turns on user-resizable corners/sides indications and enables live resize. 155 // Turns on user-resizable corners/sides indications and enables live resize.
157 - (void)enableResizeByMouse:(BOOL)enable; 156 - (void)enableResizeByMouse:(BOOL)enable;
158 157
159 - (NSRect)frameRectForContentRect:(NSRect)contentRect; 158 - (NSRect)frameRectForContentRect:(NSRect)contentRect;
160 - (NSRect)contentRectForFrameRect:(NSRect)frameRect; 159 - (NSRect)contentRectForFrameRect:(NSRect)frameRect;
161 160
162 @end // @interface PanelWindowController 161 @end // @interface PanelWindowController
163 162
164 #endif // CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 163 #endif // CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698