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

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: Created 5 years, 4 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 void transitionToCommittedForNewPage() override {} 224 void transitionToCommittedForNewPage() override {}
225 225
226 bool navigateBackForward(int offset) const override { return false; } 226 bool navigateBackForward(int offset) const override { return false; }
227 void didDisplayInsecureContent() override {} 227 void didDisplayInsecureContent() override {}
228 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {} 228 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {}
229 void didDetectXSS(const KURL&, bool) override {} 229 void didDetectXSS(const KURL&, bool) override {}
230 void didDispatchPingLoader(const KURL&) override {} 230 void didDispatchPingLoader(const KURL&) override {}
231 void selectorMatchChanged(const Vector<String>&, const Vector<String>&) over ride {} 231 void selectorMatchChanged(const Vector<String>&, const Vector<String>&) over ride {}
232 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t AtomicString&, HTMLFrameOwnerElement*) override; 232 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t AtomicString&, HTMLFrameOwnerElement*) override;
233 PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(Document&, const KURL&, const Vector<String>& paramNames, const Vector<String>& paramValue s, const String& mimeType, bool loadManually) override;
234 PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, DetachedPlug inPolicy) override; 233 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; } 234 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { return false; }
236 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, co nst KURL&, const Vector<String>&, const Vector<String>&) override; 235 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 {}
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 ~EmptyDragClient() override {} 319 ~EmptyDragClient() override {}
321 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; } 320 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; }
322 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {} 321 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {}
323 }; 322 };
324 323
325 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 324 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
326 325
327 } // namespace blink 326 } // namespace blink
328 327
329 #endif // EmptyClients_h 328 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698