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

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

Issue 2759063002: Remove most of Widget (FrameViewBase) class from HTMLPlugInElement. (Closed)
Patch Set: Fix shouldAccelerate Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLPlugInElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "public/platform/WebLoadingBehaviorFlag.h" 54 #include "public/platform/WebLoadingBehaviorFlag.h"
55 #include "v8/include/v8.h" 55 #include "v8/include/v8.h"
56 #include "wtf/Forward.h" 56 #include "wtf/Forward.h"
57 #include "wtf/Vector.h" 57 #include "wtf/Vector.h"
58 58
59 namespace blink { 59 namespace blink {
60 60
61 class Document; 61 class Document;
62 class DocumentLoader; 62 class DocumentLoader;
63 struct FrameLoadRequest; 63 struct FrameLoadRequest;
64 class FrameViewBase;
65 class HTMLFormElement; 64 class HTMLFormElement;
66 class HTMLFrameElementBase; 65 class HTMLFrameElementBase;
67 class HTMLFrameOwnerElement; 66 class HTMLFrameOwnerElement;
68 class HTMLMediaElement; 67 class HTMLMediaElement;
69 class HTMLPlugInElement; 68 class HTMLPlugInElement;
70 class HistoryItem; 69 class HistoryItem;
71 class KURL; 70 class KURL;
72 class LocalFrame; 71 class LocalFrame;
72 class PluginView;
73 class ResourceError; 73 class ResourceError;
74 class ResourceRequest; 74 class ResourceRequest;
75 class ResourceResponse; 75 class ResourceResponse;
76 class SecurityOrigin; 76 class SecurityOrigin;
77 class SharedWorkerRepositoryClient; 77 class SharedWorkerRepositoryClient;
78 class SubstituteData; 78 class SubstituteData;
79 class WebApplicationCacheHost; 79 class WebApplicationCacheHost;
80 class WebApplicationCacheHostClient; 80 class WebApplicationCacheHostClient;
81 class WebCookieJar; 81 class WebCookieJar;
82 class WebMediaPlayer; 82 class WebMediaPlayer;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 virtual LocalFrame* createFrame(const FrameLoadRequest&, 189 virtual LocalFrame* createFrame(const FrameLoadRequest&,
190 const AtomicString& name, 190 const AtomicString& name,
191 HTMLFrameOwnerElement*) = 0; 191 HTMLFrameOwnerElement*) = 0;
192 // Whether or not plugin creation should fail if the HTMLPlugInElement isn't 192 // Whether or not plugin creation should fail if the HTMLPlugInElement isn't
193 // in the DOM after plugin initialization. 193 // in the DOM after plugin initialization.
194 enum DetachedPluginPolicy { 194 enum DetachedPluginPolicy {
195 FailOnDetachedPlugin, 195 FailOnDetachedPlugin,
196 AllowDetachedPlugin, 196 AllowDetachedPlugin,
197 }; 197 };
198 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const = 0; 198 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const = 0;
199 virtual FrameViewBase* createPlugin(HTMLPlugInElement*, 199 virtual PluginView* createPlugin(HTMLPlugInElement*,
200 const KURL&, 200 const KURL&,
201 const Vector<String>&, 201 const Vector<String>&,
202 const Vector<String>&, 202 const Vector<String>&,
203 const String&, 203 const String&,
204 bool loadManually, 204 bool loadManually,
205 DetachedPluginPolicy) = 0; 205 DetachedPluginPolicy) = 0;
206 206
207 virtual std::unique_ptr<WebMediaPlayer> createWebMediaPlayer( 207 virtual std::unique_ptr<WebMediaPlayer> createWebMediaPlayer(
208 HTMLMediaElement&, 208 HTMLMediaElement&,
209 const WebMediaPlayerSource&, 209 const WebMediaPlayerSource&,
210 WebMediaPlayerClient*) = 0; 210 WebMediaPlayerClient*) = 0;
211 virtual WebRemotePlaybackClient* createWebRemotePlaybackClient( 211 virtual WebRemotePlaybackClient* createWebRemotePlaybackClient(
212 HTMLMediaElement&) = 0; 212 HTMLMediaElement&) = 0;
213 213
214 virtual ObjectContentType getObjectContentType( 214 virtual ObjectContentType getObjectContentType(
215 const KURL&, 215 const KURL&,
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } 340 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
341 341
342 virtual BlameContext* frameBlameContext() { return nullptr; } 342 virtual BlameContext* frameBlameContext() { return nullptr; }
343 343
344 virtual void setHasReceivedUserGesture() {} 344 virtual void setHasReceivedUserGesture() {}
345 }; 345 };
346 346
347 } // namespace blink 347 } // namespace blink
348 348
349 #endif // LocalFrameClient_h 349 #endif // LocalFrameClient_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLPlugInElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698