| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R
ights Reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R
ights Reserved. |
| 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 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // is called in the base constructor for both LocalFrame and RemoteFrame, | 101 // is called in the base constructor for both LocalFrame and RemoteFrame, |
| 102 // when the vtables for the derived classes have not yet been setup. | 102 // when the vtables for the derived classes have not yet been setup. |
| 103 m_mainFrame = mainFrame; | 103 m_mainFrame = mainFrame; |
| 104 } | 104 } |
| 105 | 105 |
| 106 void Page::documentDetached(Document* document) | 106 void Page::documentDetached(Document* document) |
| 107 { | 107 { |
| 108 m_multisamplingChangedObservers.clear(); | 108 m_multisamplingChangedObservers.clear(); |
| 109 } | 109 } |
| 110 | 110 |
| 111 bool Page::openedByDOM() const | |
| 112 { | |
| 113 return m_openedByDOM; | |
| 114 } | |
| 115 | |
| 116 void Page::setOpenedByDOM() | |
| 117 { | |
| 118 m_openedByDOM = true; | |
| 119 } | |
| 120 | |
| 121 void Page::setNeedsRecalcStyleInAllFrames() | 111 void Page::setNeedsRecalcStyleInAllFrames() |
| 122 { | 112 { |
| 123 LocalFrame* frame = mainFrame(); | 113 LocalFrame* frame = mainFrame(); |
| 124 if (frame && frame->document()) | 114 if (frame && frame->document()) |
| 125 frame->document()->styleResolverChanged(); | 115 frame->document()->styleResolverChanged(); |
| 126 } | 116 } |
| 127 | 117 |
| 128 void Page::setNeedsLayoutInAllFrames() | 118 void Page::setNeedsLayoutInAllFrames() |
| 129 { | 119 { |
| 130 LocalFrame* frame = mainFrame(); | 120 LocalFrame* frame = mainFrame(); |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 , editorClient(0) | 282 , editorClient(0) |
| 293 , spellCheckerClient(0) | 283 , spellCheckerClient(0) |
| 294 { | 284 { |
| 295 } | 285 } |
| 296 | 286 |
| 297 Page::PageClients::~PageClients() | 287 Page::PageClients::~PageClients() |
| 298 { | 288 { |
| 299 } | 289 } |
| 300 | 290 |
| 301 } // namespace blink | 291 } // namespace blink |
| OLD | NEW |