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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 368243009: Implement unregisterProtocolHandler() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 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
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 void OnDidChangeLoadProgress(double load_progress); 719 void OnDidChangeLoadProgress(double load_progress);
720 void OnGoToEntryAtOffset(int offset); 720 void OnGoToEntryAtOffset(int offset);
721 void OnUpdateZoomLimits(int minimum_percent, 721 void OnUpdateZoomLimits(int minimum_percent,
722 int maximum_percent); 722 int maximum_percent);
723 void OnEnumerateDirectory(int request_id, const base::FilePath& path); 723 void OnEnumerateDirectory(int request_id, const base::FilePath& path);
724 724
725 void OnRegisterProtocolHandler(const std::string& protocol, 725 void OnRegisterProtocolHandler(const std::string& protocol,
726 const GURL& url, 726 const GURL& url,
727 const base::string16& title, 727 const base::string16& title,
728 bool user_gesture); 728 bool user_gesture);
729 void OnUnregisterProtocolHandler(const std::string& protocol,
730 const GURL& url,
731 bool user_gesture);
729 void OnFindReply(int request_id, 732 void OnFindReply(int request_id,
730 int number_of_matches, 733 int number_of_matches,
731 const gfx::Rect& selection_rect, 734 const gfx::Rect& selection_rect,
732 int active_match_ordinal, 735 int active_match_ordinal,
733 bool final_update); 736 bool final_update);
734 #if defined(OS_ANDROID) 737 #if defined(OS_ANDROID)
735 void OnFindMatchRectsReply(int version, 738 void OnFindMatchRectsReply(int version,
736 const std::vector<gfx::RectF>& rects, 739 const std::vector<gfx::RectF>& rects,
737 const gfx::RectF& active_rect); 740 const gfx::RectF& active_rect);
738 741
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 1153
1151 scoped_ptr<ScreenOrientationDispatcherHost> 1154 scoped_ptr<ScreenOrientationDispatcherHost>
1152 screen_orientation_dispatcher_host_; 1155 screen_orientation_dispatcher_host_;
1153 1156
1154 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1157 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1155 }; 1158 };
1156 1159
1157 } // namespace content 1160 } // namespace content
1158 1161
1159 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1162 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698