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

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

Issue 26078002: Rename WebServiceWorkerRegistry to WebServiceWorkerProvider (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add logging error handler 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, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) OVERRIDE { } 241 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) OVERRIDE { }
242 virtual void documentElementAvailable() OVERRIDE { } 242 virtual void documentElementAvailable() OVERRIDE { }
243 243
244 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr oup, int worldId) OVERRIDE { } 244 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr oup, int worldId) OVERRIDE { }
245 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId) OVERRIDE { } 245 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId) OVERRIDE { }
246 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) OVERRIDE { return false; } 246 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) OVERRIDE { return false; }
247 247
248 virtual WebKit::WebCookieJar* cookieJar() const { return 0; } 248 virtual WebKit::WebCookieJar* cookieJar() const { return 0; }
249 249
250 virtual void didRequestAutocomplete(PassRefPtr<FormState>) OVERRIDE; 250 virtual void didRequestAutocomplete(PassRefPtr<FormState>) OVERRIDE;
251 virtual WebKit::WebServiceWorkerRegistry* serviceWorkerRegistry() OVERRIDE { return 0; } 251 virtual WebKit::WebServiceWorkerProvider* createServiceWorkerProvider(WebKit ::WebServiceWorkerProviderClient*) OVERRIDE { return 0; }
252 }; 252 };
253 253
254 class EmptyTextCheckerClient : public TextCheckerClient { 254 class EmptyTextCheckerClient : public TextCheckerClient {
255 public: 255 public:
256 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const OVERRIDE { return true; } 256 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const OVERRIDE { return true; }
257 virtual void checkSpellingOfString(const String&, int*, int*) OVERRIDE { } 257 virtual void checkSpellingOfString(const String&, int*, int*) OVERRIDE { }
258 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) OVER RIDE { return String(); } 258 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) OVER RIDE { return String(); }
259 virtual void checkGrammarOfString(const String&, Vector<GrammarDetail>&, int *, int*) OVERRIDE { } 259 virtual void checkGrammarOfString(const String&, Vector<GrammarDetail>&, int *, int*) OVERRIDE { }
260 virtual void requestCheckingOfString(PassRefPtr<TextCheckingRequest>) OVERRI DE; 260 virtual void requestCheckingOfString(PassRefPtr<TextCheckingRequest>) OVERRI DE;
261 }; 261 };
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 virtual void didAddItem() OVERRIDE { } 350 virtual void didAddItem() OVERRIDE { }
351 virtual int backListCount() OVERRIDE { return 0; } 351 virtual int backListCount() OVERRIDE { return 0; }
352 virtual int forwardListCount() OVERRIDE { return 0; } 352 virtual int forwardListCount() OVERRIDE { return 0; }
353 }; 353 };
354 354
355 void fillWithEmptyClients(Page::PageClients&); 355 void fillWithEmptyClients(Page::PageClients&);
356 356
357 } 357 }
358 358
359 #endif // EmptyClients_h 359 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/loader/FrameLoaderClient.h » ('j') | Source/modules/serviceworkers/NavigatorServiceWorker.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698