Chromium Code Reviews| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 112 static void platformColorsChanged(); | 112 static void platformColorsChanged(); |
| 113 | 113 |
| 114 FrameHost& frameHost() const { return *m_frameHost; } | 114 FrameHost& frameHost() const { return *m_frameHost; } |
| 115 | 115 |
| 116 void setNeedsRecalcStyleInAllFrames(); | 116 void setNeedsRecalcStyleInAllFrames(); |
| 117 void updateAcceleratedCompositingSettings(); | 117 void updateAcceleratedCompositingSettings(); |
| 118 | 118 |
| 119 ViewportDescription viewportDescription() const; | 119 ViewportDescription viewportDescription() const; |
| 120 | 120 |
| 121 static void refreshPlugins(); | 121 static void refreshPlugins(); |
| 122 PluginData* pluginData() const; | 122 PluginData* pluginData(); |
| 123 | 123 |
| 124 EditorClient& editorClient() const { return *m_editorClient; } | 124 EditorClient& editorClient() const { return *m_editorClient; } |
| 125 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien t; } | 125 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien t; } |
| 126 | 126 |
| 127 void setMainFrame(Frame*); | 127 void setMainFrame(Frame*); |
| 128 Frame* mainFrame() const { return m_mainFrame; } | 128 Frame* mainFrame() const { return m_mainFrame; } |
| 129 // Escape hatch for existing code that assumes that the root frame is | 129 // Escape hatch for existing code that assumes that the root frame is |
| 130 // always a LocalFrame. With OOPI, this is not always the case. Code that | 130 // always a LocalFrame. With OOPI, this is not always the case. Code that |
| 131 // depends on this will generally have to be rewritten to propagate any | 131 // depends on this will generally have to be rewritten to propagate any |
| 132 // necessary state through all renderer processes for that page and/or | 132 // necessary state through all renderer processes for that page and/or |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 253 | 253 |
| 254 bool m_tabKeyCyclesThroughElements; | 254 bool m_tabKeyCyclesThroughElements; |
| 255 bool m_defersLoading; | 255 bool m_defersLoading; |
| 256 | 256 |
| 257 float m_deviceScaleFactor; | 257 float m_deviceScaleFactor; |
| 258 | 258 |
| 259 PageVisibilityState m_visibilityState; | 259 PageVisibilityState m_visibilityState; |
| 260 | 260 |
| 261 bool m_isCursorVisible; | 261 bool m_isCursorVisible; |
| 262 | 262 |
| 263 RefPtr<SecurityOrigin> m_origin; | |
|
alexmos
2016/08/02 22:06:28
I'll leave this to Blink reviewers, but storing m_
tommycli
2016/08/02 23:03:16
Thinking it over again, I think I was wrong. Maybe
alexmos
2016/08/04 05:32:02
Yes, I think something like that makes more sense;
trizzofo
2016/08/06 01:30:46
Done.
| |
| 264 | |
| 263 #if ENABLE(ASSERT) | 265 #if ENABLE(ASSERT) |
| 264 bool m_isPainting; | 266 bool m_isPainting; |
| 265 #endif | 267 #endif |
| 266 | 268 |
| 267 // A pointer to all the interfaces provided to in-process Frames for this Pa ge. | 269 // A pointer to all the interfaces provided to in-process Frames for this Pa ge. |
| 268 // FIXME: Most of the members of Page should move onto FrameHost. | 270 // FIXME: Most of the members of Page should move onto FrameHost. |
| 269 Member<FrameHost> m_frameHost; | 271 Member<FrameHost> m_frameHost; |
| 270 | 272 |
| 271 Timer<Page> m_timerForCompressStrings; | 273 Timer<Page> m_timerForCompressStrings; |
| 272 }; | 274 }; |
| 273 | 275 |
| 274 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; | 276 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; |
| 275 | 277 |
| 276 } // namespace blink | 278 } // namespace blink |
| 277 | 279 |
| 278 #endif // Page_h | 280 #endif // Page_h |
| OLD | NEW |