Chromium Code Reviews| Index: content/browser/web_contents/web_contents_impl.cc |
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
| index 0ef81c6f8e121997fd50d10168b1af10b2f250c9..82bc8fb98faa17a40c71be767af4a094874c1382 100644 |
| --- a/content/browser/web_contents/web_contents_impl.cc |
| +++ b/content/browser/web_contents/web_contents_impl.cc |
| @@ -2352,6 +2352,15 @@ void WebContentsImpl::OnBrowserPluginCreateGuest( |
| params); |
| } |
| +void WebContentsImpl::DidBlock3DAPIs(const GURL& url, |
| + content::ThreeDAPIType requester) { |
| + ObserverListBase<WebContentsObserver>::Iterator it(observers_); |
| + WebContentsObserver* observer; |
| + while ((observer = it.GetNext()) != NULL) { |
| + observer->DidBlock3DAPIs(url, requester); |
| + } |
|
jam
2012/11/15 16:57:25
this could be written as
FOR_EACH_OBSERVER(WebCon
Ken Russell (switch to Gerrit)
2012/11/15 20:53:25
Done.
|
| +} |
| + |
| // Notifies the RenderWidgetHost instance about the fact that the page is |
| // loading, or done loading and calls the base implementation. |
| void WebContentsImpl::SetIsLoading(bool is_loading, |