123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- #ifndef THIRD_PARTY_BLINK_PUBLIC_WEB_BLINK_H_
- #define THIRD_PARTY_BLINK_PUBLIC_WEB_BLINK_H_
- #include "third_party/blink/public/platform/platform.h"
- #include "third_party/blink/public/platform/web_string.h"
- #include "v8/include/v8.h"
- namespace mojo {
- class BinderMap;
- }
- namespace blink {
- BLINK_EXPORT void Initialize(
- Platform*,
- mojo::BinderMap*,
- scheduler::WebThreadScheduler* main_thread_scheduler);
- BLINK_EXPORT void CreateMainThreadAndInitialize(Platform*, mojo::BinderMap*);
- BLINK_EXPORT v8::Isolate* MainThreadIsolate();
- BLINK_EXPORT void SetWebTestMode(bool);
- BLINK_EXPORT bool WebTestMode();
- BLINK_EXPORT void SetFontAntialiasingEnabledForTest(bool);
- BLINK_EXPORT bool FontAntialiasingEnabledForTest();
- BLINK_EXPORT void ResetPluginCache(bool reload_pages = false);
- BLINK_EXPORT void DecommitFreeableMemory();
- BLINK_EXPORT void MemoryPressureNotificationToWorkerThreadIsolates(
- v8::MemoryPressureLevel);
- BLINK_EXPORT void LogRuntimeCallStats();
- BLINK_EXPORT void SetDomainRelaxationForbiddenForTest(bool forbidden,
- const WebString& scheme);
- BLINK_EXPORT void ResetDomainRelaxationForTest();
- BLINK_EXPORT void ForceNextWebGLContextCreationToFailForTest();
- BLINK_EXPORT void ForceNextDrawingBufferCreationToFailForTest();
- BLINK_EXPORT void SetIsCrossOriginIsolated(bool value);
- }
- #endif
|