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

Side by Side Diff: chrome/renderer/pepper_plugin_delegate_impl.cc

Issue 3352019: Add fullscreen support to Pepper. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: git cl tree Created 10 years, 3 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 | « chrome/renderer/pepper_plugin_delegate_impl.h ('k') | chrome/renderer/render_view.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 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/renderer/pepper_plugin_delegate_impl.h" 5 #include "chrome/renderer/pepper_plugin_delegate_impl.h"
6 6
7 #include "app/surface/transport_dib.h" 7 #include "app/surface/transport_dib.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 DCHECK(callback); 634 DCHECK(callback);
635 messages_waiting_replies_.Remove(message_id); 635 messages_waiting_replies_.Remove(message_id);
636 callback->Run(error_code, file); 636 callback->Run(error_code, file);
637 delete callback; 637 delete callback;
638 } 638 }
639 639
640 scoped_refptr<base::MessageLoopProxy> 640 scoped_refptr<base::MessageLoopProxy>
641 PepperPluginDelegateImpl::GetFileThreadMessageLoopProxy() { 641 PepperPluginDelegateImpl::GetFileThreadMessageLoopProxy() {
642 return RenderThread::current()->GetFileThreadMessageLoopProxy(); 642 return RenderThread::current()->GetFileThreadMessageLoopProxy();
643 } 643 }
644
645 pepper::FullscreenContainer*
646 PepperPluginDelegateImpl::CreateFullscreenContainer(
647 pepper::PluginInstance* instance) {
648 return render_view_->CreatePepperFullscreenContainer(instance);
649 }
OLDNEW
« no previous file with comments | « chrome/renderer/pepper_plugin_delegate_impl.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698