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

Side by Side Diff: trunk/src/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h

Issue 163913004: Revert 250826 "Remove Profile dependency from apps::ShellWindow" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_APPS_NATIVE_APP_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <vector> 9 #include <vector>
10 10
11 #include "apps/shell_window.h" 11 #include "apps/shell_window.h"
12 #include "apps/ui/native_app_window.h" 12 #include "apps/ui/native_app_window.h"
13 #include "base/mac/scoped_nsobject.h" 13 #include "base/mac/scoped_nsobject.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #import "chrome/browser/ui/cocoa/browser_command_executor.h" 15 #import "chrome/browser/ui/cocoa/browser_command_executor.h"
16 #include "content/public/browser/web_contents_observer.h" 16 #include "content/public/browser/web_contents_observer.h"
17 #include "extensions/common/draggable_region.h" 17 #include "extensions/common/draggable_region.h"
18 #include "ui/gfx/rect.h" 18 #include "ui/gfx/rect.h"
19 19
20 class ExtensionKeybindingRegistryCocoa; 20 class ExtensionKeybindingRegistryCocoa;
21 class Profile;
21 class NativeAppWindowCocoa; 22 class NativeAppWindowCocoa;
22 @class ShellNSWindow; 23 @class ShellNSWindow;
23 class SkRegion; 24 class SkRegion;
24 25
25 // A window controller for a minimal window to host a web app view. Passes 26 // A window controller for a minimal window to host a web app view. Passes
26 // Objective-C notifications to the C++ bridge. 27 // Objective-C notifications to the C++ bridge.
27 @interface NativeAppWindowController : NSWindowController 28 @interface NativeAppWindowController : NSWindowController
28 <NSWindowDelegate, 29 <NSWindowDelegate,
29 BrowserCommandExecutor> { 30 BrowserCommandExecutor> {
30 @private 31 @private
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 NSPoint last_mouse_location_; 221 NSPoint last_mouse_location_;
221 222
222 // The Extension Command Registry used to determine which keyboard events to 223 // The Extension Command Registry used to determine which keyboard events to
223 // handle. 224 // handle.
224 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_; 225 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_;
225 226
226 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa); 227 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa);
227 }; 228 };
228 229
229 #endif // CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_ 230 #endif // CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698