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 CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_RESIZE_LOCK_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_RESIZE_LOCK_AURA_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_RESIZE_LOCK_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_RESIZE_LOCK_AURA_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "content/browser/compositor/resize_lock.h" | 12 #include "content/browser/renderer_host/resize_lock.h" |
13 | 13 |
14 namespace aura { | 14 namespace aura { |
15 class WindowTreeHost; | 15 class WindowTreeHost; |
16 } | 16 } |
17 namespace ui { | 17 namespace ui { |
18 class CompositorLock; | 18 class CompositorLock; |
19 } | 19 } |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 | 22 |
(...skipping 19 matching lines...) Expand all Loading... |
42 bool cancelled_; | 42 bool cancelled_; |
43 | 43 |
44 base::WeakPtrFactory<CompositorResizeLock> weak_ptr_factory_; | 44 base::WeakPtrFactory<CompositorResizeLock> weak_ptr_factory_; |
45 | 45 |
46 DISALLOW_COPY_AND_ASSIGN(CompositorResizeLock); | 46 DISALLOW_COPY_AND_ASSIGN(CompositorResizeLock); |
47 }; | 47 }; |
48 | 48 |
49 } // namespace content | 49 } // namespace content |
50 | 50 |
51 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_RESIZE_LOCK_AURA_H_ | 51 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_RESIZE_LOCK_AURA_H_ |
OLD | NEW |