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

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

Issue 736723002: Expose defersLoading API (for tests) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 | « Source/web/WebViewImpl.cpp ('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, 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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 496 // Force the webgl context to fail so that webglcontextcreationerror
497 // event gets generated/tested. 497 // event gets generated/tested.
498 virtual void forceNextWebGLContextCreationToFail() = 0; 498 virtual void forceNextWebGLContextCreationToFail() = 0;
499 499
500 // Proxies for the same API in Page.
501 virtual bool defersLoading() const = 0;
502 virtual void setDefersLoading(bool value) = 0;
503
500 protected: 504 protected:
501 ~WebView() {} 505 ~WebView() {}
502 }; 506 };
503 507
504 } // namespace blink 508 } // namespace blink
505 509
506 #endif 510 #endif
OLDNEW
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698