OLD | NEW |
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_EXTENSIONS_NATIVE_APP_WINDOW_COCOA_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_NATIVE_APP_WINDOW_COCOA_H_ |
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_NATIVE_APP_WINDOW_COCOA_H_ | 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_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 "base/memory/scoped_nsobject.h" | 11 #include "base/memory/scoped_nsobject.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #import "chrome/browser/ui/cocoa/browser_command_executor.h" | 13 #import "chrome/browser/ui/cocoa/browser_command_executor.h" |
14 #include "chrome/browser/ui/extensions/native_app_window.h" | 14 #include "chrome/browser/ui/extensions/native_app_window.h" |
15 #include "chrome/browser/ui/extensions/shell_window.h" | 15 #include "chrome/browser/ui/extensions/shell_window.h" |
16 #include "chrome/common/extensions/draggable_region.h" | |
17 #include "content/public/browser/notification_observer.h" | 16 #include "content/public/browser/notification_observer.h" |
18 #include "content/public/browser/notification_registrar.h" | 17 #include "content/public/browser/notification_registrar.h" |
| 18 #include "extensions/common/draggable_region.h" |
19 #include "ui/gfx/rect.h" | 19 #include "ui/gfx/rect.h" |
20 | 20 |
21 class ExtensionKeybindingRegistryCocoa; | 21 class ExtensionKeybindingRegistryCocoa; |
22 class Profile; | 22 class Profile; |
23 class NativeAppWindowCocoa; | 23 class NativeAppWindowCocoa; |
24 @class ShellNSWindow; | 24 @class ShellNSWindow; |
25 class SkRegion; | 25 class SkRegion; |
26 | 26 |
27 // A window controller for a minimal window to host a web app view. Passes | 27 // A window controller for a minimal window to host a web app view. Passes |
28 // Objective-C notifications to the C++ bridge. | 28 // Objective-C notifications to the C++ bridge. |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 // The Extension Command Registry used to determine which keyboard events to | 173 // The Extension Command Registry used to determine which keyboard events to |
174 // handle. | 174 // handle. |
175 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_; | 175 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_; |
176 | 176 |
177 content::NotificationRegistrar registrar_; | 177 content::NotificationRegistrar registrar_; |
178 | 178 |
179 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa); | 179 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa); |
180 }; | 180 }; |
181 | 181 |
182 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_NATIVE_APP_WINDOW_COCOA_H_ | 182 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_NATIVE_APP_WINDOW_COCOA_H_ |
OLD | NEW |