Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: Source/core/page/Page.cpp

Issue 669013002: Remove BackForwardClient, cleanup starting a history navigation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 , m_autoscrollController(AutoscrollController::create(*this)) 117 , m_autoscrollController(AutoscrollController::create(*this))
118 , m_chrome(Chrome::create(this, pageClients.chromeClient)) 118 , m_chrome(Chrome::create(this, pageClients.chromeClient))
119 , m_dragCaretController(DragCaretController::create()) 119 , m_dragCaretController(DragCaretController::create())
120 , m_dragController(DragController::create(this, pageClients.dragClient)) 120 , m_dragController(DragController::create(this, pageClients.dragClient))
121 , m_focusController(FocusController::create(this)) 121 , m_focusController(FocusController::create(this))
122 , m_contextMenuController(ContextMenuController::create(this, pageClients.co ntextMenuClient)) 122 , m_contextMenuController(ContextMenuController::create(this, pageClients.co ntextMenuClient))
123 , m_inspectorController(InspectorController::create(this, pageClients.inspec torClient)) 123 , m_inspectorController(InspectorController::create(this, pageClients.inspec torClient))
124 , m_pointerLockController(PointerLockController::create(this)) 124 , m_pointerLockController(PointerLockController::create(this))
125 , m_undoStack(UndoStack::create()) 125 , m_undoStack(UndoStack::create())
126 , m_mainFrame(nullptr) 126 , m_mainFrame(nullptr)
127 , m_backForwardClient(pageClients.backForwardClient)
128 , m_editorClient(pageClients.editorClient) 127 , m_editorClient(pageClients.editorClient)
129 , m_spellCheckerClient(pageClients.spellCheckerClient) 128 , m_spellCheckerClient(pageClients.spellCheckerClient)
130 , m_storageClient(pageClients.storageClient) 129 , m_storageClient(pageClients.storageClient)
131 , m_openedByDOM(false) 130 , m_openedByDOM(false)
132 , m_tabKeyCyclesThroughElements(true) 131 , m_tabKeyCyclesThroughElements(true)
133 , m_defersLoading(false) 132 , m_defersLoading(false)
134 , m_deviceScaleFactor(1) 133 , m_deviceScaleFactor(1)
135 , m_timerAlignmentInterval(DOMTimer::visiblePageAlignmentInterval()) 134 , m_timerAlignmentInterval(DOMTimer::visiblePageAlignmentInterval())
136 , m_visibilityState(PageVisibilityStateVisible) 135 , m_visibilityState(PageVisibilityStateVisible)
137 , m_isCursorVisible(true) 136 , m_isCursorVisible(true)
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 m_validationMessageClient->willBeDestroyed(); 644 m_validationMessageClient->willBeDestroyed();
646 m_mainFrame = nullptr; 645 m_mainFrame = nullptr;
647 } 646 }
648 647
649 Page::PageClients::PageClients() 648 Page::PageClients::PageClients()
650 : chromeClient(0) 649 : chromeClient(0)
651 , contextMenuClient(0) 650 , contextMenuClient(0)
652 , editorClient(0) 651 , editorClient(0)
653 , dragClient(0) 652 , dragClient(0)
654 , inspectorClient(0) 653 , inspectorClient(0)
655 , backForwardClient(0)
656 , spellCheckerClient(0) 654 , spellCheckerClient(0)
657 , storageClient(0) 655 , storageClient(0)
658 { 656 {
659 } 657 }
660 658
661 Page::PageClients::~PageClients() 659 Page::PageClients::~PageClients()
662 { 660 {
663 } 661 }
664 662
665 } // namespace blink 663 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698