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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 9026013: aura: Allow fullscreen RWHVAs (i.e. Flash) to be focused. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index c86b61184f09b4ef6b7f853d5d0c643df4c82f45..7eacafee72783c22e97afdd841aa16dee34a3e84 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -586,7 +586,7 @@ void RenderWidgetHostViewAura::OnWindowVisibilityChanged(bool visible) {
// RenderWidgetHostViewAura, aura::client::ActivationDelegate implementation:
bool RenderWidgetHostViewAura::ShouldActivate(aura::Event* event) {
- return false;
+ return is_fullscreen_;
Daniel Erat 2011/12/22 19:33:19 I suspect that the desired approach is to leave th
}
void RenderWidgetHostViewAura::OnActivated() {

Powered by Google App Engine
This is Rietveld 408576698