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

Side by Side Diff: Source/core/loader/FrameLoaderClient.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 typo in comments 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google 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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 virtual void dispatchWillOpenSocketStream(SocketStreamHandle*) { } 211 virtual void dispatchWillOpenSocketStream(SocketStreamHandle*) { }
212 212
213 virtual void dispatchWillStartUsingPeerConnectionHandler(RTCPeerConnecti onHandler*) { } 213 virtual void dispatchWillStartUsingPeerConnectionHandler(RTCPeerConnecti onHandler*) { }
214 214
215 virtual void didRequestAutocomplete(PassRefPtr<FormState>) = 0; 215 virtual void didRequestAutocomplete(PassRefPtr<FormState>) = 0;
216 216
217 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett ings; } 217 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett ings; }
218 // Informs the embedder that a WebGL canvas inside this frame received a lost context 218 // Informs the embedder that a WebGL canvas inside this frame received a lost context
219 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h). 219 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h).
220 virtual void didLoseWebGLContext(int) { } 220 virtual void didLoseWebGLContext(int) { }
221 // Returns true if WebGL extension WEBGL_debug_renderer_info is allowed.
Ken Russell (switch to Gerrit) 2013/10/29 23:00:17 Could you please add a newline above this line?
Zhenyao Mo 2013/10/29 23:05:52 Done.
222 virtual bool allowWebGLDebugRendererInfo() { return false; }
221 223
222 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon. 224 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon.
223 virtual void dispatchWillInsertBody() { } 225 virtual void dispatchWillInsertBody() { }
224 226
225 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { } 227 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { }
226 228
227 virtual PassOwnPtr<WebKit::WebServiceWorkerProvider> createServiceWorker Provider(PassOwnPtr<WebKit::WebServiceWorkerProviderClient>) = 0; 229 virtual PassOwnPtr<WebKit::WebServiceWorkerProvider> createServiceWorker Provider(PassOwnPtr<WebKit::WebServiceWorkerProviderClient>) = 0;
228 230
229 virtual void didStopAllLoaders() { } 231 virtual void didStopAllLoaders() { }
230 232
231 virtual bool isFrameLoaderClientImpl() const { return false; } 233 virtual bool isFrameLoaderClientImpl() const { return false; }
232 }; 234 };
233 235
234 } // namespace WebCore 236 } // namespace WebCore
235 237
236 #endif // FrameLoaderClient_h 238 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698