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

Unified Diff: views/focus/external_focus_tracker.cc

Issue 146093: Relanding focus manager refactoring (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
Index: views/focus/external_focus_tracker.cc
===================================================================
--- views/focus/external_focus_tracker.cc (revision 19153)
+++ views/focus/external_focus_tracker.cc (working copy)
@@ -4,6 +4,7 @@
#include "views/focus/external_focus_tracker.h"
+#include "base/logging.h"
#include "views/view.h"
#include "views/focus/view_storage.h"
@@ -13,6 +14,8 @@
FocusManager* focus_manager)
: focus_manager_(focus_manager),
parent_view_(parent_view) {
+ DCHECK(focus_manager);
+ DCHECK(parent_view);
view_storage_ = ViewStorage::GetSharedInstance();
last_focused_view_storage_id_ = view_storage_->CreateStorageID();
// Store the view which is focused when we're created.

Powered by Google App Engine
This is Rietveld 408576698