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

Side by Side Diff: Source/web/FrameLoaderClientImpl.h

Issue 51323003: Expose WEBGL_debug_renderer_info through a chromium finch experiment. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix member init order Created 7 years, 1 month 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
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 virtual void didChangeName(const String&); 141 virtual void didChangeName(const String&);
142 142
143 virtual void dispatchWillOpenSocketStream(WebCore::SocketStreamHandle*) OVER RIDE; 143 virtual void dispatchWillOpenSocketStream(WebCore::SocketStreamHandle*) OVER RIDE;
144 144
145 virtual void dispatchWillStartUsingPeerConnectionHandler(WebCore::RTCPeerCon nectionHandler*) OVERRIDE; 145 virtual void dispatchWillStartUsingPeerConnectionHandler(WebCore::RTCPeerCon nectionHandler*) OVERRIDE;
146 146
147 virtual void didRequestAutocomplete(PassRefPtr<WebCore::FormState>) OVERRIDE ; 147 virtual void didRequestAutocomplete(PassRefPtr<WebCore::FormState>) OVERRIDE ;
148 148
149 virtual bool allowWebGL(bool enabledPerSettings) OVERRIDE; 149 virtual bool allowWebGL(bool enabledPerSettings) OVERRIDE;
150 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) OVERRID E; 150 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) OVERRID E;
151 virtual bool allowWebGLDebugRendererInfo() OVERRIDE;
151 152
152 virtual void dispatchWillInsertBody() OVERRIDE; 153 virtual void dispatchWillInsertBody() OVERRIDE;
153 154
154 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider(Pas sOwnPtr<WebServiceWorkerProviderClient>) OVERRIDE; 155 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider(Pas sOwnPtr<WebServiceWorkerProviderClient>) OVERRIDE;
155 156
156 virtual void didStopAllLoaders() OVERRIDE; 157 virtual void didStopAllLoaders() OVERRIDE;
157 158
158 private: 159 private:
159 virtual bool isFrameLoaderClientImpl() const OVERRIDE { return true; } 160 virtual bool isFrameLoaderClientImpl() const OVERRIDE { return true; }
160 161
161 PassOwnPtr<WebPluginLoadObserver> pluginLoadObserver(); 162 PassOwnPtr<WebPluginLoadObserver> pluginLoadObserver();
162 163
163 // The WebFrame that owns this object and manages its lifetime. Therefore, 164 // The WebFrame that owns this object and manages its lifetime. Therefore,
164 // the web frame object is guaranteed to exist. 165 // the web frame object is guaranteed to exist.
165 WebFrameImpl* m_webFrame; 166 WebFrameImpl* m_webFrame;
166 }; 167 };
167 168
168 inline FrameLoaderClientImpl* toFrameLoaderClientImpl(WebCore::FrameLoaderClient * client) 169 inline FrameLoaderClientImpl* toFrameLoaderClientImpl(WebCore::FrameLoaderClient * client)
169 { 170 {
170 ASSERT_WITH_SECURITY_IMPLICATION(!client || client->isFrameLoaderClientImpl( )); 171 ASSERT_WITH_SECURITY_IMPLICATION(!client || client->isFrameLoaderClientImpl( ));
171 return static_cast<FrameLoaderClientImpl*>(client); 172 return static_cast<FrameLoaderClientImpl*>(client);
172 } 173 }
173 174
174 } // namespace WebKit 175 } // namespace WebKit
175 176
176 #endif 177 #endif
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698