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

Side by Side Diff: remoting/host/disconnect_window_mac.mm

Issue 667123002: Standardize usage of virtual/override/final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/desktop_session_proxy.h ('k') | remoting/host/dns_blackhole_checker.h » ('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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #import "remoting/host/disconnect_window_mac.h" 7 #import "remoting/host/disconnect_window_mac.h"
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 11 matching lines...) Expand all
22 - (void)Hide; 22 - (void)Hide;
23 @end 23 @end
24 24
25 const int kMaximumConnectedNameWidthInPixels = 600; 25 const int kMaximumConnectedNameWidthInPixels = 600;
26 26
27 namespace remoting { 27 namespace remoting {
28 28
29 class DisconnectWindowMac : public HostWindow { 29 class DisconnectWindowMac : public HostWindow {
30 public: 30 public:
31 DisconnectWindowMac(); 31 DisconnectWindowMac();
32 virtual ~DisconnectWindowMac(); 32 ~DisconnectWindowMac() override;
33 33
34 // HostWindow overrides. 34 // HostWindow overrides.
35 virtual void Start( 35 void Start(const base::WeakPtr<ClientSessionControl>& client_session_control)
36 const base::WeakPtr<ClientSessionControl>& client_session_control)
37 override; 36 override;
38 37
39 private: 38 private:
40 DisconnectWindowController* window_controller_; 39 DisconnectWindowController* window_controller_;
41 40
42 DISALLOW_COPY_AND_ASSIGN(DisconnectWindowMac); 41 DISALLOW_COPY_AND_ASSIGN(DisconnectWindowMac);
43 }; 42 };
44 43
45 DisconnectWindowMac::DisconnectWindowMac() 44 DisconnectWindowMac::DisconnectWindowMac()
46 : window_controller_(nil) { 45 : window_controller_(nil) {
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 path = [NSBezierPath bezierPath]; 283 path = [NSBezierPath bezierPath];
285 [path moveToPoint:top]; 284 [path moveToPoint:top];
286 [path lineToPoint:bottom]; 285 [path lineToPoint:bottom];
287 [light setStroke]; 286 [light setStroke];
288 [path stroke]; 287 [path stroke];
289 288
290 [context setShouldAntialias:alias]; 289 [context setShouldAntialias:alias];
291 } 290 }
292 291
293 @end 292 @end
OLDNEW
« no previous file with comments | « remoting/host/desktop_session_proxy.h ('k') | remoting/host/dns_blackhole_checker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698