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

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: nits fixed 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
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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 void OnDidChangeLoadProgress(double load_progress); 709 void OnDidChangeLoadProgress(double load_progress);
710 void OnGoToEntryAtOffset(int offset); 710 void OnGoToEntryAtOffset(int offset);
711 void OnUpdateZoomLimits(int minimum_percent, 711 void OnUpdateZoomLimits(int minimum_percent,
712 int maximum_percent); 712 int maximum_percent);
713 void OnEnumerateDirectory(int request_id, const base::FilePath& path); 713 void OnEnumerateDirectory(int request_id, const base::FilePath& path);
714 714
715 void OnRegisterProtocolHandler(const std::string& protocol, 715 void OnRegisterProtocolHandler(const std::string& protocol,
716 const GURL& url, 716 const GURL& url,
717 const base::string16& title, 717 const base::string16& title,
718 bool user_gesture); 718 bool user_gesture);
719 void OnUnregisterProtocolHandler(const std::string& protocol,
720 const GURL& url,
721 bool user_gesture);
719 void OnFindReply(int request_id, 722 void OnFindReply(int request_id,
720 int number_of_matches, 723 int number_of_matches,
721 const gfx::Rect& selection_rect, 724 const gfx::Rect& selection_rect,
722 int active_match_ordinal, 725 int active_match_ordinal,
723 bool final_update); 726 bool final_update);
724 #if defined(OS_ANDROID) 727 #if defined(OS_ANDROID)
725 void OnFindMatchRectsReply(int version, 728 void OnFindMatchRectsReply(int version,
726 const std::vector<gfx::RectF>& rects, 729 const std::vector<gfx::RectF>& rects,
727 const gfx::RectF& active_rect); 730 const gfx::RectF& active_rect);
728 731
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 bool last_dialog_suppressed_; 1129 bool last_dialog_suppressed_;
1127 1130
1128 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; 1131 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_;
1129 1132
1130 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1133 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1131 }; 1134 };
1132 1135
1133 } // namespace content 1136 } // namespace content
1134 1137
1135 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1138 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698