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

Side by Side Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 1550233002: Move mixed content settings histograms into browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo fix Created 4 years, 11 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 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 // Specifies the reason for the detachment. 165 // Specifies the reason for the detachment.
166 enum class DetachType { Remove, Swap }; 166 enum class DetachType { Remove, Swap };
167 167
168 // This frame has been detached from the view, but has not been closed yet. 168 // This frame has been detached from the view, but has not been closed yet.
169 virtual void frameDetached(WebFrame*, DetachType) { } 169 virtual void frameDetached(WebFrame*, DetachType) { }
170 170
171 // This frame has become focused.. 171 // This frame has become focused..
172 virtual void frameFocused() { } 172 virtual void frameFocused() { }
173 173
174 virtual void triedDisplayingInsecureContent(const WebSecurityOrigin&, const WebURL&) {}
175 virtual void triedRunningInsecureContent(const WebSecurityOrigin&, const Web URL&) {}
176
174 // This frame is about to be closed. This is called after frameDetached, 177 // This frame is about to be closed. This is called after frameDetached,
175 // when the document is being unloaded, due to new one committing. 178 // when the document is being unloaded, due to new one committing.
176 virtual void willClose(WebFrame*) { } 179 virtual void willClose(WebFrame*) { }
177 180
178 // This frame's name has changed. 181 // This frame's name has changed.
179 virtual void didChangeName(WebLocalFrame*, const WebString&) { } 182 virtual void didChangeName(WebLocalFrame*, const WebString&) { }
180 183
181 // This frame has been set to enforce strict mixed content checking. 184 // This frame has been set to enforce strict mixed content checking.
182 virtual void didEnforceStrictMixedContentChecking() {} 185 virtual void didEnforceStrictMixedContentChecking() {}
183 186
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 // This method takes ownership of the callbacks pointer. 701 // This method takes ownership of the callbacks pointer.
699 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } 702 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
700 703
701 protected: 704 protected:
702 virtual ~WebFrameClient() { } 705 virtual ~WebFrameClient() { }
703 }; 706 };
704 707
705 } // namespace blink 708 } // namespace blink
706 709
707 #endif 710 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698