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

Side by Side Diff: chrome/browser/ui/webui/options/home_page_overlay_handler.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_HOME_PAGE_OVERLAY_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_HOME_PAGE_OVERLAY_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_HOME_PAGE_OVERLAY_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_HOME_PAGE_OVERLAY_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" 11 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h"
12 #include "chrome/browser/ui/webui/options/options_ui.h" 12 #include "chrome/browser/ui/webui/options/options_ui.h"
13 13
14 class AutocompleteController; 14 class AutocompleteController;
15 15
16 namespace base { 16 namespace base {
17 class DictionaryValue; 17 class DictionaryValue;
18 class ListValue; 18 class ListValue;
19 } 19 }
20 20
21 namespace options { 21 namespace options {
22 22
23 class HomePageOverlayHandler : public OptionsPageUIHandler, 23 class HomePageOverlayHandler : public OptionsPageUIHandler,
24 public AutocompleteControllerDelegate { 24 public AutocompleteControllerDelegate {
25 public: 25 public:
26 HomePageOverlayHandler(); 26 HomePageOverlayHandler();
27 virtual ~HomePageOverlayHandler(); 27 ~HomePageOverlayHandler() override;
28 28
29 // OptionsPageUIHandler implementation 29 // OptionsPageUIHandler implementation
30 virtual void GetLocalizedValues(base::DictionaryValue*) override; 30 void GetLocalizedValues(base::DictionaryValue*) override;
31 virtual void InitializeHandler() override; 31 void InitializeHandler() override;
32 virtual void RegisterMessages() override; 32 void RegisterMessages() override;
33 33
34 // AutocompleteControllerDelegate implementation. 34 // AutocompleteControllerDelegate implementation.
35 virtual void OnResultChanged(bool default_match_changed) override; 35 void OnResultChanged(bool default_match_changed) override;
36 36
37 private: 37 private:
38 void RequestAutocompleteSuggestions(const base::ListValue* args); 38 void RequestAutocompleteSuggestions(const base::ListValue* args);
39 39
40 scoped_ptr<AutocompleteController> autocomplete_controller_; 40 scoped_ptr<AutocompleteController> autocomplete_controller_;
41 41
42 DISALLOW_COPY_AND_ASSIGN(HomePageOverlayHandler); 42 DISALLOW_COPY_AND_ASSIGN(HomePageOverlayHandler);
43 }; 43 };
44 44
45 } // namespace options 45 } // namespace options
46 46
47 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_HOME_PAGE_OVERLAY_HANDLER_H_ 47 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_HOME_PAGE_OVERLAY_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698