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

Side by Side Diff: third_party/WebKit/Source/web/LocalFrameClientImpl.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
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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 const ResourceRequest&, 140 const ResourceRequest&,
141 const SubstituteData&, 141 const SubstituteData&,
142 ClientRedirectPolicy) override; 142 ClientRedirectPolicy) override;
143 WTF::String userAgent() override; 143 WTF::String userAgent() override;
144 WTF::String doNotTrackValue() override; 144 WTF::String doNotTrackValue() override;
145 void transitionToCommittedForNewPage() override; 145 void transitionToCommittedForNewPage() override;
146 LocalFrame* createFrame(const FrameLoadRequest&, 146 LocalFrame* createFrame(const FrameLoadRequest&,
147 const WTF::AtomicString& name, 147 const WTF::AtomicString& name,
148 HTMLFrameOwnerElement*) override; 148 HTMLFrameOwnerElement*) override;
149 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; 149 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
150 FrameViewBase* createPlugin(HTMLPlugInElement*, 150 PluginView* createPlugin(HTMLPlugInElement*,
151 const KURL&, 151 const KURL&,
152 const Vector<WTF::String>&, 152 const Vector<WTF::String>&,
153 const Vector<WTF::String>&, 153 const Vector<WTF::String>&,
154 const WTF::String&, 154 const WTF::String&,
155 bool loadManually, 155 bool loadManually,
156 DetachedPluginPolicy) override; 156 DetachedPluginPolicy) override;
157 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer( 157 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer(
158 HTMLMediaElement&, 158 HTMLMediaElement&,
159 const WebMediaPlayerSource&, 159 const WebMediaPlayerSource&,
160 WebMediaPlayerClient*) override; 160 WebMediaPlayerClient*) override;
161 WebRemotePlaybackClient* createWebRemotePlaybackClient( 161 WebRemotePlaybackClient* createWebRemotePlaybackClient(
162 HTMLMediaElement&) override; 162 HTMLMediaElement&) override;
163 ObjectContentType getObjectContentType( 163 ObjectContentType getObjectContentType(
164 const KURL&, 164 const KURL&,
165 const WTF::String& mimeType, 165 const WTF::String& mimeType,
166 bool shouldPreferPlugInsForImages) override; 166 bool shouldPreferPlugInsForImages) override;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 240
241 DEFINE_TYPE_CASTS(LocalFrameClientImpl, 241 DEFINE_TYPE_CASTS(LocalFrameClientImpl,
242 LocalFrameClient, 242 LocalFrameClient,
243 client, 243 client,
244 client->isLocalFrameClientImpl(), 244 client->isLocalFrameClientImpl(),
245 client.isLocalFrameClientImpl()); 245 client.isLocalFrameClientImpl());
246 246
247 } // namespace blink 247 } // namespace blink
248 248
249 #endif 249 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ContextMenuClientImpl.cpp ('k') | third_party/WebKit/Source/web/LocalFrameClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698