Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(975)

Side by Side Diff: remoting/host/desktop_resizer.h

Issue 112453002: Remove dependency on skia from remoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/client_session_unittest.cc ('k') | remoting/host/desktop_resizer_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_DESKTOP_RESIZER_H_ 5 #ifndef REMOTING_HOST_DESKTOP_RESIZER_H_
6 #define REMOTING_HOST_DESKTOP_RESIZER_H_ 6 #define REMOTING_HOST_DESKTOP_RESIZER_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "remoting/host/screen_resolution.h" 11 #include "remoting/host/screen_resolution.h"
12 #include "third_party/skia/include/core/SkRect.h"
13 12
14 namespace remoting { 13 namespace remoting {
15 14
16 class DesktopResizer { 15 class DesktopResizer {
17 public: 16 public:
18 virtual ~DesktopResizer() {} 17 virtual ~DesktopResizer() {}
19 18
20 // Create a platform-specific DesktopResizer instance. 19 // Create a platform-specific DesktopResizer instance.
21 static scoped_ptr<DesktopResizer> Create(); 20 static scoped_ptr<DesktopResizer> Create();
22 21
(...skipping 20 matching lines...) Expand all
43 // Restore the original desktop resolution. The caller must provide the 42 // Restore the original desktop resolution. The caller must provide the
44 // original resolution of the desktop, as returned by |GetCurrentResolution|, 43 // original resolution of the desktop, as returned by |GetCurrentResolution|,
45 // as a hint. However, implementaions are free to ignore this. For example, 44 // as a hint. However, implementaions are free to ignore this. For example,
46 // virtual hosts will typically ignore it to avoid unnecessary resizes. 45 // virtual hosts will typically ignore it to avoid unnecessary resizes.
47 virtual void RestoreResolution(const ScreenResolution& original) = 0; 46 virtual void RestoreResolution(const ScreenResolution& original) = 0;
48 }; 47 };
49 48
50 } // namespace remoting 49 } // namespace remoting
51 50
52 #endif // REMOTING_HOST_DESKTOP_RESIZER_H_ 51 #endif // REMOTING_HOST_DESKTOP_RESIZER_H_
OLDNEW
« no previous file with comments | « remoting/host/client_session_unittest.cc ('k') | remoting/host/desktop_resizer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698