| OLD | NEW |
| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 BLINK_EXPORT void setMockThemeEnabledForTest(bool); | 63 BLINK_EXPORT void setMockThemeEnabledForTest(bool); |
| 64 | 64 |
| 65 // Alters the rendering of fonts for layout tests. | 65 // Alters the rendering of fonts for layout tests. |
| 66 BLINK_EXPORT void setFontAntialiasingEnabledForTest(bool); | 66 BLINK_EXPORT void setFontAntialiasingEnabledForTest(bool); |
| 67 BLINK_EXPORT bool fontAntialiasingEnabledForTest(); | 67 BLINK_EXPORT bool fontAntialiasingEnabledForTest(); |
| 68 | 68 |
| 69 // Forces the use of the complex text path for layout tests. | 69 // Forces the use of the complex text path for layout tests. |
| 70 BLINK_EXPORT void setAlwaysUseComplexTextForTest(bool); | 70 BLINK_EXPORT void setAlwaysUseComplexTextForTest(bool); |
| 71 BLINK_EXPORT bool alwaysUseComplexTextForTest(); | 71 BLINK_EXPORT bool alwaysUseComplexTextForTest(); |
| 72 | 72 |
| 73 // Enables the named log channel. See WebCore/platform/Logging.h for details. | |
| 74 BLINK_EXPORT void enableLogChannel(const char*); | |
| 75 | |
| 76 // Purge the plugin list cache. If |reloadPages| is true, any pages | 73 // Purge the plugin list cache. If |reloadPages| is true, any pages |
| 77 // containing plugins will be reloaded after refreshing the plugin list. | 74 // containing plugins will be reloaded after refreshing the plugin list. |
| 78 BLINK_EXPORT void resetPluginCache(bool reloadPages = false); | 75 BLINK_EXPORT void resetPluginCache(bool reloadPages = false); |
| 79 | 76 |
| 80 // The embedder should call this periodically in an attempt to balance overall | 77 // The embedder should call this periodically in an attempt to balance overall |
| 81 // performance and memory usage. | 78 // performance and memory usage. |
| 82 BLINK_EXPORT void decommitFreeableMemory(); | 79 BLINK_EXPORT void decommitFreeableMemory(); |
| 83 | 80 |
| 84 // Send memory pressure notification to worker thread isolate. | 81 // Send memory pressure notification to worker thread isolate. |
| 85 BLINK_EXPORT void MemoryPressureNotificationToWorkerThreadIsolates( | 82 BLINK_EXPORT void MemoryPressureNotificationToWorkerThreadIsolates( |
| 86 v8::MemoryPressureLevel); | 83 v8::MemoryPressureLevel); |
| 87 | 84 |
| 88 // Set the RAIL performance mode on all worker thread isolates. | 85 // Set the RAIL performance mode on all worker thread isolates. |
| 89 BLINK_EXPORT void setRAILModeOnWorkerThreadIsolates(v8::RAILMode); | 86 BLINK_EXPORT void setRAILModeOnWorkerThreadIsolates(v8::RAILMode); |
| 90 | 87 |
| 91 } // namespace blink | 88 } // namespace blink |
| 92 | 89 |
| 93 #endif | 90 #endif |
| OLD | NEW |