| 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 | 240 |
| 241 // Identifier of the latest find-in-page request. Required to be stored in | 241 // Identifier of the latest find-in-page request. Required to be stored in |
| 242 // the frame in order to reply if required in case the frame is detached. | 242 // the frame in order to reply if required in case the frame is detached. |
| 243 int m_findRequestIdentifier; | 243 int m_findRequestIdentifier; |
| 244 | 244 |
| 245 // Keeps track of when the scoping effort should next invalidate the scrollb
ar | 245 // Keeps track of when the scoping effort should next invalidate the scrollb
ar |
| 246 // and the frame area. | 246 // and the frame area. |
| 247 int m_nextInvalidateAfter; | 247 int m_nextInvalidateAfter; |
| 248 | 248 |
| 249 // A list of all of the pending calls to scopeStringMatches. | 249 // A list of all of the pending calls to scopeStringMatches. |
| 250 WillBeHeapVector<OwnPtrWillBeMember<DeferredScopeStringMatches> > m_deferred
ScopingWork; | 250 WillBeHeapVector<OwnPtrWillBeMember<DeferredScopeStringMatches>> m_deferredS
copingWork; |
| 251 | 251 |
| 252 // Version number incremented on the main frame only whenever the document | 252 // Version number incremented on the main frame only whenever the document |
| 253 // find-in-page match markers change. It should be 0 for all other frames. | 253 // find-in-page match markers change. It should be 0 for all other frames. |
| 254 int m_findMatchMarkersVersion; | 254 int m_findMatchMarkersVersion; |
| 255 | 255 |
| 256 // Local cache of the find match markers currently displayed for this frame. | 256 // Local cache of the find match markers currently displayed for this frame. |
| 257 WillBeHeapVector<FindMatch> m_findMatchesCache; | 257 WillBeHeapVector<FindMatch> m_findMatchesCache; |
| 258 | 258 |
| 259 // Contents size when find-in-page match rects were last computed for this | 259 // Contents size when find-in-page match rects were last computed for this |
| 260 // frame's cache. | 260 // frame's cache. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 275 // Determines if the rects in the find-in-page matches cache of this frame | 275 // Determines if the rects in the find-in-page matches cache of this frame |
| 276 // are invalid and should be recomputed. | 276 // are invalid and should be recomputed. |
| 277 bool m_findMatchRectsAreValid; | 277 bool m_findMatchRectsAreValid; |
| 278 }; | 278 }; |
| 279 | 279 |
| 280 } // namespace blink | 280 } // namespace blink |
| 281 | 281 |
| 282 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::TextFinder::FindMatch); | 282 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::TextFinder::FindMatch); |
| 283 | 283 |
| 284 #endif // TextFinder_h | 284 #endif // TextFinder_h |
| OLD | NEW |