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

Side by Side Diff: Source/core/loader/EmptyClients.cpp

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 years, 10 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
« no previous file with comments | « Source/core/loader/DocumentWriter.cpp ('k') | Source/core/loader/FrameLoader.h » ('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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 { 118 {
119 } 119 }
120 120
121 PassRefPtr<DocumentLoader> EmptyFrameLoaderClient::createDocumentLoader(Frame* f rame, const ResourceRequest& request, const SubstituteData& substituteData) 121 PassRefPtr<DocumentLoader> EmptyFrameLoaderClient::createDocumentLoader(Frame* f rame, const ResourceRequest& request, const SubstituteData& substituteData)
122 { 122 {
123 return DocumentLoader::create(frame, request, substituteData); 123 return DocumentLoader::create(frame, request, substituteData);
124 } 124 }
125 125
126 PassRefPtr<Frame> EmptyFrameLoaderClient::createFrame(const KURL&, const AtomicS tring&, const Referrer&, HTMLFrameOwnerElement*) 126 PassRefPtr<Frame> EmptyFrameLoaderClient::createFrame(const KURL&, const AtomicS tring&, const Referrer&, HTMLFrameOwnerElement*)
127 { 127 {
128 return 0; 128 return nullptr;
129 } 129 }
130 130
131 PassRefPtr<Widget> EmptyFrameLoaderClient::createPlugin(const IntSize&, HTMLPlug InElement*, const KURL&, const Vector<String>&, const Vector<String>&, const Str ing&, bool) 131 PassRefPtr<Widget> EmptyFrameLoaderClient::createPlugin(const IntSize&, HTMLPlug InElement*, const KURL&, const Vector<String>&, const Vector<String>&, const Str ing&, bool)
132 { 132 {
133 return 0; 133 return nullptr;
134 } 134 }
135 135
136 PassRefPtr<Widget> EmptyFrameLoaderClient::createJavaAppletWidget(const IntSize& , HTMLAppletElement*, const KURL&, const Vector<String>&, const Vector<String>&) 136 PassRefPtr<Widget> EmptyFrameLoaderClient::createJavaAppletWidget(const IntSize& , HTMLAppletElement*, const KURL&, const Vector<String>&, const Vector<String>&)
137 { 137 {
138 return 0; 138 return nullptr;
139 } 139 }
140 140
141 void EmptyTextCheckerClient::requestCheckingOfString(PassRefPtr<TextCheckingRequ est>) 141 void EmptyTextCheckerClient::requestCheckingOfString(PassRefPtr<TextCheckingRequ est>)
142 { 142 {
143 } 143 }
144 144
145 void EmptyFrameLoaderClient::didRequestAutocomplete(PassRefPtr<FormState>) 145 void EmptyFrameLoaderClient::didRequestAutocomplete(PassRefPtr<FormState>)
146 { 146 {
147 } 147 }
148 148
149 PassOwnPtr<blink::WebServiceWorkerProvider> EmptyFrameLoaderClient::createServic eWorkerProvider(PassOwnPtr<blink::WebServiceWorkerProviderClient>) 149 PassOwnPtr<blink::WebServiceWorkerProvider> EmptyFrameLoaderClient::createServic eWorkerProvider(PassOwnPtr<blink::WebServiceWorkerProviderClient>)
150 { 150 {
151 return nullptr; 151 return nullptr;
152 } 152 }
153 153
154 PassOwnPtr<blink::WebApplicationCacheHost> EmptyFrameLoaderClient::createApplica tionCacheHost(blink::WebApplicationCacheHostClient*) 154 PassOwnPtr<blink::WebApplicationCacheHost> EmptyFrameLoaderClient::createApplica tionCacheHost(blink::WebApplicationCacheHostClient*)
155 { 155 {
156 return nullptr; 156 return nullptr;
157 } 157 }
158 158
159 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace() 159 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace()
160 { 160 {
161 return nullptr; 161 return nullptr;
162 } 162 }
163 163
164 } 164 }
OLDNEW
« no previous file with comments | « Source/core/loader/DocumentWriter.cpp ('k') | Source/core/loader/FrameLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698