| Index: chrome/browser/dom_ui/tips_handler.h
|
| ===================================================================
|
| --- chrome/browser/dom_ui/tips_handler.h (revision 33574)
|
| +++ chrome/browser/dom_ui/tips_handler.h (working copy)
|
| @@ -9,6 +9,8 @@
|
| #ifndef CHROME_BROWSER_DOM_UI_TIPS_HANDLER_H_
|
| #define CHROME_BROWSER_DOM_UI_TIPS_HANDLER_H_
|
|
|
| +#include <string>
|
| +
|
| #include "chrome/browser/dom_ui/dom_ui.h"
|
|
|
| class DictionaryValue;
|
| @@ -35,6 +37,11 @@
|
| // Make sure the string we are pushing to the NTP is a valid URL.
|
| bool IsValidURL(const std::wstring& url_string);
|
|
|
| + // Send a tip to the NTP. tip_type is "tip_html_text" if the tip is from
|
| + // the tip server, and "set_homepage_tip" if it's the tip to set the NTP
|
| + // as home page.
|
| + void SendTip(std::string tip, std::wstring tip_type, int tip_index);
|
| +
|
| // So we can push data out to the page that has called this handler.
|
| DOMUI* dom_ui_;
|
|
|
|
|