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

Side by Side Diff: chrome/browser/tab_contents/tab_contents.h

Issue 6410115: Adds navigator.registerProtocolHandler. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
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 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 RenderViewHost* render_view_host, 932 RenderViewHost* render_view_host,
933 int32 page_id); 933 int32 page_id);
934 virtual void RequestOpenURL(const GURL& url, const GURL& referrer, 934 virtual void RequestOpenURL(const GURL& url, const GURL& referrer,
935 WindowOpenDisposition disposition); 935 WindowOpenDisposition disposition);
936 virtual void DomOperationResponse(const std::string& json_string, 936 virtual void DomOperationResponse(const std::string& json_string,
937 int automation_id); 937 int automation_id);
938 virtual void ProcessDOMUIMessage(const ViewHostMsg_DomMessage_Params& params); 938 virtual void ProcessDOMUIMessage(const ViewHostMsg_DomMessage_Params& params);
939 virtual void ProcessExternalHostMessage(const std::string& message, 939 virtual void ProcessExternalHostMessage(const std::string& message,
940 const std::string& origin, 940 const std::string& origin,
941 const std::string& target); 941 const std::string& target);
942 virtual void RegisterProtocolHandler(const std::string& protocol,
943 const std::string& url,
944 const std::string& title);
945
942 virtual void RunJavaScriptMessage(const std::wstring& message, 946 virtual void RunJavaScriptMessage(const std::wstring& message,
943 const std::wstring& default_prompt, 947 const std::wstring& default_prompt,
944 const GURL& frame_url, 948 const GURL& frame_url,
945 const int flags, 949 const int flags,
946 IPC::Message* reply_msg, 950 IPC::Message* reply_msg,
947 bool* did_suppress_message); 951 bool* did_suppress_message);
948 virtual void RunBeforeUnloadConfirm(const std::wstring& message, 952 virtual void RunBeforeUnloadConfirm(const std::wstring& message,
949 IPC::Message* reply_msg); 953 IPC::Message* reply_msg);
950 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, 954 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height,
951 const std::string& json_arguments, 955 const std::string& json_arguments,
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
1247 ObserverList<TabContentsObserver> observers_; 1251 ObserverList<TabContentsObserver> observers_;
1248 1252
1249 // Content restrictions, used to disable print/copy etc based on content's 1253 // Content restrictions, used to disable print/copy etc based on content's
1250 // (full-page plugins for now only) permissions. 1254 // (full-page plugins for now only) permissions.
1251 int content_restrictions_; 1255 int content_restrictions_;
1252 1256
1253 DISALLOW_COPY_AND_ASSIGN(TabContents); 1257 DISALLOW_COPY_AND_ASSIGN(TabContents);
1254 }; 1258 };
1255 1259
1256 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1260 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698