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

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: rebase Created 6 years, 1 month 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
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/core/testing/DummyPageHolder.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 , m_autoscrollController(AutoscrollController::create(*this)) 116 , m_autoscrollController(AutoscrollController::create(*this))
117 , m_chrome(Chrome::create(this, pageClients.chromeClient)) 117 , m_chrome(Chrome::create(this, pageClients.chromeClient))
118 , m_dragCaretController(DragCaretController::create()) 118 , m_dragCaretController(DragCaretController::create())
119 , m_dragController(DragController::create(this, pageClients.dragClient)) 119 , m_dragController(DragController::create(this, pageClients.dragClient))
120 , m_focusController(FocusController::create(this)) 120 , m_focusController(FocusController::create(this))
121 , m_contextMenuController(ContextMenuController::create(this, pageClients.co ntextMenuClient)) 121 , m_contextMenuController(ContextMenuController::create(this, pageClients.co ntextMenuClient))
122 , m_inspectorController(InspectorController::create(this, pageClients.inspec torClient)) 122 , m_inspectorController(InspectorController::create(this, pageClients.inspec torClient))
123 , m_pointerLockController(PointerLockController::create(this)) 123 , m_pointerLockController(PointerLockController::create(this))
124 , m_undoStack(UndoStack::create()) 124 , m_undoStack(UndoStack::create())
125 , m_mainFrame(nullptr) 125 , m_mainFrame(nullptr)
126 , m_backForwardClient(pageClients.backForwardClient)
127 , m_editorClient(pageClients.editorClient) 126 , m_editorClient(pageClients.editorClient)
128 , m_spellCheckerClient(pageClients.spellCheckerClient) 127 , m_spellCheckerClient(pageClients.spellCheckerClient)
129 , m_storageClient(pageClients.storageClient) 128 , m_storageClient(pageClients.storageClient)
130 , m_openedByDOM(false) 129 , m_openedByDOM(false)
131 , m_tabKeyCyclesThroughElements(true) 130 , m_tabKeyCyclesThroughElements(true)
132 , m_defersLoading(false) 131 , m_defersLoading(false)
133 , m_deviceScaleFactor(1) 132 , m_deviceScaleFactor(1)
134 , m_timerAlignmentInterval(DOMTimer::visiblePageAlignmentInterval()) 133 , m_timerAlignmentInterval(DOMTimer::visiblePageAlignmentInterval())
135 , m_visibilityState(PageVisibilityStateVisible) 134 , m_visibilityState(PageVisibilityStateVisible)
136 , m_isCursorVisible(true) 135 , m_isCursorVisible(true)
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 m_validationMessageClient->willBeDestroyed(); 634 m_validationMessageClient->willBeDestroyed();
636 m_mainFrame = nullptr; 635 m_mainFrame = nullptr;
637 } 636 }
638 637
639 Page::PageClients::PageClients() 638 Page::PageClients::PageClients()
640 : chromeClient(nullptr) 639 : chromeClient(nullptr)
641 , contextMenuClient(nullptr) 640 , contextMenuClient(nullptr)
642 , editorClient(nullptr) 641 , editorClient(nullptr)
643 , dragClient(nullptr) 642 , dragClient(nullptr)
644 , inspectorClient(nullptr) 643 , inspectorClient(nullptr)
645 , backForwardClient(nullptr)
646 , spellCheckerClient(nullptr) 644 , spellCheckerClient(nullptr)
647 , storageClient(nullptr) 645 , storageClient(nullptr)
648 { 646 {
649 } 647 }
650 648
651 Page::PageClients::~PageClients() 649 Page::PageClients::~PageClients()
652 { 650 {
653 } 651 }
654 652
655 } // namespace blink 653 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/core/testing/DummyPageHolder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698