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

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

Issue 2367393002: Migrating MediaSession messages to mojo (Closed)
Patch Set: better type mapping (experimental, should move to a separate CL) Created 4 years, 2 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {} 245 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {}
246 void didDetectXSS(const KURL&, bool) override {} 246 void didDetectXSS(const KURL&, bool) override {}
247 void didDispatchPingLoader(const KURL&) override {} 247 void didDispatchPingLoader(const KURL&) override {}
248 void didDisplayContentWithCertificateErrors(const KURL&) override {} 248 void didDisplayContentWithCertificateErrors(const KURL&) override {}
249 void didRunContentWithCertificateErrors(const KURL&) override {} 249 void didRunContentWithCertificateErrors(const KURL&) override {}
250 void selectorMatchChanged(const Vector<String>&, const Vector<String>&) over ride {} 250 void selectorMatchChanged(const Vector<String>&, const Vector<String>&) over ride {}
251 LocalFrame* createFrame(const FrameLoadRequest&, const AtomicString&, HTMLFr ameOwnerElement*) override; 251 LocalFrame* createFrame(const FrameLoadRequest&, const AtomicString&, HTMLFr ameOwnerElement*) override;
252 Widget* createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, DetachedPluginPolicy) override; 252 Widget* createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, DetachedPluginPolicy) override;
253 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { return false; } 253 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { return false; }
254 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, cons t WebMediaPlayerSource&, WebMediaPlayerClient*) override; 254 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, cons t WebMediaPlayerSource&, WebMediaPlayerClient*) override;
255 std::unique_ptr<WebMediaSession> createWebMediaSession() override;
256 255
257 ObjectContentType getObjectContentType(const KURL&, const String&, bool) ove rride { return ObjectContentType(); } 256 ObjectContentType getObjectContentType(const KURL&, const String&, bool) ove rride { return ObjectContentType(); }
258 257
259 void didCreateNewDocument() override {} 258 void didCreateNewDocument() override {}
260 void dispatchDidClearWindowObjectInMainWorld() override {} 259 void dispatchDidClearWindowObjectInMainWorld() override {}
261 void documentElementAvailable() override {} 260 void documentElementAvailable() override {}
262 void runScriptsAtDocumentElementAvailable() override {} 261 void runScriptsAtDocumentElementAvailable() override {}
263 void runScriptsAtDocumentReady(bool) override {} 262 void runScriptsAtDocumentReady(bool) override {}
264 263
265 void didCreateScriptContext(v8::Local<v8::Context>, int extensionGroup, int worldId) override {} 264 void didCreateScriptContext(v8::Local<v8::Context>, int extensionGroup, int worldId) override {}
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 ~EmptyContextMenuClient() override {} 330 ~EmptyContextMenuClient() override {}
332 bool showContextMenu(const ContextMenu*, bool) override { return false; } 331 bool showContextMenu(const ContextMenu*, bool) override { return false; }
333 void clearContextMenu() override {} 332 void clearContextMenu() override {}
334 }; 333 };
335 334
336 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 335 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
337 336
338 } // namespace blink 337 } // namespace blink
339 338
340 #endif // EmptyClients_h 339 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698