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

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

Issue 660803004: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/config_file_watcher_unittest.cc ('k') | remoting/host/curtain_mode_linux.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 <gtk/gtk.h> 5 #include <gtk/gtk.h>
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "remoting/base/string_resources.h" 10 #include "remoting/base/string_resources.h"
11 #include "remoting/host/continue_window.h" 11 #include "remoting/host/continue_window.h"
12 #include "ui/base/glib/glib_signal.h" 12 #include "ui/base/glib/glib_signal.h"
13 #include "ui/base/l10n/l10n_util.h" 13 #include "ui/base/l10n/l10n_util.h"
14 14
15 namespace remoting { 15 namespace remoting {
16 16
17 class ContinueWindowGtk : public ContinueWindow { 17 class ContinueWindowGtk : public ContinueWindow {
18 public: 18 public:
19 ContinueWindowGtk(); 19 ContinueWindowGtk();
20 virtual ~ContinueWindowGtk(); 20 ~ContinueWindowGtk() override;
21 21
22 protected: 22 protected:
23 // ContinueWindow overrides. 23 // ContinueWindow overrides.
24 virtual void ShowUi() override; 24 void ShowUi() override;
25 virtual void HideUi() override; 25 void HideUi() override;
26 26
27 private: 27 private:
28 void CreateWindow(); 28 void CreateWindow();
29 29
30 CHROMEG_CALLBACK_1(ContinueWindowGtk, void, OnResponse, GtkDialog*, int); 30 CHROMEG_CALLBACK_1(ContinueWindowGtk, void, OnResponse, GtkDialog*, int);
31 31
32 GtkWidget* continue_window_; 32 GtkWidget* continue_window_;
33 33
34 DISALLOW_COPY_AND_ASSIGN(ContinueWindowGtk); 34 DISALLOW_COPY_AND_ASSIGN(ContinueWindowGtk);
35 }; 35 };
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 HideUi(); 113 HideUi();
114 } 114 }
115 115
116 // static 116 // static
117 scoped_ptr<HostWindow> HostWindow::CreateContinueWindow() { 117 scoped_ptr<HostWindow> HostWindow::CreateContinueWindow() {
118 return make_scoped_ptr(new ContinueWindowGtk()); 118 return make_scoped_ptr(new ContinueWindowGtk());
119 } 119 }
120 120
121 } // namespace remoting 121 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/config_file_watcher_unittest.cc ('k') | remoting/host/curtain_mode_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698