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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 // specified hash. | 455 // specified hash. |
456 BLINK_EXPORT static void updateVisitedLinkState(unsigned long long hash); | 456 BLINK_EXPORT static void updateVisitedLinkState(unsigned long long hash); |
457 | 457 |
458 // Tells all WebView instances to update the visited state for all | 458 // Tells all WebView instances to update the visited state for all |
459 // their links. | 459 // their links. |
460 BLINK_EXPORT static void resetVisitedLinkState(); | 460 BLINK_EXPORT static void resetVisitedLinkState(); |
461 | 461 |
462 | 462 |
463 // Custom colors ------------------------------------------------------- | 463 // Custom colors ------------------------------------------------------- |
464 | 464 |
465 virtual void setScrollbarColors(unsigned inactiveColor, | |
466 unsigned activeColor, | |
467 unsigned trackColor) = 0; | |
468 | |
469 virtual void setSelectionColors(unsigned activeBackgroundColor, | 465 virtual void setSelectionColors(unsigned activeBackgroundColor, |
470 unsigned activeForegroundColor, | 466 unsigned activeForegroundColor, |
471 unsigned inactiveBackgroundColor, | 467 unsigned inactiveBackgroundColor, |
472 unsigned inactiveForegroundColor) = 0; | 468 unsigned inactiveForegroundColor) = 0; |
473 | 469 |
474 // Injected style ------------------------------------------------------ | 470 // Injected style ------------------------------------------------------ |
475 | 471 |
476 // Treats |sourceCode| as a CSS author style sheet and injects it into all D
ocuments whose URLs match |patterns|, | 472 // Treats |sourceCode| as a CSS author style sheet and injects it into all D
ocuments whose URLs match |patterns|, |
477 // in the frames specified by the last argument. | 473 // in the frames specified by the last argument. |
478 BLINK_EXPORT static void injectStyleSheet(const WebString& sourceCode, const
WebVector<WebString>& patterns, StyleInjectionTarget); | 474 BLINK_EXPORT static void injectStyleSheet(const WebString& sourceCode, const
WebVector<WebString>& patterns, StyleInjectionTarget); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 | 517 |
522 // Testing functionality for TestRunner --------------------------------- | 518 // Testing functionality for TestRunner --------------------------------- |
523 | 519 |
524 protected: | 520 protected: |
525 ~WebView() {} | 521 ~WebView() {} |
526 }; | 522 }; |
527 | 523 |
528 } // namespace WebKit | 524 } // namespace WebKit |
529 | 525 |
530 #endif | 526 #endif |
OLD | NEW |