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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 m_spellCheckerClient(pageClients.spellCheckerClient), | 123 m_spellCheckerClient(pageClients.spellCheckerClient), |
124 m_useCounter(pageClients.chromeClient && | 124 m_useCounter(pageClients.chromeClient && |
125 pageClients.chromeClient->isSVGImageChromeClient() | 125 pageClients.chromeClient->isSVGImageChromeClient() |
126 ? UseCounter::SVGImageContext | 126 ? UseCounter::SVGImageContext |
127 : UseCounter::DefaultContext), | 127 : UseCounter::DefaultContext), |
128 m_openedByDOM(false), | 128 m_openedByDOM(false), |
129 m_tabKeyCyclesThroughElements(true), | 129 m_tabKeyCyclesThroughElements(true), |
130 m_defersLoading(false), | 130 m_defersLoading(false), |
131 m_deviceScaleFactor(1), | 131 m_deviceScaleFactor(1), |
132 m_visibilityState(PageVisibilityStateVisible), | 132 m_visibilityState(PageVisibilityStateVisible), |
133 m_isCursorVisible(true) | 133 m_isCursorVisible(true), |
134 #if ENABLE(ASSERT) | 134 #if ENABLE(ASSERT) |
135 , | 135 m_isPainting(false), |
136 m_isPainting(false) | |
137 #endif | 136 #endif |
138 , | |
139 m_frameHost(FrameHost::create(*this)) { | 137 m_frameHost(FrameHost::create(*this)) { |
140 ASSERT(m_editorClient); | 138 ASSERT(m_editorClient); |
141 | 139 |
142 ASSERT(!allPages().contains(this)); | 140 ASSERT(!allPages().contains(this)); |
143 allPages().add(this); | 141 allPages().add(this); |
144 } | 142 } |
145 | 143 |
146 Page::~Page() { | 144 Page::~Page() { |
147 // willBeDestroyed() must be called before Page destruction. | 145 // willBeDestroyed() must be called before Page destruction. |
148 ASSERT(!m_mainFrame); | 146 ASSERT(!m_mainFrame); |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 : chromeClient(nullptr), | 535 : chromeClient(nullptr), |
538 contextMenuClient(nullptr), | 536 contextMenuClient(nullptr), |
539 editorClient(nullptr), | 537 editorClient(nullptr), |
540 spellCheckerClient(nullptr) {} | 538 spellCheckerClient(nullptr) {} |
541 | 539 |
542 Page::PageClients::~PageClients() {} | 540 Page::PageClients::~PageClients() {} |
543 | 541 |
544 template class CORE_TEMPLATE_EXPORT Supplement<Page>; | 542 template class CORE_TEMPLATE_EXPORT Supplement<Page>; |
545 | 543 |
546 } // namespace blink | 544 } // namespace blink |
OLD | NEW |