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

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

Issue 12545026: ResizingHostObserver is created by the desktop environment together with other stubs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months 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
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_BASIC_DESKTOP_ENVIRONMENT_H_ 5 #ifndef REMOTING_HOST_BASIC_DESKTOP_ENVIRONMENT_H_
6 #define REMOTING_HOST_BASIC_DESKTOP_ENVIRONMENT_H_ 6 #define REMOTING_HOST_BASIC_DESKTOP_ENVIRONMENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 11 matching lines...) Expand all
22 public: 22 public:
23 explicit BasicDesktopEnvironment(bool use_x_damage); 23 explicit BasicDesktopEnvironment(bool use_x_damage);
24 virtual ~BasicDesktopEnvironment(); 24 virtual ~BasicDesktopEnvironment();
25 25
26 // DesktopEnvironment implementation. 26 // DesktopEnvironment implementation.
27 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer( 27 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer(
28 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner) OVERRIDE; 28 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner) OVERRIDE;
29 virtual scoped_ptr<EventExecutor> CreateEventExecutor( 29 virtual scoped_ptr<EventExecutor> CreateEventExecutor(
30 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, 30 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
31 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) OVERRIDE; 31 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) OVERRIDE;
32 virtual scoped_ptr<SessionController> CreateSessionController() OVERRIDE;
32 virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer( 33 virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer(
33 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, 34 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner,
34 scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) OVERRIDE; 35 scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) OVERRIDE;
35 36
36 private: 37 private:
37 // True if X DAMAGE support should be used by the video capturer. 38 // True if X DAMAGE support should be used by the video capturer.
38 bool use_x_damage_; 39 bool use_x_damage_;
39 40
40 DISALLOW_COPY_AND_ASSIGN(BasicDesktopEnvironment); 41 DISALLOW_COPY_AND_ASSIGN(BasicDesktopEnvironment);
41 }; 42 };
(...skipping 13 matching lines...) Expand all
55 private: 56 private:
56 // True if X DAMAGE support should be used by the video capturer. 57 // True if X DAMAGE support should be used by the video capturer.
57 bool use_x_damage_; 58 bool use_x_damage_;
58 59
59 DISALLOW_COPY_AND_ASSIGN(BasicDesktopEnvironmentFactory); 60 DISALLOW_COPY_AND_ASSIGN(BasicDesktopEnvironmentFactory);
60 }; 61 };
61 62
62 } // namespace remoting 63 } // namespace remoting
63 64
64 #endif // REMOTING_HOST_BASIC_DESKTOP_ENVIRONMENT_H_ 65 #endif // REMOTING_HOST_BASIC_DESKTOP_ENVIRONMENT_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/basic_desktop_environment.cc » ('j') | remoting/host/client_session.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698