| 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 "base/basictypes.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/time.h" | 13 #include "base/time/time.h" |
| 14 #include "base/timer.h" | 14 #include "base/timer/timer.h" |
| 15 #include "remoting/host/screen_controls.h" | 15 #include "remoting/host/screen_controls.h" |
| 16 #include "remoting/host/screen_resolution.h" | 16 #include "remoting/host/screen_resolution.h" |
| 17 #include "third_party/skia/include/core/SkSize.h" | 17 #include "third_party/skia/include/core/SkSize.h" |
| 18 | 18 |
| 19 namespace remoting { | 19 namespace remoting { |
| 20 | 20 |
| 21 class DesktopResizer; | 21 class DesktopResizer; |
| 22 | 22 |
| 23 // TODO(alexeypa): Rename this class to reflect that it is not | 23 // TODO(alexeypa): Rename this class to reflect that it is not |
| 24 // HostStatusObserver any more. | 24 // HostStatusObserver any more. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 50 base::Callback<base::Time(void)> now_function_; | 50 base::Callback<base::Time(void)> now_function_; |
| 51 | 51 |
| 52 base::WeakPtrFactory<ResizingHostObserver> weak_factory_; | 52 base::WeakPtrFactory<ResizingHostObserver> weak_factory_; |
| 53 | 53 |
| 54 DISALLOW_COPY_AND_ASSIGN(ResizingHostObserver); | 54 DISALLOW_COPY_AND_ASSIGN(ResizingHostObserver); |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace remoting | 57 } // namespace remoting |
| 58 | 58 |
| 59 #endif // REMOTING_HOST_RESIZING_HOST_OBSERVER_H_ | 59 #endif // REMOTING_HOST_RESIZING_HOST_OBSERVER_H_ |
| OLD | NEW |