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

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

Issue 294023010: Implement unregisterProtocolHandler() for content layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WIP 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 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 void OnDidChangeLoadProgress(double load_progress); 723 void OnDidChangeLoadProgress(double load_progress);
724 void OnGoToEntryAtOffset(int offset); 724 void OnGoToEntryAtOffset(int offset);
725 void OnUpdateZoomLimits(int minimum_percent, 725 void OnUpdateZoomLimits(int minimum_percent,
726 int maximum_percent); 726 int maximum_percent);
727 void OnEnumerateDirectory(int request_id, const base::FilePath& path); 727 void OnEnumerateDirectory(int request_id, const base::FilePath& path);
728 728
729 void OnRegisterProtocolHandler(const std::string& protocol, 729 void OnRegisterProtocolHandler(const std::string& protocol,
730 const GURL& url, 730 const GURL& url,
731 const base::string16& title, 731 const base::string16& title,
732 bool user_gesture); 732 bool user_gesture);
733 void OnUnregisterProtocolHandler(const std::string& protocol,
734 const GURL& url,
735 bool user_gesture);
733 void OnFindReply(int request_id, 736 void OnFindReply(int request_id,
734 int number_of_matches, 737 int number_of_matches,
735 const gfx::Rect& selection_rect, 738 const gfx::Rect& selection_rect,
736 int active_match_ordinal, 739 int active_match_ordinal,
737 bool final_update); 740 bool final_update);
738 #if defined(OS_ANDROID) 741 #if defined(OS_ANDROID)
739 void OnFindMatchRectsReply(int version, 742 void OnFindMatchRectsReply(int version,
740 const std::vector<gfx::RectF>& rects, 743 const std::vector<gfx::RectF>& rects,
741 const gfx::RectF& active_rect); 744 const gfx::RectF& active_rect);
742 745
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
1155 1158
1156 scoped_ptr<ScreenOrientationDispatcherHost> 1159 scoped_ptr<ScreenOrientationDispatcherHost>
1157 screen_orientation_dispatcher_host_; 1160 screen_orientation_dispatcher_host_;
1158 1161
1159 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1162 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1160 }; 1163 };
1161 1164
1162 } // namespace content 1165 } // namespace content
1163 1166
1164 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1167 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | content/browser/web_contents/web_contents_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698