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

Side by Side Diff: remoting/host/ipc_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: CR feedback & rebased 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
« no previous file with comments | « remoting/host/host_status_observer.h ('k') | remoting/host/ipc_desktop_environment.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_IPC_DESKTOP_ENVIRONMENT_H_ 5 #ifndef REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_
6 #define REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ 6 #define REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 base::WeakPtr<DesktopSessionConnector> desktop_session_connector, 45 base::WeakPtr<DesktopSessionConnector> desktop_session_connector,
46 bool virtual_terminal); 46 bool virtual_terminal);
47 virtual ~IpcDesktopEnvironment(); 47 virtual ~IpcDesktopEnvironment();
48 48
49 // DesktopEnvironment implementation. 49 // DesktopEnvironment implementation.
50 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer( 50 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer(
51 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner) OVERRIDE; 51 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner) OVERRIDE;
52 virtual scoped_ptr<EventExecutor> CreateEventExecutor( 52 virtual scoped_ptr<EventExecutor> CreateEventExecutor(
53 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, 53 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
54 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) OVERRIDE; 54 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) OVERRIDE;
55 virtual scoped_ptr<SessionController> CreateSessionController() OVERRIDE;
55 virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer( 56 virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer(
56 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, 57 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner,
57 scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) OVERRIDE; 58 scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) OVERRIDE;
58 59
59 private: 60 private:
60 // Task runner on which public methods of this class should be called. 61 // Task runner on which public methods of this class should be called.
61 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; 62 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_;
62 63
63 scoped_refptr<DesktopSessionProxy> desktop_session_proxy_; 64 scoped_refptr<DesktopSessionProxy> desktop_session_proxy_;
64 65
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // This gives us more than 67 years of unique IDs assuming a new ID is 127 // This gives us more than 67 years of unique IDs assuming a new ID is
127 // allocated every second. 128 // allocated every second.
128 int next_id_; 129 int next_id_;
129 130
130 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory); 131 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory);
131 }; 132 };
132 133
133 } // namespace remoting 134 } // namespace remoting
134 135
135 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ 136 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_
OLDNEW
« no previous file with comments | « remoting/host/host_status_observer.h ('k') | remoting/host/ipc_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698