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

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

Issue 304313003: Allow view-source of pages fully-blocked by Blink's XSS filter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove stray debugging include. Created 6 years, 6 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) 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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 695
696 // IPC message handlers. 696 // IPC message handlers.
697 void OnDidLoadResourceFromMemoryCache(const GURL& url, 697 void OnDidLoadResourceFromMemoryCache(const GURL& url,
698 const std::string& security_info, 698 const std::string& security_info,
699 const std::string& http_request, 699 const std::string& http_request,
700 const std::string& mime_type, 700 const std::string& mime_type,
701 ResourceType::Type resource_type); 701 ResourceType::Type resource_type);
702 void OnDidDisplayInsecureContent(); 702 void OnDidDisplayInsecureContent();
703 void OnDidRunInsecureContent(const std::string& security_origin, 703 void OnDidRunInsecureContent(const std::string& security_origin,
704 const GURL& target_url); 704 const GURL& target_url);
705 void OnDidDetectXSS(const GURL& url, bool blocked_entire_page);
705 void OnDocumentLoadedInFrame(); 706 void OnDocumentLoadedInFrame();
706 void OnDidFinishLoad(const GURL& url); 707 void OnDidFinishLoad(const GURL& url);
707 void OnDidStartLoading(bool to_different_document); 708 void OnDidStartLoading(bool to_different_document);
708 void OnDidStopLoading(); 709 void OnDidStopLoading();
709 void OnDidChangeLoadProgress(double load_progress); 710 void OnDidChangeLoadProgress(double load_progress);
710 void OnGoToEntryAtOffset(int offset); 711 void OnGoToEntryAtOffset(int offset);
711 void OnUpdateZoomLimits(int minimum_percent, 712 void OnUpdateZoomLimits(int minimum_percent,
712 int maximum_percent); 713 int maximum_percent);
713 void OnEnumerateDirectory(int request_id, const base::FilePath& path); 714 void OnEnumerateDirectory(int request_id, const base::FilePath& path);
714 715
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 bool last_dialog_suppressed_; 1127 bool last_dialog_suppressed_;
1127 1128
1128 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; 1129 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_;
1129 1130
1130 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1131 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1131 }; 1132 };
1132 1133
1133 } // namespace content 1134 } // namespace content
1134 1135
1135 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1136 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698