| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv
ed. |
| 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 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 PageAnimator& animator() { return m_animator; } | 99 PageAnimator& animator() { return m_animator; } |
| 100 Chrome& chrome() const { return *m_chrome; } | 100 Chrome& chrome() const { return *m_chrome; } |
| 101 AutoscrollController& autoscrollController() const { return *m_autoscrollCon
troller; } | 101 AutoscrollController& autoscrollController() const { return *m_autoscrollCon
troller; } |
| 102 DragCaretController& dragCaretController() const { return *m_dragCaretContro
ller; } | 102 DragCaretController& dragCaretController() const { return *m_dragCaretContro
ller; } |
| 103 FocusController& focusController() const { return *m_focusController; } | 103 FocusController& focusController() const { return *m_focusController; } |
| 104 | 104 |
| 105 Settings& settings() const { return *m_settings; } | 105 Settings& settings() const { return *m_settings; } |
| 106 | 106 |
| 107 UseCounter& useCounter() { return m_useCounter; } | 107 UseCounter& useCounter() { return m_useCounter; } |
| 108 | 108 |
| 109 void setTabKeyCyclesThroughElements(bool b) { m_tabKeyCyclesThroughElements
= b; } | |
| 110 bool tabKeyCyclesThroughElements() const { return m_tabKeyCyclesThroughEleme
nts; } | |
| 111 | |
| 112 void unmarkAllTextMatches(); | 109 void unmarkAllTextMatches(); |
| 113 | 110 |
| 114 float deviceScaleFactor() const { return m_deviceScaleFactor; } | 111 float deviceScaleFactor() const { return m_deviceScaleFactor; } |
| 115 void setDeviceScaleFactor(float); | 112 void setDeviceScaleFactor(float); |
| 116 | 113 |
| 117 PageVisibilityState visibilityState() const; | 114 PageVisibilityState visibilityState() const; |
| 118 void setVisibilityState(PageVisibilityState, bool); | 115 void setVisibilityState(PageVisibilityState, bool); |
| 119 | 116 |
| 120 bool isCursorVisible() const; | 117 bool isCursorVisible() const; |
| 121 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } | 118 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 // other, thus keeping each other alive. The call to willBeDestroyed() | 172 // other, thus keeping each other alive. The call to willBeDestroyed() |
| 176 // breaks this cycle, so the frame is still properly destroyed once no | 173 // breaks this cycle, so the frame is still properly destroyed once no |
| 177 // longer needed. | 174 // longer needed. |
| 178 LocalFrame* m_mainFrame; | 175 LocalFrame* m_mainFrame; |
| 179 | 176 |
| 180 EditorClient* const m_editorClient; | 177 EditorClient* const m_editorClient; |
| 181 SpellCheckerClient* const m_spellCheckerClient; | 178 SpellCheckerClient* const m_spellCheckerClient; |
| 182 | 179 |
| 183 UseCounter m_useCounter; | 180 UseCounter m_useCounter; |
| 184 | 181 |
| 185 bool m_tabKeyCyclesThroughElements; | |
| 186 | |
| 187 float m_deviceScaleFactor; | 182 float m_deviceScaleFactor; |
| 188 | 183 |
| 189 double m_timerAlignmentInterval; | 184 double m_timerAlignmentInterval; |
| 190 | 185 |
| 191 PageVisibilityState m_visibilityState; | 186 PageVisibilityState m_visibilityState; |
| 192 | 187 |
| 193 bool m_isCursorVisible; | 188 bool m_isCursorVisible; |
| 194 | 189 |
| 195 #if ENABLE(ASSERT) | 190 #if ENABLE(ASSERT) |
| 196 bool m_isPainting; | 191 bool m_isPainting; |
| 197 #endif | 192 #endif |
| 198 | 193 |
| 199 HashSet<RawPtr<MultisamplingChangedObserver> > m_multisamplingChangedObserve
rs; | 194 HashSet<RawPtr<MultisamplingChangedObserver> > m_multisamplingChangedObserve
rs; |
| 200 | 195 |
| 201 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 196 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
| 202 // FIXME: Most of the members of Page should move onto FrameHost. | 197 // FIXME: Most of the members of Page should move onto FrameHost. |
| 203 OwnPtr<FrameHost> m_frameHost; | 198 OwnPtr<FrameHost> m_frameHost; |
| 204 }; | 199 }; |
| 205 | 200 |
| 206 } // namespace blink | 201 } // namespace blink |
| 207 | 202 |
| 208 #endif // SKY_ENGINE_CORE_PAGE_PAGE_H_ | 203 #endif // SKY_ENGINE_CORE_PAGE_PAGE_H_ |
| OLD | NEW |