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

Side by Side Diff: chrome/renderer/chrome_render_view_observer.h

Issue 8773035: Content settings: allow scripts on interstitial pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review. Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ 5 #ifndef CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ 6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 WebKit::WebFrame* frame, 105 WebKit::WebFrame* frame,
106 bool allowed_per_settings, 106 bool allowed_per_settings,
107 const WebKit::WebSecurityOrigin& context, 107 const WebKit::WebSecurityOrigin& context,
108 const WebKit::WebURL& url) OVERRIDE; 108 const WebKit::WebURL& url) OVERRIDE;
109 virtual bool allowRunningInsecureContent( 109 virtual bool allowRunningInsecureContent(
110 WebKit::WebFrame* frame, 110 WebKit::WebFrame* frame,
111 bool allowed_per_settings, 111 bool allowed_per_settings,
112 const WebKit::WebSecurityOrigin& context, 112 const WebKit::WebSecurityOrigin& context,
113 const WebKit::WebURL& url) OVERRIDE; 113 const WebKit::WebURL& url) OVERRIDE;
114 virtual void Navigate(const GURL& url) OVERRIDE; 114 virtual void Navigate(const GURL& url) OVERRIDE;
115 virtual void SetAsInterstitial() OVERRIDE;
115 116
116 void OnWebUIJavaScript(const string16& frame_xpath, 117 void OnWebUIJavaScript(const string16& frame_xpath,
117 const string16& jscript, 118 const string16& jscript,
118 int id, 119 int id,
119 bool notify_result); 120 bool notify_result);
120 void OnCaptureSnapshot(); 121 void OnCaptureSnapshot();
121 void OnHandleMessageFromExternalHost(const std::string& message, 122 void OnHandleMessageFromExternalHost(const std::string& message,
122 const std::string& origin, 123 const std::string& origin,
123 const std::string& target); 124 const std::string& target);
124 void OnJavaScriptStressTestControl(int cmd, int param); 125 void OnJavaScriptStressTestControl(int cmd, int param);
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 typedef std::vector<linked_ptr<webkit_glue::ImageResourceFetcher> > 218 typedef std::vector<linked_ptr<webkit_glue::ImageResourceFetcher> >
218 ImageResourceFetcherList; 219 ImageResourceFetcherList;
219 220
220 // ImageResourceFetchers schedule via DownloadImage. 221 // ImageResourceFetchers schedule via DownloadImage.
221 ImageResourceFetcherList image_fetchers_; 222 ImageResourceFetcherList image_fetchers_;
222 223
223 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); 224 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver);
224 }; 225 };
225 226
226 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ 227 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/chrome_render_view_observer.cc » ('j') | content/renderer/render_view_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698