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

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.h

Issue 2484973005: [Blink, RemotePlaybackAPI] Create WebRemotePlaybackClient in HTMLMediaElement ctor to avoid lazy in… (Closed)
Patch Set: Removed <v8.h> from HTMLMediaElement.cpp Created 4 years, 1 month 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) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 const KURL&, 149 const KURL&,
150 const Vector<WTF::String>&, 150 const Vector<WTF::String>&,
151 const Vector<WTF::String>&, 151 const Vector<WTF::String>&,
152 const WTF::String&, 152 const WTF::String&,
153 bool loadManually, 153 bool loadManually,
154 DetachedPluginPolicy) override; 154 DetachedPluginPolicy) override;
155 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer( 155 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer(
156 HTMLMediaElement&, 156 HTMLMediaElement&,
157 const WebMediaPlayerSource&, 157 const WebMediaPlayerSource&,
158 WebMediaPlayerClient*) override; 158 WebMediaPlayerClient*) override;
159 WebRemotePlaybackClient* createWebRemotePlaybackClient(
160 HTMLMediaElement&) override;
159 ObjectContentType getObjectContentType( 161 ObjectContentType getObjectContentType(
160 const KURL&, 162 const KURL&,
161 const WTF::String& mimeType, 163 const WTF::String& mimeType,
162 bool shouldPreferPlugInsForImages) override; 164 bool shouldPreferPlugInsForImages) override;
163 void didChangeScrollOffset() override; 165 void didChangeScrollOffset() override;
164 void didUpdateCurrentHistoryItem() override; 166 void didUpdateCurrentHistoryItem() override;
165 bool allowScript(bool enabledPerSettings) override; 167 bool allowScript(bool enabledPerSettings) override;
166 bool allowScriptFromSource(bool enabledPerSettings, 168 bool allowScriptFromSource(bool enabledPerSettings,
167 const KURL& scriptURL) override; 169 const KURL& scriptURL) override;
168 bool allowPlugins(bool enabledPerSettings) override; 170 bool allowPlugins(bool enabledPerSettings) override;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 235
234 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, 236 DEFINE_TYPE_CASTS(FrameLoaderClientImpl,
235 FrameLoaderClient, 237 FrameLoaderClient,
236 client, 238 client,
237 client->isFrameLoaderClientImpl(), 239 client->isFrameLoaderClientImpl(),
238 client.isFrameLoaderClientImpl()); 240 client.isFrameLoaderClientImpl());
239 241
240 } // namespace blink 242 } // namespace blink
241 243
242 #endif 244 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698