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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 virtual void removePageOverlay(WebPageOverlay*) = 0; | 479 virtual void removePageOverlay(WebPageOverlay*) = 0; |
480 | 480 |
481 | 481 |
482 // i18n ----------------------------------------------------------------- | 482 // i18n ----------------------------------------------------------------- |
483 | 483 |
484 // Inform the WebView that the accept languages have changed. | 484 // Inform the WebView that the accept languages have changed. |
485 // If the WebView wants to get the accept languages value, it will have | 485 // If the WebView wants to get the accept languages value, it will have |
486 // to call the WebViewClient::acceptLanguages(). | 486 // to call the WebViewClient::acceptLanguages(). |
487 virtual void acceptLanguagesChanged() = 0; | 487 virtual void acceptLanguagesChanged() = 0; |
488 | 488 |
| 489 virtual void forceNextWebGLContextCreationToFail(bool forceFailContext) = 0; |
| 490 |
489 // Testing functionality for TestRunner --------------------------------- | 491 // Testing functionality for TestRunner --------------------------------- |
490 | 492 |
491 protected: | 493 protected: |
492 ~WebView() {} | 494 ~WebView() {} |
493 }; | 495 }; |
494 | 496 |
495 } // namespace blink | 497 } // namespace blink |
496 | 498 |
497 #endif | 499 #endif |
OLD | NEW |