| 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 #import "ui/views/widget/native_widget_mac.h" | 5 #import "ui/views/widget/native_widget_mac.h" |
| 6 | 6 |
| 7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
| 8 | 8 |
| 9 #import "base/mac/foundation_util.h" | 9 #import "base/mac/foundation_util.h" |
| 10 #include "base/mac/mac_util.h" | 10 #include "base/mac/mac_util.h" |
| 11 #import "base/mac/scoped_nsautorelease_pool.h" | 11 #import "base/mac/scoped_nsautorelease_pool.h" |
| 12 #import "base/mac/scoped_nsobject.h" | 12 #import "base/mac/scoped_nsobject.h" |
| 13 #import "base/mac/scoped_objc_class_swizzler.h" | 13 #import "base/mac/scoped_objc_class_swizzler.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/message_loop/message_loop.h" |
| 15 #include "base/run_loop.h" | 16 #include "base/run_loop.h" |
| 16 #include "base/strings/sys_string_conversions.h" | 17 #include "base/strings/sys_string_conversions.h" |
| 17 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
| 18 #include "base/test/test_timeouts.h" | 19 #include "base/test/test_timeouts.h" |
| 19 #include "base/threading/thread_task_runner_handle.h" | 20 #include "base/threading/thread_task_runner_handle.h" |
| 20 #import "testing/gtest_mac.h" | 21 #import "testing/gtest_mac.h" |
| 21 #include "third_party/skia/include/core/SkBitmap.h" | 22 #include "third_party/skia/include/core/SkBitmap.h" |
| 22 #include "third_party/skia/include/core/SkCanvas.h" | 23 #include "third_party/skia/include/core/SkCanvas.h" |
| 23 #import "ui/base/cocoa/constrained_window/constrained_window_animation.h" | 24 #import "ui/base/cocoa/constrained_window/constrained_window_animation.h" |
| 24 #import "ui/base/cocoa/window_size_constants.h" | 25 #import "ui/base/cocoa/window_size_constants.h" |
| (...skipping 1906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1931 | 1932 |
| 1932 - (void)dealloc { | 1933 - (void)dealloc { |
| 1933 if (deallocFlag_) { | 1934 if (deallocFlag_) { |
| 1934 DCHECK(!*deallocFlag_); | 1935 DCHECK(!*deallocFlag_); |
| 1935 *deallocFlag_ = true; | 1936 *deallocFlag_ = true; |
| 1936 } | 1937 } |
| 1937 [super dealloc]; | 1938 [super dealloc]; |
| 1938 } | 1939 } |
| 1939 | 1940 |
| 1940 @end | 1941 @end |
| OLD | NEW |