OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights |
3 * reserved. | 3 * reserved. |
4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. | 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. |
5 * (http://www.torchmobile.com/) | 5 * (http://www.torchmobile.com/) |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
166 } | 166 } |
167 ValidationMessageClient& validationMessageClient() const { | 167 ValidationMessageClient& validationMessageClient() const { |
168 return *m_validationMessageClient; | 168 return *m_validationMessageClient; |
169 } | 169 } |
170 void setValidationMessageClient(ValidationMessageClient*); | 170 void setValidationMessageClient(ValidationMessageClient*); |
171 | 171 |
172 ScrollingCoordinator* scrollingCoordinator(); | 172 ScrollingCoordinator* scrollingCoordinator(); |
173 | 173 |
174 ClientRectList* nonFastScrollableRects(const LocalFrame*); | 174 ClientRectList* nonFastScrollableRects(const LocalFrame*); |
175 | 175 |
176 Settings& settings() const { return *m_settings; } | 176 Settings& settings() { return *m_settings; } |
177 const Settings& settings() const { return *m_settings; } | |
sashab
2017/02/23 05:01:11
dcheng - I copied this method style from FrameHost
| |
177 | 178 |
178 UseCounter& useCounter() { return m_useCounter; } | 179 UseCounter& useCounter() { return m_useCounter; } |
179 Deprecation& deprecation() { return m_deprecation; } | 180 Deprecation& deprecation() { return m_deprecation; } |
180 HostsUsingFeatures& hostsUsingFeatures() { return m_hostsUsingFeatures; } | 181 HostsUsingFeatures& hostsUsingFeatures() { return m_hostsUsingFeatures; } |
181 | 182 |
182 void setTabKeyCyclesThroughElements(bool b) { | 183 void setTabKeyCyclesThroughElements(bool b) { |
183 m_tabKeyCyclesThroughElements = b; | 184 m_tabKeyCyclesThroughElements = b; |
184 } | 185 } |
185 bool tabKeyCyclesThroughElements() const { | 186 bool tabKeyCyclesThroughElements() const { |
186 return m_tabKeyCyclesThroughElements; | 187 return m_tabKeyCyclesThroughElements; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
301 // Page. | 302 // Page. |
302 // FIXME: Most of the members of Page should move onto FrameHost. | 303 // FIXME: Most of the members of Page should move onto FrameHost. |
303 Member<FrameHost> m_frameHost; | 304 Member<FrameHost> m_frameHost; |
304 }; | 305 }; |
305 | 306 |
306 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; | 307 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; |
307 | 308 |
308 } // namespace blink | 309 } // namespace blink |
309 | 310 |
310 #endif // Page_h | 311 #endif // Page_h |
OLD | NEW |