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

Unified Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc

Issue 8659014: Check that we have a focus manager in aura before trying to set focus. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: use type_popup instead for native_tab_contents_view_aura 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: chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc
diff --git a/chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc b/chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc
index 83165dc246f01f2a01a8acbd01efe0041915750d..3a6c1a0fa6becefb78f69085d78b88862009b366 100644
--- a/chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc
+++ b/chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc
@@ -143,7 +143,7 @@ TabContents* NativeTabContentsViewAura::GetTabContents() const {
// NativeTabContentsViewAura, NativeTabContentsView implementation:
void NativeTabContentsViewAura::InitNativeTabContentsView() {
- views::Widget::InitParams params(views::Widget::InitParams::TYPE_CONTROL);
+ views::Widget::InitParams params(views::Widget::InitParams::TYPE_POPUP);
params.native_widget = this;
// We don't draw anything so we don't need a texture.
params.create_texture_for_layer = false;

Powered by Google App Engine
This is Rietveld 408576698