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

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

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 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
« no previous file with comments | « remoting/host/clipboard_mac.mm ('k') | remoting/host/clipboard_x11.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 #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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 } // namespace 97 } // namespace
98 98
99 namespace remoting { 99 namespace remoting {
100 100
101 class ClipboardWin : public Clipboard { 101 class ClipboardWin : public Clipboard {
102 public: 102 public:
103 ClipboardWin(); 103 ClipboardWin();
104 104
105 virtual void Start( 105 virtual void Start(
106 scoped_ptr<protocol::ClipboardStub> client_clipboard) OVERRIDE; 106 scoped_ptr<protocol::ClipboardStub> client_clipboard) override;
107 virtual void InjectClipboardEvent( 107 virtual void InjectClipboardEvent(
108 const protocol::ClipboardEvent& event) OVERRIDE; 108 const protocol::ClipboardEvent& event) override;
109 virtual void Stop() OVERRIDE; 109 virtual void Stop() override;
110 110
111 private: 111 private:
112 void OnClipboardUpdate(); 112 void OnClipboardUpdate();
113 113
114 // Handles messages received by |window_|. 114 // Handles messages received by |window_|.
115 bool HandleMessage(UINT message, 115 bool HandleMessage(UINT message,
116 WPARAM wparam, 116 WPARAM wparam,
117 LPARAM lparam, 117 LPARAM lparam,
118 LRESULT* result); 118 LRESULT* result);
119 119
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 } 269 }
270 270
271 return false; 271 return false;
272 } 272 }
273 273
274 scoped_ptr<Clipboard> Clipboard::Create() { 274 scoped_ptr<Clipboard> Clipboard::Create() {
275 return make_scoped_ptr(new ClipboardWin()); 275 return make_scoped_ptr(new ClipboardWin());
276 } 276 }
277 277
278 } // namespace remoting 278 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/clipboard_mac.mm ('k') | remoting/host/clipboard_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698