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

Side by Side Diff: remoting/host/clipboard_win.cc

Issue 1101033002: Update {virtual,override} to follow C++11 style in remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
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 #include "remoting/host/clipboard.h" 5 #include "remoting/host/clipboard.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 } // namespace 103 } // namespace
104 104
105 namespace remoting { 105 namespace remoting {
106 106
107 class ClipboardWin : public Clipboard { 107 class ClipboardWin : public Clipboard {
108 public: 108 public:
109 ClipboardWin(); 109 ClipboardWin();
110 ~ClipboardWin() override; 110 ~ClipboardWin() override;
111 111
112 virtual void Start( 112 void Start(
113 scoped_ptr<protocol::ClipboardStub> client_clipboard) override; 113 scoped_ptr<protocol::ClipboardStub> client_clipboard) override;
114 virtual void InjectClipboardEvent( 114 void InjectClipboardEvent(
115 const protocol::ClipboardEvent& event) override; 115 const protocol::ClipboardEvent& event) override;
116 116
117 private: 117 private:
118 void OnClipboardUpdate(); 118 void OnClipboardUpdate();
119 119
120 // Handles messages received by |window_|. 120 // Handles messages received by |window_|.
121 bool HandleMessage(UINT message, 121 bool HandleMessage(UINT message,
122 WPARAM wparam, 122 WPARAM wparam,
123 LPARAM lparam, 123 LPARAM lparam,
124 LRESULT* result); 124 LRESULT* result);
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 } 271 }
272 272
273 return false; 273 return false;
274 } 274 }
275 275
276 scoped_ptr<Clipboard> Clipboard::Create() { 276 scoped_ptr<Clipboard> Clipboard::Create() {
277 return make_scoped_ptr(new ClipboardWin()); 277 return make_scoped_ptr(new ClipboardWin());
278 } 278 }
279 279
280 } // namespace remoting 280 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/chromeos/aura_desktop_capturer_unittest.cc ('k') | remoting/host/continue_window_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698