Chromium Code Reviews| 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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 417 | 417 |
| 418 | 418 |
| 419 // Visited link state -------------------------------------------------- | 419 // Visited link state -------------------------------------------------- |
| 420 | 420 |
| 421 // Tells all WebView instances to update the visited link state for the | 421 // Tells all WebView instances to update the visited link state for the |
| 422 // specified hash. | 422 // specified hash. |
| 423 BLINK_EXPORT static void updateVisitedLinkState(unsigned long long hash); | 423 BLINK_EXPORT static void updateVisitedLinkState(unsigned long long hash); |
| 424 | 424 |
| 425 // Tells all WebView instances to update the visited state for all | 425 // Tells all WebView instances to update the visited state for all |
| 426 // their links. | 426 // their links. |
| 427 BLINK_EXPORT static void resetVisitedLinkState(); | 427 BLINK_EXPORT static void resetVisitedLinkState(bool invalidateVisitedLinkHas hes); |
|
Rick Byers
2015/12/10 22:24:48
nit: please add a comment describing what the exac
| |
| 428 | 428 |
| 429 | 429 |
| 430 // Custom colors ------------------------------------------------------- | 430 // Custom colors ------------------------------------------------------- |
| 431 | 431 |
| 432 virtual void setSelectionColors(unsigned activeBackgroundColor, | 432 virtual void setSelectionColors(unsigned activeBackgroundColor, |
| 433 unsigned activeForegroundColor, | 433 unsigned activeForegroundColor, |
| 434 unsigned inactiveBackgroundColor, | 434 unsigned inactiveBackgroundColor, |
| 435 unsigned inactiveForegroundColor) = 0; | 435 unsigned inactiveForegroundColor) = 0; |
| 436 | 436 |
| 437 // Modal dialog support ------------------------------------------------ | 437 // Modal dialog support ------------------------------------------------ |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 488 // context's ability to deal with that failure gracefully can be tested. | 488 // context's ability to deal with that failure gracefully can be tested. |
| 489 virtual void forceNextDrawingBufferCreationToFail() = 0; | 489 virtual void forceNextDrawingBufferCreationToFail() = 0; |
| 490 | 490 |
| 491 protected: | 491 protected: |
| 492 ~WebView() {} | 492 ~WebView() {} |
| 493 }; | 493 }; |
| 494 | 494 |
| 495 } // namespace blink | 495 } // namespace blink |
| 496 | 496 |
| 497 #endif | 497 #endif |
| OLD | NEW |