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

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

Issue 7992011: Move us fully from gfx:: over to skia types for consistency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for bad DEPS Created 9 years, 2 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/capturer_win.cc ('k') | remoting/host/chromoting_host.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CHROMOTING_HOST_H_ 5 #ifndef REMOTING_CHROMOTING_HOST_H_
6 #define REMOTING_CHROMOTING_HOST_H_ 6 #define REMOTING_CHROMOTING_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 // TODO(wez): ChromotingHost shouldn't need to know about Me2Mom. 137 // TODO(wez): ChromotingHost shouldn't need to know about Me2Mom.
138 void set_it2me(bool is_it2me) { 138 void set_it2me(bool is_it2me) {
139 is_it2me_ = is_it2me; 139 is_it2me_ = is_it2me;
140 } 140 }
141 void set_access_code(const std::string& access_code) { 141 void set_access_code(const std::string& access_code) {
142 access_code_ = access_code; 142 access_code_ = access_code;
143 } 143 }
144 144
145 // Notify all active client sessions that local input has been detected, and 145 // Notify all active client sessions that local input has been detected, and
146 // that remote input should be ignored for a short time. 146 // that remote input should be ignored for a short time.
147 void LocalMouseMoved(const gfx::Point& new_pos); 147 void LocalMouseMoved(const SkIPoint& new_pos);
148 148
149 // Pause or unpause the session. While the session is paused, remote input 149 // Pause or unpause the session. While the session is paused, remote input
150 // is ignored. 150 // is ignored.
151 void PauseSession(bool pause); 151 void PauseSession(bool pause);
152 152
153 const UiStrings& ui_strings() { return ui_strings_; } 153 const UiStrings& ui_strings() { return ui_strings_; }
154 154
155 // Set localized strings. Must be called before host is started. 155 // Set localized strings. Must be called before host is started.
156 void SetUiStrings(const UiStrings& ui_strings); 156 void SetUiStrings(const UiStrings& ui_strings);
157 157
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 std::vector<Task*> shutdown_tasks_; 251 std::vector<Task*> shutdown_tasks_;
252 252
253 UiStrings ui_strings_; 253 UiStrings ui_strings_;
254 254
255 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); 255 DISALLOW_COPY_AND_ASSIGN(ChromotingHost);
256 }; 256 };
257 257
258 } // namespace remoting 258 } // namespace remoting
259 259
260 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ 260 #endif // REMOTING_HOST_CHROMOTING_HOST_H_
OLDNEW
« no previous file with comments | « remoting/host/capturer_win.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698