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

Side by Side Diff: chrome/browser/ui/webui/options2/home_page_overlay_handler2.h

Issue 10698140: Remove "2" suffixes from options2 code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_HOME_PAGE_OVERLAY_HANDLER2_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_HOME_PAGE_OVERLAY_HANDLER2_H_
7 #pragma once
8
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h"
13 #include "chrome/browser/ui/webui/options2/options_ui2.h"
14
15 class AutocompleteController;
16
17 namespace base {
18 class DictionaryValue;
19 class ListValue;
20 }
21
22 namespace options2 {
23
24 class HomePageOverlayHandler : public OptionsPageUIHandler,
25 public AutocompleteControllerDelegate {
26 public:
27 HomePageOverlayHandler();
28 virtual ~HomePageOverlayHandler();
29
30 // OptionsPageUIHandler implementation
31 virtual void GetLocalizedValues(base::DictionaryValue*) OVERRIDE;
32 virtual void InitializeHandler() OVERRIDE;
33 virtual void RegisterMessages() OVERRIDE;
34
35 // AutocompleteControllerDelegate implementation.
36 virtual void OnResultChanged(bool default_match_changed) OVERRIDE;
37
38 private:
39 void RequestAutocompleteSuggestions(const base::ListValue* args);
40
41 scoped_ptr<AutocompleteController> autocomplete_controller_;
42
43 DISALLOW_COPY_AND_ASSIGN(HomePageOverlayHandler);
44 };
45
46 } // namespace options2
47
48 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_HOME_PAGE_OVERLAY_HANDLER2_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698