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

Side by Side Diff: Source/core/loader/EmptyClients.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/loader/EmptyClients.h ('k') | Source/core/loader/FrameLoader.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 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org>
3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 static DragClient* dummyDragClient = adoptPtr(new EmptyDragClient).leakPtr() ; 54 static DragClient* dummyDragClient = adoptPtr(new EmptyDragClient).leakPtr() ;
55 pageClients.dragClient = dummyDragClient; 55 pageClients.dragClient = dummyDragClient;
56 56
57 static EditorClient* dummyEditorClient = adoptPtr(new EmptyEditorClient).lea kPtr(); 57 static EditorClient* dummyEditorClient = adoptPtr(new EmptyEditorClient).lea kPtr();
58 pageClients.editorClient = dummyEditorClient; 58 pageClients.editorClient = dummyEditorClient;
59 59
60 static InspectorClient* dummyInspectorClient = adoptPtr(new EmptyInspectorCl ient).leakPtr(); 60 static InspectorClient* dummyInspectorClient = adoptPtr(new EmptyInspectorCl ient).leakPtr();
61 pageClients.inspectorClient = dummyInspectorClient; 61 pageClients.inspectorClient = dummyInspectorClient;
62 62
63 static BackForwardClient* dummyBackForwardClient = adoptPtr(new EmptyBackFor wardClient).leakPtr();
64 pageClients.backForwardClient = dummyBackForwardClient;
65
66 static SpellCheckerClient* dummySpellCheckerClient = adoptPtr(new EmptySpell CheckerClient).leakPtr(); 63 static SpellCheckerClient* dummySpellCheckerClient = adoptPtr(new EmptySpell CheckerClient).leakPtr();
67 pageClients.spellCheckerClient = dummySpellCheckerClient; 64 pageClients.spellCheckerClient = dummySpellCheckerClient;
68 65
69 static StorageClient* dummyStorageClient = adoptPtr(new EmptyStorageClient). leakPtr(); 66 static StorageClient* dummyStorageClient = adoptPtr(new EmptyStorageClient). leakPtr();
70 pageClients.storageClient = dummyStorageClient; 67 pageClients.storageClient = dummyStorageClient;
71 } 68 }
72 69
73 class EmptyPopupMenu : public PopupMenu { 70 class EmptyPopupMenu : public PopupMenu {
74 public: 71 public:
75 virtual void show(const FloatQuad&, const IntSize&, int) override { } 72 virtual void show(const FloatQuad&, const IntSize&, int) override { }
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 { 158 {
162 return nullptr; 159 return nullptr;
163 } 160 }
164 161
165 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace() 162 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace()
166 { 163 {
167 return nullptr; 164 return nullptr;
168 } 165 }
169 166
170 } 167 }
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698