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

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: Rebase for landing. 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 | 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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 // IPC message handlers. 705 // IPC message handlers.
706 void OnThemeColorChanged(SkColor theme_color); 706 void OnThemeColorChanged(SkColor theme_color);
707 void OnDidLoadResourceFromMemoryCache(const GURL& url, 707 void OnDidLoadResourceFromMemoryCache(const GURL& url,
708 const std::string& security_info, 708 const std::string& security_info,
709 const std::string& http_request, 709 const std::string& http_request,
710 const std::string& mime_type, 710 const std::string& mime_type,
711 ResourceType::Type resource_type); 711 ResourceType::Type resource_type);
712 void OnDidDisplayInsecureContent(); 712 void OnDidDisplayInsecureContent();
713 void OnDidRunInsecureContent(const std::string& security_origin, 713 void OnDidRunInsecureContent(const std::string& security_origin,
714 const GURL& target_url); 714 const GURL& target_url);
715 void OnDidDetectXSS(int32 page_id, const GURL& url, bool blocked_entire_page);
715 void OnDocumentLoadedInFrame(); 716 void OnDocumentLoadedInFrame();
716 void OnDidFinishLoad(const GURL& url); 717 void OnDidFinishLoad(const GURL& url);
717 void OnDidStartLoading(bool to_different_document); 718 void OnDidStartLoading(bool to_different_document);
718 void OnDidStopLoading(); 719 void OnDidStopLoading();
719 void OnDidChangeLoadProgress(double load_progress); 720 void OnDidChangeLoadProgress(double load_progress);
720 void OnGoToEntryAtOffset(int offset); 721 void OnGoToEntryAtOffset(int offset);
721 void OnUpdateZoomLimits(int minimum_percent, 722 void OnUpdateZoomLimits(int minimum_percent,
722 int maximum_percent); 723 int maximum_percent);
723 void OnEnumerateDirectory(int request_id, const base::FilePath& path); 724 void OnEnumerateDirectory(int request_id, const base::FilePath& path);
724 725
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 1151
1151 scoped_ptr<ScreenOrientationDispatcherHost> 1152 scoped_ptr<ScreenOrientationDispatcherHost>
1152 screen_orientation_dispatcher_host_; 1153 screen_orientation_dispatcher_host_;
1153 1154
1154 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1155 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1155 }; 1156 };
1156 1157
1157 } // namespace content 1158 } // namespace content
1158 1159
1159 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1160 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_entry_impl.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