OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 | 486 |
487 // i18n ----------------------------------------------------------------- | 487 // i18n ----------------------------------------------------------------- |
488 | 488 |
489 // Inform the WebView that the accept languages have changed. | 489 // Inform the WebView that the accept languages have changed. |
490 // If the WebView wants to get the accept languages value, it will have | 490 // If the WebView wants to get the accept languages value, it will have |
491 // to call the WebViewClient::acceptLanguages(). | 491 // to call the WebViewClient::acceptLanguages(). |
492 virtual void acceptLanguagesChanged() = 0; | 492 virtual void acceptLanguagesChanged() = 0; |
493 | 493 |
494 // Testing functionality for TestRunner --------------------------------- | 494 // Testing functionality for TestRunner --------------------------------- |
495 | 495 |
| 496 // Force the webgl context to fail so that webglcontextcreationerror |
| 497 // event gets generated/tested. |
| 498 virtual void forceNextWebGLContextCreationToFail() = 0; |
| 499 |
496 protected: | 500 protected: |
497 ~WebView() {} | 501 ~WebView() {} |
498 }; | 502 }; |
499 | 503 |
500 } // namespace blink | 504 } // namespace blink |
501 | 505 |
502 #endif | 506 #endif |
OLD | NEW |