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

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

Issue 12763002: Move CrTrackingArea from chrome/browser/ui/cocoa to ui/base/cocoa. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test in namespace Created 7 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 unified diff | Download patch
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_COCOA_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_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 #include "base/memory/scoped_nsobject.h" 14 #include "base/memory/scoped_nsobject.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #import "chrome/browser/ui/cocoa/chrome_browser_window.h" 16 #import "chrome/browser/ui/cocoa/chrome_browser_window.h"
17 #import "chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h" 17 #import "chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h"
18 #import "chrome/browser/ui/cocoa/tracking_area.h"
19 #include "chrome/browser/ui/panels/panel.h" 18 #include "chrome/browser/ui/panels/panel.h"
20 19
21 class PanelCocoa; 20 class PanelCocoa;
22 @class PanelTitlebarViewCocoa; 21 @class PanelTitlebarViewCocoa;
23 22
24 @interface PanelWindowCocoaImpl : ChromeBrowserWindow { 23 @interface PanelWindowCocoaImpl : ChromeBrowserWindow {
25 } 24 }
26 @end 25 @end
27 26
28 @interface PanelWindowControllerCocoa : NSWindowController 27 @interface PanelWindowControllerCocoa : NSWindowController
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 135
137 // Turns on user-resizable corners/sides indications and enables live resize. 136 // Turns on user-resizable corners/sides indications and enables live resize.
138 - (void)enableResizeByMouse:(BOOL)enable; 137 - (void)enableResizeByMouse:(BOOL)enable;
139 138
140 - (NSRect)frameRectForContentRect:(NSRect)contentRect; 139 - (NSRect)frameRectForContentRect:(NSRect)contentRect;
141 - (NSRect)contentRectForFrameRect:(NSRect)frameRect; 140 - (NSRect)contentRectForFrameRect:(NSRect)frameRect;
142 141
143 @end // @interface PanelWindowController 142 @end // @interface PanelWindowController
144 143
145 #endif // CHROME_BROWSER_UI_COCOA_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 144 #endif // CHROME_BROWSER_UI_COCOA_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/panels/panel_titlebar_view_cocoa.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698