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

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

Issue 1313763002: Blink Plugins: Remove Shadow DOM Plugin Placeholder (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: merge origin/master 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
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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 void transitionToCommittedForNewPage() override {} 225 void transitionToCommittedForNewPage() override {}
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 PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(Document&, const KURL&, const Vector<String>& paramNames, const Vector<String>& paramValue s, const String& mimeType, bool loadManually) override;
235 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;
236 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { return false; } 235 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { return false; }
237 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, co nst KURL&, const Vector<String>&, const Vector<String>&) override; 236 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, co nst KURL&, const Vector<String>&, const Vector<String>&) override;
238 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override; 237 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override;
239 238
240 ObjectContentType objectContentType(const KURL&, const String&, bool) overri de { return ObjectContentType(); } 239 ObjectContentType objectContentType(const KURL&, const String&, bool) overri de { return ObjectContentType(); }
241 240
242 void didCreateNewDocument() override {} 241 void didCreateNewDocument() override {}
243 void dispatchDidClearWindowObjectInMainWorld() override {} 242 void dispatchDidClearWindowObjectInMainWorld() override {}
244 void documentElementAvailable() override {} 243 void documentElementAvailable() override {}
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 ~EmptyDragClient() override {} 324 ~EmptyDragClient() override {}
326 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; } 325 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; }
327 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {} 326 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {}
328 }; 327 };
329 328
330 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 329 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
331 330
332 } // namespace blink 331 } // namespace blink
333 332
334 #endif // EmptyClients_h 333 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/html/shadow/PluginPlaceholderElement.js ('k') | Source/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698