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

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

Issue 26078002: Rename WebServiceWorkerRegistry to WebServiceWorkerProvider (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: resolver tweak Created 7 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 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 17 matching lines...) Expand all
28 #include "config.h" 28 #include "config.h"
29 #include "core/loader/EmptyClients.h" 29 #include "core/loader/EmptyClients.h"
30 30
31 #include "core/html/HTMLFormElement.h" 31 #include "core/html/HTMLFormElement.h"
32 #include "core/loader/DocumentLoader.h" 32 #include "core/loader/DocumentLoader.h"
33 #include "core/loader/FormState.h" 33 #include "core/loader/FormState.h"
34 #include "core/page/Frame.h" 34 #include "core/page/Frame.h"
35 #include "core/platform/ColorChooser.h" 35 #include "core/platform/ColorChooser.h"
36 #include "core/platform/DateTimeChooser.h" 36 #include "core/platform/DateTimeChooser.h"
37 #include "platform/FileChooser.h" 37 #include "platform/FileChooser.h"
38 #include "public/platform/WebServiceWorkerProvider.h"
38 39
39 namespace WebCore { 40 namespace WebCore {
40 41
41 void fillWithEmptyClients(Page::PageClients& pageClients) 42 void fillWithEmptyClients(Page::PageClients& pageClients)
42 { 43 {
43 static ChromeClient* dummyChromeClient = adoptPtr(new EmptyChromeClient).lea kPtr(); 44 static ChromeClient* dummyChromeClient = adoptPtr(new EmptyChromeClient).lea kPtr();
44 pageClients.chromeClient = dummyChromeClient; 45 pageClients.chromeClient = dummyChromeClient;
45 46
46 static ContextMenuClient* dummyContextMenuClient = adoptPtr(new EmptyContext MenuClient).leakPtr(); 47 static ContextMenuClient* dummyContextMenuClient = adoptPtr(new EmptyContext MenuClient).leakPtr();
47 pageClients.contextMenuClient = dummyContextMenuClient; 48 pageClients.contextMenuClient = dummyContextMenuClient;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 } 134 }
134 135
135 void EmptyEditorClient::registerRedoStep(PassRefPtr<UndoStep>) 136 void EmptyEditorClient::registerRedoStep(PassRefPtr<UndoStep>)
136 { 137 {
137 } 138 }
138 139
139 void EmptyFrameLoaderClient::didRequestAutocomplete(PassRefPtr<FormState>) 140 void EmptyFrameLoaderClient::didRequestAutocomplete(PassRefPtr<FormState>)
140 { 141 {
141 } 142 }
142 143
144 PassOwnPtr<WebKit::WebServiceWorkerProvider> EmptyFrameLoaderClient::createServi ceWorkerProvider(PassOwnPtr<WebKit::WebServiceWorkerProviderClient>)
abarth-chromium 2013/10/11 18:08:14 We probably avoided a leak in this case too... Do
alecflett 2013/10/11 18:52:23 Yes, I think that's reasonable.
145 {
146 return nullptr;
143 } 147 }
148
149 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698