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

Unified Diff: ui/views/view.h

Issue 13227002: Revise NativeWidgetWin focus hack; force focus on restore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restore FocusManager::RestoreFocusedView return values. Created 7 years, 9 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: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 435d507ca1e8293e8975aeab3bdb6415dc35cda3..e353448bff4dea61b8e44038a4039f3982b47972 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -725,9 +725,8 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
virtual FocusManager* GetFocusManager();
virtual const FocusManager* GetFocusManager() const;
- // Request the keyboard focus. The receiving view will become the
- // focused view.
- virtual void RequestFocus();
+ // Request keyboard focus. The receiving view will become the focused view.
+ void RequestFocus();
// Invoked when a view is about to be requested for focus due to the focus
// traversal. Reverse is this request was generated going backward

Powered by Google App Engine
This is Rietveld 408576698