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

Side by Side Diff: ui/keyboard/webui/vk_webui_controller.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (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
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 #ifndef UI_KEYBOARD_WEBUI_VK_WEBUI_CONTROLLER_H_ 5 #ifndef UI_KEYBOARD_WEBUI_VK_WEBUI_CONTROLLER_H_
6 #define UI_KEYBOARD_WEBUI_VK_WEBUI_CONTROLLER_H_ 6 #define UI_KEYBOARD_WEBUI_VK_WEBUI_CONTROLLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 15 matching lines...) Expand all
26 class VKWebUIController : public content::WebUIController { 26 class VKWebUIController : public content::WebUIController {
27 public: 27 public:
28 explicit VKWebUIController(content::WebUI* web_ui); 28 explicit VKWebUIController(content::WebUI* web_ui);
29 virtual ~VKWebUIController(); 29 virtual ~VKWebUIController();
30 30
31 private: 31 private:
32 void CreateAndStoreUIHandler( 32 void CreateAndStoreUIHandler(
33 mojo::InterfaceRequest<KeyboardUIHandlerMojo> request); 33 mojo::InterfaceRequest<KeyboardUIHandlerMojo> request);
34 34
35 // content::WebUIController: 35 // content::WebUIController:
36 virtual void RenderViewCreated(content::RenderViewHost* host) OVERRIDE; 36 virtual void RenderViewCreated(content::RenderViewHost* host) override;
37 37
38 scoped_ptr<VKMojoHandler> ui_handler_; 38 scoped_ptr<VKMojoHandler> ui_handler_;
39 base::WeakPtrFactory<VKWebUIController> weak_factory_; 39 base::WeakPtrFactory<VKWebUIController> weak_factory_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(VKWebUIController); 41 DISALLOW_COPY_AND_ASSIGN(VKWebUIController);
42 }; 42 };
43 43
44 class KEYBOARD_EXPORT VKWebUIControllerFactory 44 class KEYBOARD_EXPORT VKWebUIControllerFactory
45 : public content::WebUIControllerFactory { 45 : public content::WebUIControllerFactory {
46 public: 46 public:
47 // WebUIControllerFactory: 47 // WebUIControllerFactory:
48 virtual content::WebUI::TypeID GetWebUIType( 48 virtual content::WebUI::TypeID GetWebUIType(
49 content::BrowserContext* browser_context, 49 content::BrowserContext* browser_context,
50 const GURL& url) const OVERRIDE; 50 const GURL& url) const override;
51 virtual bool UseWebUIForURL(content::BrowserContext* browser_context, 51 virtual bool UseWebUIForURL(content::BrowserContext* browser_context,
52 const GURL& url) const OVERRIDE; 52 const GURL& url) const override;
53 virtual bool UseWebUIBindingsForURL(content::BrowserContext* browser_context, 53 virtual bool UseWebUIBindingsForURL(content::BrowserContext* browser_context,
54 const GURL& url) const OVERRIDE; 54 const GURL& url) const override;
55 virtual content::WebUIController* CreateWebUIControllerForURL( 55 virtual content::WebUIController* CreateWebUIControllerForURL(
56 content::WebUI* web_ui, 56 content::WebUI* web_ui,
57 const GURL& url) const OVERRIDE; 57 const GURL& url) const override;
58 58
59 static VKWebUIControllerFactory* GetInstance(); 59 static VKWebUIControllerFactory* GetInstance();
60 60
61 protected: 61 protected:
62 VKWebUIControllerFactory(); 62 VKWebUIControllerFactory();
63 virtual ~VKWebUIControllerFactory(); 63 virtual ~VKWebUIControllerFactory();
64 64
65 private: 65 private:
66 friend struct DefaultSingletonTraits<VKWebUIControllerFactory>; 66 friend struct DefaultSingletonTraits<VKWebUIControllerFactory>;
67 67
68 DISALLOW_COPY_AND_ASSIGN(VKWebUIControllerFactory); 68 DISALLOW_COPY_AND_ASSIGN(VKWebUIControllerFactory);
69 }; 69 };
70 70
71 } // namespace keyboard 71 } // namespace keyboard
72 72
73 #endif // UI_KEYBOARD_WEBUI_VK_WEBUI_CONTROLLER_H_ 73 #endif // UI_KEYBOARD_WEBUI_VK_WEBUI_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/keyboard/webui/vk_mojo_handler.h ('k') | ui/message_center/cocoa/notification_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698