| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 BLINK_EXPORT void shutdownWithoutV8(); | 71 BLINK_EXPORT void shutdownWithoutV8(); |
| 72 | 72 |
| 73 // Alters the rendering of content to conform to a fixed set of rules. | 73 // Alters the rendering of content to conform to a fixed set of rules. |
| 74 BLINK_EXPORT void setLayoutTestMode(bool); | 74 BLINK_EXPORT void setLayoutTestMode(bool); |
| 75 BLINK_EXPORT bool layoutTestMode(); | 75 BLINK_EXPORT bool layoutTestMode(); |
| 76 | 76 |
| 77 // Alters the rendering of fonts for layout tests. | 77 // Alters the rendering of fonts for layout tests. |
| 78 BLINK_EXPORT void setFontAntialiasingEnabledForTest(bool); | 78 BLINK_EXPORT void setFontAntialiasingEnabledForTest(bool); |
| 79 BLINK_EXPORT bool fontAntialiasingEnabledForTest(); | 79 BLINK_EXPORT bool fontAntialiasingEnabledForTest(); |
| 80 | 80 |
| 81 // Forces the use of the complex text path for layout tests. |
| 82 BLINK_EXPORT void setAlwaysUseComplexTextForTest(bool); |
| 83 BLINK_EXPORT bool alwaysUseComplexTextForTest(); |
| 84 |
| 81 // Enables the named log channel. See WebCore/platform/Logging.h for details. | 85 // Enables the named log channel. See WebCore/platform/Logging.h for details. |
| 82 BLINK_EXPORT void enableLogChannel(const char*); | 86 BLINK_EXPORT void enableLogChannel(const char*); |
| 83 | 87 |
| 84 // Purge the plugin list cache. If |reloadPages| is true, any pages | 88 // Purge the plugin list cache. If |reloadPages| is true, any pages |
| 85 // containing plugins will be reloaded after refreshing the plugin list. | 89 // containing plugins will be reloaded after refreshing the plugin list. |
| 86 BLINK_EXPORT void resetPluginCache(bool reloadPages = false); | 90 BLINK_EXPORT void resetPluginCache(bool reloadPages = false); |
| 87 | 91 |
| 88 // The embedder should call this periodically in an attempt to balance overall | 92 // The embedder should call this periodically in an attempt to balance overall |
| 89 // performance and memory usage. | 93 // performance and memory usage. |
| 90 BLINK_EXPORT void decommitFreeableMemory(); | 94 BLINK_EXPORT void decommitFreeableMemory(); |
| 91 | 95 |
| 92 } // namespace blink | 96 } // namespace blink |
| 93 | 97 |
| 94 #endif | 98 #endif |
| OLD | NEW |