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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrameClient.h

Issue 2927703003: Move ObjectContentType entirely to HTMLPlugInElement (Closed)
Patch Set: More Created 3 years, 6 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, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2012 Google Inc. All rights reserved. 4 * Copyright (C) 2012 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 bool load_manually, 216 bool load_manually,
217 DetachedPluginPolicy) = 0; 217 DetachedPluginPolicy) = 0;
218 218
219 virtual std::unique_ptr<WebMediaPlayer> CreateWebMediaPlayer( 219 virtual std::unique_ptr<WebMediaPlayer> CreateWebMediaPlayer(
220 HTMLMediaElement&, 220 HTMLMediaElement&,
221 const WebMediaPlayerSource&, 221 const WebMediaPlayerSource&,
222 WebMediaPlayerClient*) = 0; 222 WebMediaPlayerClient*) = 0;
223 virtual WebRemotePlaybackClient* CreateWebRemotePlaybackClient( 223 virtual WebRemotePlaybackClient* CreateWebRemotePlaybackClient(
224 HTMLMediaElement&) = 0; 224 HTMLMediaElement&) = 0;
225 225
226 virtual ObjectContentType GetObjectContentType(
227 const KURL&,
228 const String& mime_type,
229 bool should_prefer_plug_ins_for_images) = 0;
230
231 virtual void DidCreateNewDocument() = 0; 226 virtual void DidCreateNewDocument() = 0;
232 virtual void DispatchDidClearWindowObjectInMainWorld() = 0; 227 virtual void DispatchDidClearWindowObjectInMainWorld() = 0;
233 virtual void DocumentElementAvailable() = 0; 228 virtual void DocumentElementAvailable() = 0;
234 virtual void RunScriptsAtDocumentElementAvailable() = 0; 229 virtual void RunScriptsAtDocumentElementAvailable() = 0;
235 virtual void RunScriptsAtDocumentReady(bool document_is_empty) = 0; 230 virtual void RunScriptsAtDocumentReady(bool document_is_empty) = 0;
236 virtual void RunScriptsAtDocumentIdle() = 0; 231 virtual void RunScriptsAtDocumentIdle() = 0;
237 232
238 virtual void DidCreateScriptContext(v8::Local<v8::Context>, int world_id) = 0; 233 virtual void DidCreateScriptContext(v8::Local<v8::Context>, int world_id) = 0;
239 virtual void WillReleaseScriptContext(v8::Local<v8::Context>, 234 virtual void WillReleaseScriptContext(v8::Local<v8::Context>,
240 int world_id) = 0; 235 int world_id) = 0;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 virtual void AbortClientNavigation() {} 340 virtual void AbortClientNavigation() {}
346 341
347 virtual TextCheckerClient& GetTextCheckerClient() const = 0; 342 virtual TextCheckerClient& GetTextCheckerClient() const = 0;
348 343
349 virtual std::unique_ptr<WebURLLoader> CreateURLLoader() = 0; 344 virtual std::unique_ptr<WebURLLoader> CreateURLLoader() = 0;
350 }; 345 };
351 346
352 } // namespace blink 347 } // namespace blink
353 348
354 #endif // LocalFrameClient_h 349 #endif // LocalFrameClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698