| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 90 |
| 91 private: | 91 private: |
| 92 DeferredScopeStringMatches(TextFinder* textFinder, int identifier, const Web
String& searchText, const WebFindOptions& options, bool reset) | 92 DeferredScopeStringMatches(TextFinder* textFinder, int identifier, const Web
String& searchText, const WebFindOptions& options, bool reset) |
| 93 : m_timer(this, &DeferredScopeStringMatches::doTimeout) | 93 : m_timer(this, &DeferredScopeStringMatches::doTimeout) |
| 94 , m_textFinder(textFinder) | 94 , m_textFinder(textFinder) |
| 95 , m_identifier(identifier) | 95 , m_identifier(identifier) |
| 96 , m_searchText(searchText) | 96 , m_searchText(searchText) |
| 97 , m_options(options) | 97 , m_options(options) |
| 98 , m_reset(reset) | 98 , m_reset(reset) |
| 99 { | 99 { |
| 100 m_timer.startOneShot(0.0, FROM_HERE); | 100 m_timer.startOneShot(0.0, BLINK_FROM_HERE); |
| 101 } | 101 } |
| 102 | 102 |
| 103 void doTimeout(Timer<DeferredScopeStringMatches>*) | 103 void doTimeout(Timer<DeferredScopeStringMatches>*) |
| 104 { | 104 { |
| 105 m_textFinder->callScopeStringMatches(this, m_identifier, m_searchText, m
_options, m_reset); | 105 m_textFinder->callScopeStringMatches(this, m_identifier, m_searchText, m
_options, m_reset); |
| 106 } | 106 } |
| 107 | 107 |
| 108 Timer<DeferredScopeStringMatches> m_timer; | 108 Timer<DeferredScopeStringMatches> m_timer; |
| 109 RawPtrWillBeMember<TextFinder> m_textFinder; | 109 RawPtrWillBeMember<TextFinder> m_textFinder; |
| 110 const int m_identifier; | 110 const int m_identifier; |
| (...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 visitor->trace(m_ownerFrame); | 816 visitor->trace(m_ownerFrame); |
| 817 visitor->trace(m_currentActiveMatchFrame); | 817 visitor->trace(m_currentActiveMatchFrame); |
| 818 visitor->trace(m_activeMatch); | 818 visitor->trace(m_activeMatch); |
| 819 visitor->trace(m_resumeScopingFromRange); | 819 visitor->trace(m_resumeScopingFromRange); |
| 820 visitor->trace(m_deferredScopingWork); | 820 visitor->trace(m_deferredScopingWork); |
| 821 visitor->trace(m_findMatchesCache); | 821 visitor->trace(m_findMatchesCache); |
| 822 #endif | 822 #endif |
| 823 } | 823 } |
| 824 | 824 |
| 825 } // namespace blink | 825 } // namespace blink |
| OLD | NEW |