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

Side by Side Diff: public/web/WebWidget.h

Issue 703903002: [WebGL-blink] Add test function to force fail the webgl-context (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Moving the test function to test section. Created 6 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
« no previous file with comments | « public/web/WebView.h ('k') | no next file » | 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 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 // content. 266 // content.
267 virtual WebColor backgroundColor() const { return 0xFFFFFFFF; /* SK_ColorWHI TE */ } 267 virtual WebColor backgroundColor() const { return 0xFFFFFFFF; /* SK_ColorWHI TE */ }
268 268
269 // The currently open page popup, which are calendar and datalist pickers 269 // The currently open page popup, which are calendar and datalist pickers
270 // but not the select popup. 270 // but not the select popup.
271 virtual WebPagePopup* pagePopup() const { return 0; } 271 virtual WebPagePopup* pagePopup() const { return 0; }
272 272
273 // Sets the height subtracted from the Widget to accomodate the top controls . 273 // Sets the height subtracted from the Widget to accomodate the top controls .
274 virtual void setTopControlsLayoutHeight(float) { } 274 virtual void setTopControlsLayoutHeight(float) { }
275 275
276 virtual void forceNextWebGLContextCreationToFail() { }
tkent 2014/11/13 03:37:23 Do you need this one?
sivag 2014/11/13 05:26:03 Done.
sivag 2014/11/13 05:26:03 Not needed.Removed.
277
276 protected: 278 protected:
277 ~WebWidget() { } 279 ~WebWidget() { }
278 }; 280 };
279 281
280 } // namespace blink 282 } // namespace blink
281 283
282 #endif 284 #endif
OLDNEW
« no previous file with comments | « public/web/WebView.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698