OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R
ights Reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R
ights Reserved. |
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 } | 256 } |
257 } | 257 } |
258 | 258 |
259 PluginData* Page::pluginData() const | 259 PluginData* Page::pluginData() const |
260 { | 260 { |
261 if (!m_pluginData) | 261 if (!m_pluginData) |
262 m_pluginData = PluginData::create(this); | 262 m_pluginData = PluginData::create(this); |
263 return m_pluginData.get(); | 263 return m_pluginData.get(); |
264 } | 264 } |
265 | 265 |
266 void Page::unmarkAllTextMatches() | |
267 { | |
268 if (!mainFrame()) | |
269 return; | |
270 | |
271 Frame* frame = mainFrame(); | |
272 do { | |
273 if (frame->isLocalFrame()) | |
274 toLocalFrame(frame)->document()->markers().removeMarkers(DocumentMar
ker::TextMatch); | |
275 frame = frame->tree().traverseNextWithWrap(false); | |
276 } while (frame); | |
277 } | |
278 | |
279 void Page::setValidationMessageClient(ValidationMessageClient* client) | 266 void Page::setValidationMessageClient(ValidationMessageClient* client) |
280 { | 267 { |
281 m_validationMessageClient = client; | 268 m_validationMessageClient = client; |
282 } | 269 } |
283 | 270 |
284 void Page::setDefersLoading(bool defers) | 271 void Page::setDefersLoading(bool defers) |
285 { | 272 { |
286 if (defers == m_defersLoading) | 273 if (defers == m_defersLoading) |
287 return; | 274 return; |
288 | 275 |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 { | 560 { |
574 } | 561 } |
575 | 562 |
576 Page::PageClients::~PageClients() | 563 Page::PageClients::~PageClients() |
577 { | 564 { |
578 } | 565 } |
579 | 566 |
580 template class CORE_TEMPLATE_EXPORT Supplement<Page>; | 567 template class CORE_TEMPLATE_EXPORT Supplement<Page>; |
581 | 568 |
582 } // namespace blink | 569 } // namespace blink |
OLD | NEW |