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

Side by Side Diff: ui/ozone/public/input_controller.cc

Issue 808333004: virtual/override specifier cleanup in ui/ (mostly Ozone code). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 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 | « ui/ozone/platform/egltest/ozone_platform_egltest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ui/ozone/public/input_controller.h" 5 #include "ui/ozone/public/input_controller.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 9
10 namespace ui { 10 namespace ui {
11 11
12 namespace { 12 namespace {
13 13
14 class StubInputController : public InputController { 14 class StubInputController : public InputController {
15 public: 15 public:
16 StubInputController(); 16 StubInputController();
17 virtual ~StubInputController(); 17 ~StubInputController() override;
18 18
19 // InputController: 19 // InputController:
20 bool HasMouse() override; 20 bool HasMouse() override;
21 bool HasTouchpad() override; 21 bool HasTouchpad() override;
22 bool IsCapsLockEnabled() override; 22 bool IsCapsLockEnabled() override;
23 void SetCapsLockEnabled(bool enabled) override; 23 void SetCapsLockEnabled(bool enabled) override;
24 void SetNumLockEnabled(bool enabled) override; 24 void SetNumLockEnabled(bool enabled) override;
25 bool IsAutoRepeatEnabled() override; 25 bool IsAutoRepeatEnabled() override;
26 void SetAutoRepeatEnabled(bool enabled) override; 26 void SetAutoRepeatEnabled(bool enabled) override;
27 void SetAutoRepeatRate(const base::TimeDelta& delay, 27 void SetAutoRepeatRate(const base::TimeDelta& delay,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 NOTIMPLEMENTED(); 119 NOTIMPLEMENTED();
120 } 120 }
121 121
122 } // namespace 122 } // namespace
123 123
124 scoped_ptr<InputController> CreateStubInputController() { 124 scoped_ptr<InputController> CreateStubInputController() {
125 return make_scoped_ptr(new StubInputController); 125 return make_scoped_ptr(new StubInputController);
126 } 126 }
127 127
128 } // namespace ui 128 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/platform/egltest/ozone_platform_egltest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698