| 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 virtual ~Page(); | 89 virtual ~Page(); |
| 90 | 90 |
| 91 FrameHost& frameHost() const { return *m_frameHost; } | 91 FrameHost& frameHost() const { return *m_frameHost; } |
| 92 | 92 |
| 93 // FIXME(sky): This is only needed by PageDebuggerAgent to be able to look | 93 // FIXME(sky): This is only needed by PageDebuggerAgent to be able to look |
| 94 // up the InspectorHost from the frame associated with a v8 context. | 94 // up the InspectorHost from the frame associated with a v8 context. |
| 95 inspector::InspectorHost* inspectorHost() const { return m_inspectorHost; } | 95 inspector::InspectorHost* inspectorHost() const { return m_inspectorHost; } |
| 96 void setInspectorHost(inspector::InspectorHost* host) { m_inspectorHost = ho
st; } | 96 void setInspectorHost(inspector::InspectorHost* host) { m_inspectorHost = ho
st; } |
| 97 | 97 |
| 98 void setNeedsRecalcStyleInAllFrames(); | 98 void setNeedsRecalcStyleInAllFrames(); |
| 99 void updateAcceleratedCompositingSettings(); | |
| 100 | 99 |
| 101 EditorClient& editorClient() const { return *m_editorClient; } | 100 EditorClient& editorClient() const { return *m_editorClient; } |
| 102 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien
t; } | 101 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien
t; } |
| 103 UndoStack& undoStack() const { return *m_undoStack; } | 102 UndoStack& undoStack() const { return *m_undoStack; } |
| 104 | 103 |
| 105 void setMainFrame(LocalFrame*); | 104 void setMainFrame(LocalFrame*); |
| 106 LocalFrame* mainFrame() const { return m_mainFrame; } | 105 LocalFrame* mainFrame() const { return m_mainFrame; } |
| 107 | 106 |
| 108 void documentDetached(Document*); | 107 void documentDetached(Document*); |
| 109 | 108 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 | 215 |
| 217 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 216 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
| 218 // FIXME: Most of the members of Page should move onto FrameHost. | 217 // FIXME: Most of the members of Page should move onto FrameHost. |
| 219 OwnPtr<FrameHost> m_frameHost; | 218 OwnPtr<FrameHost> m_frameHost; |
| 220 inspector::InspectorHost* m_inspectorHost; | 219 inspector::InspectorHost* m_inspectorHost; |
| 221 }; | 220 }; |
| 222 | 221 |
| 223 } // namespace blink | 222 } // namespace blink |
| 224 | 223 |
| 225 #endif // SKY_ENGINE_CORE_PAGE_PAGE_H_ | 224 #endif // SKY_ENGINE_CORE_PAGE_PAGE_H_ |
| OLD | NEW |