| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 | 89 |
| 90 EditorClient& editorClient() const { return *m_editorClient; } | 90 EditorClient& editorClient() const { return *m_editorClient; } |
| 91 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien
t; } | 91 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien
t; } |
| 92 UndoStack& undoStack() const { return *m_undoStack; } | 92 UndoStack& undoStack() const { return *m_undoStack; } |
| 93 | 93 |
| 94 void setMainFrame(LocalFrame*); | 94 void setMainFrame(LocalFrame*); |
| 95 LocalFrame* mainFrame() const { return m_mainFrame; } | 95 LocalFrame* mainFrame() const { return m_mainFrame; } |
| 96 | 96 |
| 97 void documentDetached(Document*); | 97 void documentDetached(Document*); |
| 98 | 98 |
| 99 bool openedByDOM() const; | |
| 100 void setOpenedByDOM(); | |
| 101 | |
| 102 PageAnimator& animator() { return m_animator; } | 99 PageAnimator& animator() { return m_animator; } |
| 103 Chrome& chrome() const { return *m_chrome; } | 100 Chrome& chrome() const { return *m_chrome; } |
| 104 AutoscrollController& autoscrollController() const { return *m_autoscrollCon
troller; } | 101 AutoscrollController& autoscrollController() const { return *m_autoscrollCon
troller; } |
| 105 DragCaretController& dragCaretController() const { return *m_dragCaretContro
ller; } | 102 DragCaretController& dragCaretController() const { return *m_dragCaretContro
ller; } |
| 106 FocusController& focusController() const { return *m_focusController; } | 103 FocusController& focusController() const { return *m_focusController; } |
| 107 | 104 |
| 108 Settings& settings() const { return *m_settings; } | 105 Settings& settings() const { return *m_settings; } |
| 109 | 106 |
| 110 UseCounter& useCounter() { return m_useCounter; } | 107 UseCounter& useCounter() { return m_useCounter; } |
| 111 | 108 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 // other, thus keeping each other alive. The call to willBeDestroyed() | 175 // other, thus keeping each other alive. The call to willBeDestroyed() |
| 179 // breaks this cycle, so the frame is still properly destroyed once no | 176 // breaks this cycle, so the frame is still properly destroyed once no |
| 180 // longer needed. | 177 // longer needed. |
| 181 LocalFrame* m_mainFrame; | 178 LocalFrame* m_mainFrame; |
| 182 | 179 |
| 183 EditorClient* const m_editorClient; | 180 EditorClient* const m_editorClient; |
| 184 SpellCheckerClient* const m_spellCheckerClient; | 181 SpellCheckerClient* const m_spellCheckerClient; |
| 185 | 182 |
| 186 UseCounter m_useCounter; | 183 UseCounter m_useCounter; |
| 187 | 184 |
| 188 bool m_openedByDOM; | |
| 189 | |
| 190 bool m_tabKeyCyclesThroughElements; | 185 bool m_tabKeyCyclesThroughElements; |
| 191 | 186 |
| 192 float m_deviceScaleFactor; | 187 float m_deviceScaleFactor; |
| 193 | 188 |
| 194 double m_timerAlignmentInterval; | 189 double m_timerAlignmentInterval; |
| 195 | 190 |
| 196 PageVisibilityState m_visibilityState; | 191 PageVisibilityState m_visibilityState; |
| 197 | 192 |
| 198 bool m_isCursorVisible; | 193 bool m_isCursorVisible; |
| 199 | 194 |
| 200 #if ENABLE(ASSERT) | 195 #if ENABLE(ASSERT) |
| 201 bool m_isPainting; | 196 bool m_isPainting; |
| 202 #endif | 197 #endif |
| 203 | 198 |
| 204 HashSet<RawPtr<MultisamplingChangedObserver> > m_multisamplingChangedObserve
rs; | 199 HashSet<RawPtr<MultisamplingChangedObserver> > m_multisamplingChangedObserve
rs; |
| 205 | 200 |
| 206 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 201 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
| 207 // FIXME: Most of the members of Page should move onto FrameHost. | 202 // FIXME: Most of the members of Page should move onto FrameHost. |
| 208 OwnPtr<FrameHost> m_frameHost; | 203 OwnPtr<FrameHost> m_frameHost; |
| 209 }; | 204 }; |
| 210 | 205 |
| 211 } // namespace blink | 206 } // namespace blink |
| 212 | 207 |
| 213 #endif // SKY_ENGINE_CORE_PAGE_PAGE_H_ | 208 #endif // SKY_ENGINE_CORE_PAGE_PAGE_H_ |
| OLD | NEW |