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

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

Issue 1291723004: Remove all support for <applet> handling in Chrome. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 3 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/layout/LayoutPart.cpp ('k') | Source/core/loader/EmptyClients.cpp » ('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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 bool navigateBackForward(int offset) const override { return false; } 227 bool navigateBackForward(int offset) const override { return false; }
228 void didDisplayInsecureContent() override {} 228 void didDisplayInsecureContent() override {}
229 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {} 229 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {}
230 void didDetectXSS(const KURL&, bool) override {} 230 void didDetectXSS(const KURL&, bool) override {}
231 void didDispatchPingLoader(const KURL&) override {} 231 void didDispatchPingLoader(const KURL&) override {}
232 void selectorMatchChanged(const Vector<String>&, const Vector<String>&) over ride {} 232 void selectorMatchChanged(const Vector<String>&, const Vector<String>&) over ride {}
233 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t AtomicString&, HTMLFrameOwnerElement*) override; 233 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t AtomicString&, HTMLFrameOwnerElement*) override;
234 PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, DetachedPlug inPolicy) override; 234 PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, DetachedPlug inPolicy) override;
235 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { return false; } 235 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { return false; }
236 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, co nst KURL&, const Vector<String>&, const Vector<String>&) override;
237 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override; 236 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override;
238 237
239 ObjectContentType objectContentType(const KURL&, const String&, bool) overri de { return ObjectContentType(); } 238 ObjectContentType objectContentType(const KURL&, const String&, bool) overri de { return ObjectContentType(); }
240 239
241 void didCreateNewDocument() override {} 240 void didCreateNewDocument() override {}
242 void dispatchDidClearWindowObjectInMainWorld() override {} 241 void dispatchDidClearWindowObjectInMainWorld() override {}
243 void documentElementAvailable() override {} 242 void documentElementAvailable() override {}
244 243
245 void didCreateScriptContext(v8::Local<v8::Context>, int extensionGroup, int worldId) override {} 244 void didCreateScriptContext(v8::Local<v8::Context>, int extensionGroup, int worldId) override {}
246 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {} 245 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {}
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 ~EmptyDragClient() override {} 323 ~EmptyDragClient() override {}
325 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; } 324 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; }
326 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {} 325 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {}
327 }; 326 };
328 327
329 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 328 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
330 329
331 } // namespace blink 330 } // namespace blink
332 331
333 #endif // EmptyClients_h 332 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutPart.cpp ('k') | Source/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698