| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 Page* page = frame->page(); | 56 Page* page = frame->page(); |
| 57 if (!page) | 57 if (!page) |
| 58 return 1; | 58 return 1; |
| 59 return page->deviceScaleFactor(); | 59 return page->deviceScaleFactor(); |
| 60 } | 60 } |
| 61 | 61 |
| 62 Page::Page(PageClients& pageClients, ServiceProvider& services) | 62 Page::Page(PageClients& pageClients, ServiceProvider& services) |
| 63 : SettingsDelegate(Settings::create()) | 63 : SettingsDelegate(Settings::create()) |
| 64 , m_animator(this) | 64 , m_animator(this) |
| 65 , m_autoscrollController(AutoscrollController::create(*this)) | 65 , m_autoscrollController(AutoscrollController::create(*this)) |
| 66 , m_chrome(Chrome::create(this, pageClients.chromeClient)) | 66 , m_chrome(Chrome::create(pageClients.chromeClient)) |
| 67 , m_dragCaretController(DragCaretController::create()) | 67 , m_dragCaretController(DragCaretController::create()) |
| 68 , m_focusController(FocusController::create(this)) | 68 , m_focusController(FocusController::create(this)) |
| 69 , m_undoStack(UndoStack::create()) | 69 , m_undoStack(UndoStack::create()) |
| 70 , m_mainFrame(0) | 70 , m_mainFrame(0) |
| 71 , m_editorClient(pageClients.editorClient) | 71 , m_editorClient(pageClients.editorClient) |
| 72 , m_spellCheckerClient(pageClients.spellCheckerClient) | 72 , m_spellCheckerClient(pageClients.spellCheckerClient) |
| 73 , m_deviceScaleFactor(1) | 73 , m_deviceScaleFactor(1) |
| 74 , m_timerAlignmentInterval(DOMTimer::visiblePageAlignmentInterval()) | 74 , m_timerAlignmentInterval(DOMTimer::visiblePageAlignmentInterval()) |
| 75 , m_visibilityState(PageVisibilityStateVisible) | 75 , m_visibilityState(PageVisibilityStateVisible) |
| 76 , m_isCursorVisible(true) | 76 , m_isCursorVisible(true) |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 , editorClient(0) | 279 , editorClient(0) |
| 280 , spellCheckerClient(0) | 280 , spellCheckerClient(0) |
| 281 { | 281 { |
| 282 } | 282 } |
| 283 | 283 |
| 284 Page::PageClients::~PageClients() | 284 Page::PageClients::~PageClients() |
| 285 { | 285 { |
| 286 } | 286 } |
| 287 | 287 |
| 288 } // namespace blink | 288 } // namespace blink |
| OLD | NEW |