| Index: chrome/browser/ui/browser.h
|
| ===================================================================
|
| --- chrome/browser/ui/browser.h (revision 98271)
|
| +++ chrome/browser/ui/browser.h (working copy)
|
| @@ -650,6 +650,30 @@
|
| static void EnumerateDirectoryHelper(TabContents* tab, int request_id,
|
| const FilePath& path);
|
|
|
| + // Helper function to handle JS out of memory notifications
|
| + static void JSOutOfMemoryHelper(TabContents* tab);
|
| +
|
| + // Helper function to register a protocol handler.
|
| + static void RegisterProtocolHandlerHelper(TabContents* tab,
|
| + const std::string& protocol,
|
| + const GURL& url,
|
| + const string16& title);
|
| +
|
| + // Helper function to register an intent handler.
|
| + static void RegisterIntentHandlerHelper(TabContents* tab,
|
| + const string16& action,
|
| + const string16& type,
|
| + const string16& href,
|
| + const string16& title);
|
| +
|
| + // Helper function to handle WebIntent notifications.
|
| + static void WebIntentDispatchHelper(TabContents* tab,
|
| + int routing_id,
|
| + const string16& action,
|
| + const string16& type,
|
| + const string16& data,
|
| + int intent_id);
|
| +
|
| // Calls ExecuteCommandWithDisposition with the given disposition.
|
| void ExecuteCommandWithDisposition(int id, WindowOpenDisposition);
|
|
|
| @@ -909,6 +933,22 @@
|
| const FilePath& path) OVERRIDE;
|
| virtual void ToggleFullscreenModeForTab(TabContents* tab,
|
| bool enter_fullscreen) OVERRIDE;
|
| + virtual void JSOutOfMemory(TabContents* tab) OVERRIDE;
|
| + virtual void RegisterProtocolHandler(TabContents* tab,
|
| + const std::string& protocol,
|
| + const GURL& url,
|
| + const string16& title) OVERRIDE;
|
| + virtual void RegisterIntentHandler(TabContents* tab,
|
| + const string16& action,
|
| + const string16& type,
|
| + const string16& href,
|
| + const string16& title) OVERRIDE;
|
| + virtual void WebIntentDispatch(TabContents* tab,
|
| + int routing_id,
|
| + const string16& action,
|
| + const string16& type,
|
| + const string16& data,
|
| + int intent_id) OVERRIDE;
|
|
|
| // Overridden from TabContentsWrapperDelegate:
|
| virtual void OnDidGetApplicationInfo(TabContentsWrapper* source,
|
|
|