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

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

Issue 8273029: PPAPI Fullscreen: In ViewChanged, check if the browser entered fullscreen mode (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.h ('k') | content/renderer/render_widget.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/renderer/pepper_plugin_delegate_impl.h" 5 #include "content/renderer/pepper_plugin_delegate_impl.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 1722 matching lines...) Expand 10 before | Expand all | Expand 10 after
1733 // input for a while. 1733 // input for a while.
1734 if (instance == last_mouse_event_target_) 1734 if (instance == last_mouse_event_target_)
1735 render_view_->didChangeCursor(cursor); 1735 render_view_->didChangeCursor(cursor);
1736 } 1736 }
1737 1737
1738 void PepperPluginDelegateImpl::DidReceiveMouseEvent( 1738 void PepperPluginDelegateImpl::DidReceiveMouseEvent(
1739 webkit::ppapi::PluginInstance* instance) { 1739 webkit::ppapi::PluginInstance* instance) {
1740 last_mouse_event_target_ = instance; 1740 last_mouse_event_target_ = instance;
1741 } 1741 }
1742 1742
1743 bool PepperPluginDelegateImpl::IsInFullscreenMode() {
1744 return render_view_->is_fullscreen();
1745 }
1746
1743 int PepperPluginDelegateImpl::GetRoutingId() const { 1747 int PepperPluginDelegateImpl::GetRoutingId() const {
1744 return render_view_->routing_id(); 1748 return render_view_->routing_id();
1745 } 1749 }
1746 1750
1747 void PepperPluginDelegateImpl::PublishInitialPolicy( 1751 void PepperPluginDelegateImpl::PublishInitialPolicy(
1748 scoped_refptr<webkit::ppapi::PluginInstance> instance, 1752 scoped_refptr<webkit::ppapi::PluginInstance> instance,
1749 const std::string& policy) { 1753 const std::string& policy) {
1750 instance->HandlePolicyUpdate(policy); 1754 instance->HandlePolicyUpdate(policy);
1751 } 1755 }
OLDNEW
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.h ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698