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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 bool shows_resize_controls_; | 203 bool shows_resize_controls_; |
204 bool shows_fullscreen_controls_; | 204 bool shows_fullscreen_controls_; |
205 | 205 |
206 apps::SizeConstraints size_constraints_; | 206 apps::SizeConstraints size_constraints_; |
207 | 207 |
208 bool has_frame_color_; | 208 bool has_frame_color_; |
209 SkColor active_frame_color_; | 209 SkColor active_frame_color_; |
210 SkColor inactive_frame_color_; | 210 SkColor inactive_frame_color_; |
211 | 211 |
212 base::scoped_nsobject<NativeAppWindowController> window_controller_; | 212 base::scoped_nsobject<NativeAppWindowController> window_controller_; |
213 NSInteger attention_request_id_; // identifier from requestUserAttention | |
214 | 213 |
215 // For system drag, the whole window is draggable and the non-draggable areas | 214 // For system drag, the whole window is draggable and the non-draggable areas |
216 // have to been explicitly excluded. | 215 // have to been explicitly excluded. |
217 std::vector<extensions::DraggableRegion> draggable_regions_; | 216 std::vector<extensions::DraggableRegion> draggable_regions_; |
218 | 217 |
219 // The Extension Command Registry used to determine which keyboard events to | 218 // The Extension Command Registry used to determine which keyboard events to |
220 // handle. | 219 // handle. |
221 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_; | 220 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_; |
222 | 221 |
223 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa); | 222 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa); |
224 }; | 223 }; |
225 | 224 |
226 #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 |