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

Unified Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_container_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
« no previous file with comments | « no previous file | chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc
diff --git a/chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc b/chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc
index d010d6eefe39d2e28f56d21511723b4acc429ca6..e53e9700507195b6bd9fff0a0948f52a4a810fd2 100644
--- a/chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc
+++ b/chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc
@@ -113,6 +113,7 @@ void NativeTabContentsContainerAura::RequestFocus() {
// that should also have focus, RequestFocus() is invoked one the
// TabContentsContainer. In order to make sure OnFocus() is invoked we need
// to clear the focus before hands.
+ // if (GetFocusManager()) {
alicet1 2011/12/05 20:21:55 see the native_tab_contents_view_aura.cc in this C
sky 2011/12/05 21:56:41 See my second comment in this thread. A views::Wid
alicet1 2011/12/06 06:28:51 updated. per offline discussion, a test browser wi
{
// Disable notifications. Clear focus will assign the focus to the main
// browser window. Because this change of focus was not user requested,
« no previous file with comments | « no previous file | chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698