| 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 |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 bool is_maximized_; | 192 bool is_maximized_; |
| 193 bool is_fullscreen_; | 193 bool is_fullscreen_; |
| 194 NSRect restored_bounds_; | 194 NSRect restored_bounds_; |
| 195 | 195 |
| 196 bool is_resizable_; | 196 bool is_resizable_; |
| 197 bool shows_resize_controls_; | 197 bool shows_resize_controls_; |
| 198 bool shows_fullscreen_controls_; | 198 bool shows_fullscreen_controls_; |
| 199 | 199 |
| 200 apps::SizeConstraints size_constraints_; | 200 apps::SizeConstraints size_constraints_; |
| 201 | 201 |
| 202 bool has_frame_color_; |
| 203 SkColor active_frame_color_; |
| 204 SkColor inactive_frame_color_; |
| 205 |
| 202 base::scoped_nsobject<NativeAppWindowController> window_controller_; | 206 base::scoped_nsobject<NativeAppWindowController> window_controller_; |
| 203 NSInteger attention_request_id_; // identifier from requestUserAttention | 207 NSInteger attention_request_id_; // identifier from requestUserAttention |
| 204 | 208 |
| 205 // For system drag, the whole window is draggable and the non-draggable areas | 209 // For system drag, the whole window is draggable and the non-draggable areas |
| 206 // have to been explicitly excluded. | 210 // have to been explicitly excluded. |
| 207 std::vector<extensions::DraggableRegion> draggable_regions_; | 211 std::vector<extensions::DraggableRegion> draggable_regions_; |
| 208 | 212 |
| 209 // The Extension Command Registry used to determine which keyboard events to | 213 // The Extension Command Registry used to determine which keyboard events to |
| 210 // handle. | 214 // handle. |
| 211 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_; | 215 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_; |
| 212 | 216 |
| 213 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa); | 217 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa); |
| 214 }; | 218 }; |
| 215 | 219 |
| 216 #endif // CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_ | 220 #endif // CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_ |
| OLD | NEW |