| 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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 | 406 |
| 407 | 407 |
| 408 // Visited link state -------------------------------------------------- | 408 // Visited link state -------------------------------------------------- |
| 409 | 409 |
| 410 // Tells all WebView instances to update the visited link state for the | 410 // Tells all WebView instances to update the visited link state for the |
| 411 // specified hash. | 411 // specified hash. |
| 412 BLINK_EXPORT static void updateVisitedLinkState(unsigned long long hash); | 412 BLINK_EXPORT static void updateVisitedLinkState(unsigned long long hash); |
| 413 | 413 |
| 414 // Tells all WebView instances to update the visited state for all | 414 // Tells all WebView instances to update the visited state for all |
| 415 // their links. | 415 // their links. |
| 416 BLINK_EXPORT static void resetVisitedLinkState(); | 416 BLINK_EXPORT static void resetVisitedLinkState(bool invalidateVisitedLinkHas
hes); |
| 417 | 417 |
| 418 | 418 |
| 419 // Custom colors ------------------------------------------------------- | 419 // Custom colors ------------------------------------------------------- |
| 420 | 420 |
| 421 virtual void setSelectionColors(unsigned activeBackgroundColor, | 421 virtual void setSelectionColors(unsigned activeBackgroundColor, |
| 422 unsigned activeForegroundColor, | 422 unsigned activeForegroundColor, |
| 423 unsigned inactiveBackgroundColor, | 423 unsigned inactiveBackgroundColor, |
| 424 unsigned inactiveForegroundColor) = 0; | 424 unsigned inactiveForegroundColor) = 0; |
| 425 | 425 |
| 426 // Modal dialog support ------------------------------------------------ | 426 // Modal dialog support ------------------------------------------------ |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 // context's ability to deal with that failure gracefully can be tested. | 477 // context's ability to deal with that failure gracefully can be tested. |
| 478 virtual void forceNextDrawingBufferCreationToFail() = 0; | 478 virtual void forceNextDrawingBufferCreationToFail() = 0; |
| 479 | 479 |
| 480 protected: | 480 protected: |
| 481 ~WebView() {} | 481 ~WebView() {} |
| 482 }; | 482 }; |
| 483 | 483 |
| 484 } // namespace blink | 484 } // namespace blink |
| 485 | 485 |
| 486 #endif | 486 #endif |
| OLD | NEW |