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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 649873006: Enable shadow DOM-based "missing plugin" placeholder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments (thestig, sievers) Created 6 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 ServiceRegistry* GetServiceRegistry() override; 275 ServiceRegistry* GetServiceRegistry() override;
276 bool IsFTPDirectoryListing() override; 276 bool IsFTPDirectoryListing() override;
277 void AttachGuest(int element_instance_id) override; 277 void AttachGuest(int element_instance_id) override;
278 void SetSelectedText(const base::string16& selection_text, 278 void SetSelectedText(const base::string16& selection_text,
279 size_t offset, 279 size_t offset,
280 const gfx::Range& range) override; 280 const gfx::Range& range) override;
281 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, 281 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate,
282 v8::Handle<v8::Context> context) override; 282 v8::Handle<v8::Context> context) override;
283 283
284 // blink::WebFrameClient implementation: 284 // blink::WebFrameClient implementation:
285 blink::WebPluginPlaceholder* createPluginPlaceholder(
286 blink::WebLocalFrame*,
287 const blink::WebPluginParams&) override;
285 virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, 288 virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame,
286 const blink::WebPluginParams& params); 289 const blink::WebPluginParams& params);
287 // TODO(jrummell): Remove this method once blink updated. 290 // TODO(jrummell): Remove this method once blink updated.
288 virtual blink::WebMediaPlayer* createMediaPlayer( 291 virtual blink::WebMediaPlayer* createMediaPlayer(
289 blink::WebLocalFrame* frame, 292 blink::WebLocalFrame* frame,
290 const blink::WebURL& url, 293 const blink::WebURL& url,
291 blink::WebMediaPlayerClient* client); 294 blink::WebMediaPlayerClient* client);
292 virtual blink::WebMediaPlayer* createMediaPlayer( 295 virtual blink::WebMediaPlayer* createMediaPlayer(
293 blink::WebLocalFrame* frame, 296 blink::WebLocalFrame* frame,
294 const blink::WebURL& url, 297 const blink::WebURL& url,
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 #endif 784 #endif
782 785
783 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 786 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
784 787
785 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 788 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
786 }; 789 };
787 790
788 } // namespace content 791 } // namespace content
789 792
790 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 793 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698