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

Side by Side Diff: ash/keyboard_overlay/keyboard_overlay_delegate.cc

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (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
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 "ash/keyboard_overlay/keyboard_overlay_delegate.h" 5 #include "ash/keyboard_overlay/keyboard_overlay_delegate.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ash/shell.h" 9 #include "ash/shell.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 18 matching lines...) Expand all
29 29
30 // A message handler for detecting the timing when the web contents is painted. 30 // A message handler for detecting the timing when the web contents is painted.
31 class PaintMessageHandler 31 class PaintMessageHandler
32 : public WebUIMessageHandler, 32 : public WebUIMessageHandler,
33 public base::SupportsWeakPtr<PaintMessageHandler> { 33 public base::SupportsWeakPtr<PaintMessageHandler> {
34 public: 34 public:
35 explicit PaintMessageHandler(views::Widget* widget) : widget_(widget) {} 35 explicit PaintMessageHandler(views::Widget* widget) : widget_(widget) {}
36 virtual ~PaintMessageHandler() {} 36 virtual ~PaintMessageHandler() {}
37 37
38 // WebUIMessageHandler implementation. 38 // WebUIMessageHandler implementation.
39 virtual void RegisterMessages() OVERRIDE; 39 virtual void RegisterMessages() override;
40 40
41 private: 41 private:
42 void DidPaint(const base::ListValue* args); 42 void DidPaint(const base::ListValue* args);
43 43
44 views::Widget* widget_; 44 views::Widget* widget_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(PaintMessageHandler); 46 DISALLOW_COPY_AND_ASSIGN(PaintMessageHandler);
47 }; 47 };
48 48
49 void PaintMessageHandler::RegisterMessages() { 49 void PaintMessageHandler::RegisterMessages() {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 bool KeyboardOverlayDelegate::ShouldShowDialogTitle() const { 139 bool KeyboardOverlayDelegate::ShouldShowDialogTitle() const {
140 return false; 140 return false;
141 } 141 }
142 142
143 bool KeyboardOverlayDelegate::HandleContextMenu( 143 bool KeyboardOverlayDelegate::HandleContextMenu(
144 const content::ContextMenuParams& params) { 144 const content::ContextMenuParams& params) {
145 return true; 145 return true;
146 } 146 }
147 147
148 } // namespace ash 148 } // namespace ash
OLDNEW
« no previous file with comments | « ash/keyboard_overlay/keyboard_overlay_delegate.h ('k') | ash/keyboard_overlay/keyboard_overlay_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698