OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 REMOTING_HOST_RESIZING_HOST_OBSERVER_H_ | 5 #ifndef REMOTING_HOST_RESIZING_HOST_OBSERVER_H_ |
6 #define REMOTING_HOST_RESIZING_HOST_OBSERVER_H_ | 6 #define REMOTING_HOST_RESIZING_HOST_OBSERVER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stddef.h> |
| 9 |
9 #include "base/callback.h" | 10 #include "base/callback.h" |
10 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
13 #include "base/time/time.h" | 15 #include "base/time/time.h" |
14 #include "base/timer/timer.h" | 16 #include "base/timer/timer.h" |
15 #include "remoting/host/screen_controls.h" | 17 #include "remoting/host/screen_controls.h" |
16 #include "remoting/host/screen_resolution.h" | 18 #include "remoting/host/screen_resolution.h" |
17 | 19 |
18 namespace remoting { | 20 namespace remoting { |
19 | 21 |
20 class DesktopResizer; | 22 class DesktopResizer; |
(...skipping 28 matching lines...) Expand all Loading... |
49 base::Callback<base::Time(void)> now_function_; | 51 base::Callback<base::Time(void)> now_function_; |
50 | 52 |
51 base::WeakPtrFactory<ResizingHostObserver> weak_factory_; | 53 base::WeakPtrFactory<ResizingHostObserver> weak_factory_; |
52 | 54 |
53 DISALLOW_COPY_AND_ASSIGN(ResizingHostObserver); | 55 DISALLOW_COPY_AND_ASSIGN(ResizingHostObserver); |
54 }; | 56 }; |
55 | 57 |
56 } // namespace remoting | 58 } // namespace remoting |
57 | 59 |
58 #endif // REMOTING_HOST_RESIZING_HOST_OBSERVER_H_ | 60 #endif // REMOTING_HOST_RESIZING_HOST_OBSERVER_H_ |
OLD | NEW |