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

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

Issue 2167513002: Remove InsecureContentInfobarDelegate, which has been broken for a while (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix AW? Created 4 years, 4 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/renderer/content_settings_observer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ 5 #ifndef CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_
6 #define CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ 6 #define CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 // RenderFrameObserver implementation. 94 // RenderFrameObserver implementation.
95 bool OnMessageReceived(const IPC::Message& message) override; 95 bool OnMessageReceived(const IPC::Message& message) override;
96 void DidCommitProvisionalLoad(bool is_new_navigation, 96 void DidCommitProvisionalLoad(bool is_new_navigation,
97 bool is_same_page_navigation) override; 97 bool is_same_page_navigation) override;
98 void OnDestruct() override; 98 void OnDestruct() override;
99 99
100 // Message handlers. 100 // Message handlers.
101 void OnLoadBlockedPlugins(const std::string& identifier); 101 void OnLoadBlockedPlugins(const std::string& identifier);
102 void OnSetAsInterstitial(); 102 void OnSetAsInterstitial();
103 void OnSetAllowDisplayingInsecureContent(bool allow);
104 void OnSetAllowRunningInsecureContent(bool allow); 103 void OnSetAllowRunningInsecureContent(bool allow);
105 void OnReloadFrame(); 104 void OnReloadFrame();
106 void OnRequestFileSystemAccessAsyncResponse(int request_id, bool allowed); 105 void OnRequestFileSystemAccessAsyncResponse(int request_id, bool allowed);
107 106
108 // Resets the |content_blocked_| array. 107 // Resets the |content_blocked_| array.
109 void ClearBlockedContentSettings(); 108 void ClearBlockedContentSettings();
110 109
111 // Whether the observed RenderFrame is for a platform app. 110 // Whether the observed RenderFrame is for a platform app.
112 bool IsPlatformApp(); 111 bool IsPlatformApp();
113 112
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 typedef std::map<int, blink::WebContentSettingCallbacks> PermissionRequestMap; 157 typedef std::map<int, blink::WebContentSettingCallbacks> PermissionRequestMap;
159 PermissionRequestMap permission_requests_; 158 PermissionRequestMap permission_requests_;
160 159
161 // If true, IsWhitelistedForContentSettings will always return true. 160 // If true, IsWhitelistedForContentSettings will always return true.
162 const bool should_whitelist_; 161 const bool should_whitelist_;
163 162
164 DISALLOW_COPY_AND_ASSIGN(ContentSettingsObserver); 163 DISALLOW_COPY_AND_ASSIGN(ContentSettingsObserver);
165 }; 164 };
166 165
167 #endif // CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ 166 #endif // CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/renderer/content_settings_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698