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

Side by Side Diff: chrome/browser/dom_ui/tips_handler.h

Issue 6541006: WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. Part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This class pulls data from a web resource (such as a JSON feed) which 5 // This class pulls data from a web resource (such as a JSON feed) which
6 // has been stored in the user's preferences file. Used mainly 6 // has been stored in the user's preferences file. Used mainly
7 // by the suggestions and tips area of the new tab page. 7 // by the suggestions and tips area of the new tab page.
8 8
9 #ifndef CHROME_BROWSER_DOM_UI_TIPS_HANDLER_H_ 9 #ifndef CHROME_BROWSER_DOM_UI_TIPS_HANDLER_H_
10 #define CHROME_BROWSER_DOM_UI_TIPS_HANDLER_H_ 10 #define CHROME_BROWSER_DOM_UI_TIPS_HANDLER_H_
11 #pragma once 11 #pragma once
12 12
13 #include <string> 13 #include <string>
14 14
15 #include "chrome/browser/dom_ui/web_ui.h" 15 #include "chrome/browser/webui/web_ui.h"
16 16
17 class DictionaryValue; 17 class DictionaryValue;
18 class ListValue; 18 class ListValue;
19 class PrefService; 19 class PrefService;
20 20
21 class TipsHandler : public WebUIMessageHandler { 21 class TipsHandler : public WebUIMessageHandler {
22 public: 22 public:
23 TipsHandler() : tips_cache_(NULL) {} 23 TipsHandler() : tips_cache_(NULL) {}
24 virtual ~TipsHandler() {} 24 virtual ~TipsHandler() {}
25 25
(...skipping 21 matching lines...) Expand all
47 WebUI* web_ui_; 47 WebUI* web_ui_;
48 48
49 // Filled with data from cache in preferences. 49 // Filled with data from cache in preferences.
50 DictionaryValue* tips_cache_; 50 DictionaryValue* tips_cache_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(TipsHandler); 52 DISALLOW_COPY_AND_ASSIGN(TipsHandler);
53 }; 53 };
54 54
55 #endif // CHROME_BROWSER_DOM_UI_TIPS_HANDLER_H_ 55 #endif // CHROME_BROWSER_DOM_UI_TIPS_HANDLER_H_
56 56
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/textfields_ui.h ('k') | chrome/browser/dom_ui/web_ui_handler_browsertest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698