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

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

Issue 1216093003: Service Worker: Migrate to version_uuid and surface ServiceWorker.id. (Blink 1/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/core/loader/FrameFetchContext.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, 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) override { return false; } 245 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) override { return false; }
246 246
247 virtual v8::Local<v8::Value> createTestInterface(const AtomicString& name) o verride; 247 virtual v8::Local<v8::Value> createTestInterface(const AtomicString& name) o verride;
248 248
249 virtual WebCookieJar* cookieJar() const override { return 0; } 249 virtual WebCookieJar* cookieJar() const override { return 0; }
250 250
251 virtual void didRequestAutocomplete(HTMLFormElement*) override; 251 virtual void didRequestAutocomplete(HTMLFormElement*) override;
252 252
253 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() o verride; 253 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() o verride;
254 virtual bool isControlledByServiceWorker(DocumentLoader&) override { return false; } 254 virtual bool isControlledByServiceWorker(DocumentLoader&) override { return false; }
255 virtual int64_t serviceWorkerID(DocumentLoader&) override { return -1; } 255 virtual std::string serviceWorkerID(DocumentLoader&) override { return std:: string(); }
256 virtual PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebAp plicationCacheHostClient*) override; 256 virtual PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebAp plicationCacheHostClient*) override;
257 }; 257 };
258 258
259 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient { 259 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient {
260 public: 260 public:
261 ~EmptyTextCheckerClient() { } 261 ~EmptyTextCheckerClient() { }
262 262
263 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const override { return true; } 263 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const override { return true; }
264 virtual void checkSpellingOfString(const String&, int*, int*) override { } 264 virtual void checkSpellingOfString(const String&, int*, int*) override { }
265 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) over ride { return String(); } 265 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) over ride { return String(); }
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 virtual ~EmptyDragClient() { } 318 virtual ~EmptyDragClient() { }
319 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; } 319 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; }
320 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { } 320 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { }
321 }; 321 };
322 322
323 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 323 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
324 324
325 } // namespace blink 325 } // namespace blink
326 326
327 #endif // EmptyClients_h 327 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/core/loader/FrameFetchContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698