| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 page->memoryPurgeController().registerClient(page); | 113 page->memoryPurgeController().registerClient(page); |
| 114 return page; | 114 return page; |
| 115 } | 115 } |
| 116 | 116 |
| 117 Page::Page(PageClients& pageClients) | 117 Page::Page(PageClients& pageClients) |
| 118 : SettingsDelegate(Settings::create()) | 118 : SettingsDelegate(Settings::create()) |
| 119 , m_animator(PageAnimator::create(*this)) | 119 , m_animator(PageAnimator::create(*this)) |
| 120 , m_autoscrollController(AutoscrollController::create(*this)) | 120 , m_autoscrollController(AutoscrollController::create(*this)) |
| 121 , m_chromeClient(pageClients.chromeClient) | 121 , m_chromeClient(pageClients.chromeClient) |
| 122 , m_dragCaretController(DragCaretController::create()) | 122 , m_dragCaretController(DragCaretController::create()) |
| 123 , m_dragController(DragController::create(this, pageClients.dragClient)) | 123 , m_dragController(DragController::create(this)) |
| 124 , m_focusController(FocusController::create(this)) | 124 , m_focusController(FocusController::create(this)) |
| 125 , m_contextMenuController(ContextMenuController::create(this, pageClients.co
ntextMenuClient)) | 125 , m_contextMenuController(ContextMenuController::create(this, pageClients.co
ntextMenuClient)) |
| 126 , m_pointerLockController(PointerLockController::create(this)) | 126 , m_pointerLockController(PointerLockController::create(this)) |
| 127 , m_undoStack(UndoStack::create()) | 127 , m_undoStack(UndoStack::create()) |
| 128 , m_mainFrame(nullptr) | 128 , m_mainFrame(nullptr) |
| 129 , m_editorClient(pageClients.editorClient) | 129 , m_editorClient(pageClients.editorClient) |
| 130 , m_spellCheckerClient(pageClients.spellCheckerClient) | 130 , m_spellCheckerClient(pageClients.spellCheckerClient) |
| 131 , m_openedByDOM(false) | 131 , m_openedByDOM(false) |
| 132 , m_tabKeyCyclesThroughElements(true) | 132 , m_tabKeyCyclesThroughElements(true) |
| 133 , m_defersLoading(false) | 133 , m_defersLoading(false) |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 { | 565 { |
| 566 ASSERT_UNUSED(timer, timer == &m_timerForCompressStrings); | 566 ASSERT_UNUSED(timer, timer == &m_timerForCompressStrings); |
| 567 if (m_visibilityState == PageVisibilityStateHidden) | 567 if (m_visibilityState == PageVisibilityStateHidden) |
| 568 CompressibleStringImpl::compressAll(); | 568 CompressibleStringImpl::compressAll(); |
| 569 } | 569 } |
| 570 | 570 |
| 571 Page::PageClients::PageClients() | 571 Page::PageClients::PageClients() |
| 572 : chromeClient(nullptr) | 572 : chromeClient(nullptr) |
| 573 , contextMenuClient(nullptr) | 573 , contextMenuClient(nullptr) |
| 574 , editorClient(nullptr) | 574 , editorClient(nullptr) |
| 575 , dragClient(nullptr) | |
| 576 , spellCheckerClient(nullptr) | 575 , spellCheckerClient(nullptr) |
| 577 { | 576 { |
| 578 } | 577 } |
| 579 | 578 |
| 580 Page::PageClients::~PageClients() | 579 Page::PageClients::~PageClients() |
| 581 { | 580 { |
| 582 } | 581 } |
| 583 | 582 |
| 584 template class CORE_TEMPLATE_EXPORT Supplement<Page>; | 583 template class CORE_TEMPLATE_EXPORT Supplement<Page>; |
| 585 | 584 |
| 586 } // namespace blink | 585 } // namespace blink |
| OLD | NEW |