| OLD | NEW |
| 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 "base/mac/scoped_nsobject.h" | 11 #include "base/mac/scoped_nsobject.h" |
| 12 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "content/public/browser/web_contents_observer.h" | 14 #include "content/public/browser/web_contents_observer.h" |
| 14 #include "extensions/browser/app_window/app_window.h" | 15 #include "extensions/browser/app_window/app_window.h" |
| 15 #include "extensions/browser/app_window/native_app_window.h" | 16 #include "extensions/browser/app_window/native_app_window.h" |
| 16 #include "extensions/browser/app_window/size_constraints.h" | 17 #include "extensions/browser/app_window/size_constraints.h" |
| 17 #include "extensions/common/draggable_region.h" | 18 #include "extensions/common/draggable_region.h" |
| 18 #include "ui/base/accelerators/accelerator_manager.h" | 19 #include "ui/base/accelerators/accelerator_manager.h" |
| 19 #include "ui/gfx/geometry/rect.h" | 20 #include "ui/gfx/geometry/rect.h" |
| 20 | 21 |
| 21 @class AppNSWindow; | 22 @class AppNSWindow; |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 // handle. | 216 // handle. |
| 216 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_; | 217 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_; |
| 217 | 218 |
| 218 // Tracks the last time the extension asked the window to activate. | 219 // Tracks the last time the extension asked the window to activate. |
| 219 base::Time last_activate_; | 220 base::Time last_activate_; |
| 220 | 221 |
| 221 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa); | 222 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa); |
| 222 }; | 223 }; |
| 223 | 224 |
| 224 #endif // CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_ | 225 #endif // CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_ |
| OLD | NEW |