| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 : m_timer(this, &DeferredScopeStringMatches::doTimeout) | 92 : m_timer(this, &DeferredScopeStringMatches::doTimeout) |
| 93 , m_textFinder(textFinder) | 93 , m_textFinder(textFinder) |
| 94 , m_identifier(identifier) | 94 , m_identifier(identifier) |
| 95 , m_searchText(searchText) | 95 , m_searchText(searchText) |
| 96 , m_options(options) | 96 , m_options(options) |
| 97 , m_reset(reset) | 97 , m_reset(reset) |
| 98 { | 98 { |
| 99 m_timer.startOneShot(0.0, BLINK_FROM_HERE); | 99 m_timer.startOneShot(0.0, BLINK_FROM_HERE); |
| 100 } | 100 } |
| 101 | 101 |
| 102 void doTimeout(Timer<DeferredScopeStringMatches>*) | 102 void doTimeout(TimerBase*) |
| 103 { | 103 { |
| 104 m_textFinder->callScopeStringMatches(this, m_identifier, m_searchText, m
_options, m_reset); | 104 m_textFinder->callScopeStringMatches(this, m_identifier, m_searchText, m
_options, m_reset); |
| 105 } | 105 } |
| 106 | 106 |
| 107 Timer<DeferredScopeStringMatches> m_timer; | 107 Timer<DeferredScopeStringMatches> m_timer; |
| 108 Member<TextFinder> m_textFinder; | 108 Member<TextFinder> m_textFinder; |
| 109 const int m_identifier; | 109 const int m_identifier; |
| 110 const WebString m_searchText; | 110 const WebString m_searchText; |
| 111 const WebFindOptions m_options; | 111 const WebFindOptions m_options; |
| 112 const bool m_reset; | 112 const bool m_reset; |
| (...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 DEFINE_TRACE(TextFinder) | 740 DEFINE_TRACE(TextFinder) |
| 741 { | 741 { |
| 742 visitor->trace(m_ownerFrame); | 742 visitor->trace(m_ownerFrame); |
| 743 visitor->trace(m_activeMatch); | 743 visitor->trace(m_activeMatch); |
| 744 visitor->trace(m_resumeScopingFromRange); | 744 visitor->trace(m_resumeScopingFromRange); |
| 745 visitor->trace(m_deferredScopingWork); | 745 visitor->trace(m_deferredScopingWork); |
| 746 visitor->trace(m_findMatchesCache); | 746 visitor->trace(m_findMatchesCache); |
| 747 } | 747 } |
| 748 | 748 |
| 749 } // namespace blink | 749 } // namespace blink |
| OLD | NEW |