| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_VIEWS_COCOA_BRIDGED_NATIVE_WIDGET_H_ | 5 #ifndef UI_VIEWS_COCOA_BRIDGED_NATIVE_WIDGET_H_ |
| 6 #define UI_VIEWS_COCOA_BRIDGED_NATIVE_WIDGET_H_ | 6 #define UI_VIEWS_COCOA_BRIDGED_NATIVE_WIDGET_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 |
| 9 #include <vector> | 10 #include <vector> |
| 10 | 11 |
| 11 #import "base/mac/scoped_nsobject.h" | 12 #import "base/mac/scoped_nsobject.h" |
| 13 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #import "ui/accelerated_widget_mac/accelerated_widget_mac.h" |
| 13 #include "ui/base/ime/input_method_delegate.h" | 16 #include "ui/base/ime/input_method_delegate.h" |
| 14 #include "ui/compositor/layer_owner.h" | 17 #include "ui/compositor/layer_owner.h" |
| 15 #import "ui/accelerated_widget_mac/accelerated_widget_mac.h" | |
| 16 #import "ui/views/cocoa/bridged_native_widget_owner.h" | 18 #import "ui/views/cocoa/bridged_native_widget_owner.h" |
| 17 #import "ui/views/cocoa/cocoa_mouse_capture_delegate.h" | 19 #import "ui/views/cocoa/cocoa_mouse_capture_delegate.h" |
| 18 #import "ui/views/focus/focus_manager.h" | 20 #import "ui/views/focus/focus_manager.h" |
| 19 #include "ui/views/views_export.h" | 21 #include "ui/views/views_export.h" |
| 20 #include "ui/views/widget/widget.h" | 22 #include "ui/views/widget/widget.h" |
| 21 | 23 |
| 22 @class BridgedContentView; | 24 @class BridgedContentView; |
| 23 @class ViewsNSWindowDelegate; | 25 @class ViewsNSWindowDelegate; |
| 24 | 26 |
| 25 namespace ui { | 27 namespace ui { |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 // If true, the window has been made visible or changed shape and the window | 288 // If true, the window has been made visible or changed shape and the window |
| 287 // shadow needs to be invalidated when a frame is received for the new shape. | 289 // shadow needs to be invalidated when a frame is received for the new shape. |
| 288 bool invalidate_shadow_on_frame_swap_ = false; | 290 bool invalidate_shadow_on_frame_swap_ = false; |
| 289 | 291 |
| 290 DISALLOW_COPY_AND_ASSIGN(BridgedNativeWidget); | 292 DISALLOW_COPY_AND_ASSIGN(BridgedNativeWidget); |
| 291 }; | 293 }; |
| 292 | 294 |
| 293 } // namespace views | 295 } // namespace views |
| 294 | 296 |
| 295 #endif // UI_VIEWS_COCOA_BRIDGED_NATIVE_WIDGET_H_ | 297 #endif // UI_VIEWS_COCOA_BRIDGED_NATIVE_WIDGET_H_ |
| OLD | NEW |