| 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 24 matching lines...) Expand all Loading... |
| 35 #include "sky/engine/platform/geometry/LayoutRect.h" | 35 #include "sky/engine/platform/geometry/LayoutRect.h" |
| 36 #include "sky/engine/platform/geometry/Region.h" | 36 #include "sky/engine/platform/geometry/Region.h" |
| 37 #include "sky/engine/platform/heap/Handle.h" | 37 #include "sky/engine/platform/heap/Handle.h" |
| 38 #include "sky/engine/wtf/Forward.h" | 38 #include "sky/engine/wtf/Forward.h" |
| 39 #include "sky/engine/wtf/HashSet.h" | 39 #include "sky/engine/wtf/HashSet.h" |
| 40 #include "sky/engine/wtf/Noncopyable.h" | 40 #include "sky/engine/wtf/Noncopyable.h" |
| 41 #include "sky/engine/wtf/text/WTFString.h" | 41 #include "sky/engine/wtf/text/WTFString.h" |
| 42 | 42 |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 class AutoscrollController; | |
| 46 class ChromeClient; | 45 class ChromeClient; |
| 47 class ClientRectList; | 46 class ClientRectList; |
| 48 class Document; | 47 class Document; |
| 49 class DragCaretController; | 48 class DragCaretController; |
| 50 class EditorClient; | 49 class EditorClient; |
| 51 class FloatRect; | 50 class FloatRect; |
| 52 class FocusController; | 51 class FocusController; |
| 53 class Frame; | 52 class Frame; |
| 54 class FrameHost; | 53 class FrameHost; |
| 55 class IntRect; | 54 class IntRect; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 EditorClient& editorClient() const { return *m_editorClient; } | 94 EditorClient& editorClient() const { return *m_editorClient; } |
| 96 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien
t; } | 95 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien
t; } |
| 97 UndoStack& undoStack() const { return *m_undoStack; } | 96 UndoStack& undoStack() const { return *m_undoStack; } |
| 98 | 97 |
| 99 void setMainFrame(LocalFrame*); | 98 void setMainFrame(LocalFrame*); |
| 100 LocalFrame* mainFrame() const { return m_mainFrame; } | 99 LocalFrame* mainFrame() const { return m_mainFrame; } |
| 101 | 100 |
| 102 void documentDetached(Document*); | 101 void documentDetached(Document*); |
| 103 | 102 |
| 104 PageAnimator& animator() { return m_animator; } | 103 PageAnimator& animator() { return m_animator; } |
| 105 AutoscrollController& autoscrollController() const { return *m_autoscrollCon
troller; } | |
| 106 DragCaretController& dragCaretController() const { return *m_dragCaretContro
ller; } | 104 DragCaretController& dragCaretController() const { return *m_dragCaretContro
ller; } |
| 107 FocusController& focusController() const { return *m_focusController; } | 105 FocusController& focusController() const { return *m_focusController; } |
| 108 | 106 |
| 109 Settings& settings() const { return *m_settings; } | 107 Settings& settings() const { return *m_settings; } |
| 110 | 108 |
| 111 void unmarkAllTextMatches(); | 109 void unmarkAllTextMatches(); |
| 112 | 110 |
| 113 float deviceScaleFactor() const { return m_deviceScaleFactor; } | 111 float deviceScaleFactor() const { return m_deviceScaleFactor; } |
| 114 void setDeviceScaleFactor(float); | 112 void setDeviceScaleFactor(float); |
| 115 | 113 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 void initGroup(); | 169 void initGroup(); |
| 172 | 170 |
| 173 void setTimerAlignmentInterval(double); | 171 void setTimerAlignmentInterval(double); |
| 174 | 172 |
| 175 void setNeedsLayoutInAllFrames(); | 173 void setNeedsLayoutInAllFrames(); |
| 176 | 174 |
| 177 // SettingsDelegate overrides. | 175 // SettingsDelegate overrides. |
| 178 virtual void settingsChanged(SettingsDelegate::ChangeType) override; | 176 virtual void settingsChanged(SettingsDelegate::ChangeType) override; |
| 179 | 177 |
| 180 PageAnimator m_animator; | 178 PageAnimator m_animator; |
| 181 const OwnPtr<AutoscrollController> m_autoscrollController; | |
| 182 ChromeClient* m_chromeClient; | 179 ChromeClient* m_chromeClient; |
| 183 const OwnPtr<DragCaretController> m_dragCaretController; | 180 const OwnPtr<DragCaretController> m_dragCaretController; |
| 184 const OwnPtr<FocusController> m_focusController; | 181 const OwnPtr<FocusController> m_focusController; |
| 185 const OwnPtr<UndoStack> m_undoStack; | 182 const OwnPtr<UndoStack> m_undoStack; |
| 186 | 183 |
| 187 // Typically, the main frame and Page should both be owned by the embedder, | 184 // Typically, the main frame and Page should both be owned by the embedder, |
| 188 // which must call Page::willBeDestroyed() prior to destroying Page. This | 185 // which must call Page::willBeDestroyed() prior to destroying Page. This |
| 189 // call detaches the main frame and clears this pointer, thus ensuring that | 186 // call detaches the main frame and clears this pointer, thus ensuring that |
| 190 // this field only references a live main frame. | 187 // this field only references a live main frame. |
| 191 // | 188 // |
| (...skipping 24 matching lines...) Expand all Loading... |
| 216 HashSet<RawPtr<MultisamplingChangedObserver> > m_multisamplingChangedObserve
rs; | 213 HashSet<RawPtr<MultisamplingChangedObserver> > m_multisamplingChangedObserve
rs; |
| 217 | 214 |
| 218 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 215 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
| 219 // FIXME: Most of the members of Page should move onto FrameHost. | 216 // FIXME: Most of the members of Page should move onto FrameHost. |
| 220 OwnPtr<FrameHost> m_frameHost; | 217 OwnPtr<FrameHost> m_frameHost; |
| 221 }; | 218 }; |
| 222 | 219 |
| 223 } // namespace blink | 220 } // namespace blink |
| 224 | 221 |
| 225 #endif // SKY_ENGINE_CORE_PAGE_PAGE_H_ | 222 #endif // SKY_ENGINE_CORE_PAGE_PAGE_H_ |
| OLD | NEW |