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

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

Issue 16140020: Delete NetworkingContext and its subclasses. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 virtual ObjectContentType objectContentType(const KURL&, const String&, bool ) OVERRIDE { return ObjectContentType(); } 269 virtual ObjectContentType objectContentType(const KURL&, const String&, bool ) OVERRIDE { return ObjectContentType(); }
270 270
271 virtual void redirectDataToPlugin(Widget*) OVERRIDE { } 271 virtual void redirectDataToPlugin(Widget*) OVERRIDE { }
272 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) OVERRIDE { } 272 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) OVERRIDE { }
273 virtual void documentElementAvailable() OVERRIDE { } 273 virtual void documentElementAvailable() OVERRIDE { }
274 274
275 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr oup, int worldId) OVERRIDE { } 275 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr oup, int worldId) OVERRIDE { }
276 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId) OVERRIDE { } 276 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId) OVERRIDE { }
277 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) OVERRIDE { return false; } 277 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) OVERRIDE { return false; }
278 278
279 virtual PassRefPtr<FrameNetworkingContext> createNetworkingContext() OVERRID E; 279 virtual WebKit::WebCookieJar* cookieJar() const { return 0; }
280 280
281 virtual void didRequestAutocomplete(PassRefPtr<FormState>) OVERRIDE; 281 virtual void didRequestAutocomplete(PassRefPtr<FormState>) OVERRIDE;
282 }; 282 };
283 283
284 class EmptyTextCheckerClient : public TextCheckerClient { 284 class EmptyTextCheckerClient : public TextCheckerClient {
285 public: 285 public:
286 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const OVERRIDE { return true; } 286 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const OVERRIDE { return true; }
287 virtual void checkSpellingOfString(const UChar*, int, int*, int*) OVERRIDE { } 287 virtual void checkSpellingOfString(const UChar*, int, int*, int*) OVERRIDE { }
288 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) OVER RIDE { return String(); } 288 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) OVER RIDE { return String(); }
289 virtual void checkGrammarOfString(const UChar*, int, Vector<GrammarDetail>&, int*, int*) OVERRIDE { } 289 virtual void checkGrammarOfString(const UChar*, int, Vector<GrammarDetail>&, int*, int*) OVERRIDE { }
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 virtual int forwardListCount() OVERRIDE { return 0; } 403 virtual int forwardListCount() OVERRIDE { return 0; }
404 virtual bool isActive() OVERRIDE { return false; } 404 virtual bool isActive() OVERRIDE { return false; }
405 virtual void close() OVERRIDE { } 405 virtual void close() OVERRIDE { }
406 }; 406 };
407 407
408 void fillWithEmptyClients(Page::PageClients&); 408 void fillWithEmptyClients(Page::PageClients&);
409 409
410 } 410 }
411 411
412 #endif // EmptyClients_h 412 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698