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

Unified Diff: views/focus/focus_manager_unittest.cc

Issue 140064: Revert :... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/focus/focus_manager_gtk.cc ('k') | views/focus/focus_manager_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/focus/focus_manager_unittest.cc
===================================================================
--- views/focus/focus_manager_unittest.cc (revision 18902)
+++ views/focus/focus_manager_unittest.cc (working copy)
@@ -119,7 +119,7 @@
parent_container, NULL, NULL, NULL);
// Create the view container which is a child of the TabControl.
widget_ = new WidgetWin();
- widget_->Init(tab_control, gfx::Rect());
+ widget_->Init(tab_control, gfx::Rect(), false);
widget_->SetContentsView(child_);
widget_->SetFocusTraversableParentView(this);
ResizeContents(tab_control);
@@ -210,8 +210,7 @@
}
FocusManager* GetFocusManager() {
- return FocusManager::GetFocusManagerForNativeView(
- window_->GetNativeWindow());
+ return FocusManager::GetFocusManager(window_->GetNativeWindow());
}
// WindowDelegate Implementation.
« no previous file with comments | « views/focus/focus_manager_gtk.cc ('k') | views/focus/focus_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698