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

Unified Diff: chrome/views/hwnd_view.cc

Issue 21439: Fix for focus traversal issue in Gears dialogs (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | « chrome/views/hwnd_view.h ('k') | chrome/views/window_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/hwnd_view.cc
===================================================================
--- chrome/views/hwnd_view.cc (revision 9911)
+++ chrome/views/hwnd_view.cc (working copy)
@@ -171,6 +171,10 @@
UpdateHWNDBounds();
}
+void HWNDView::Focus() {
+ ::SetFocus(hwnd_);
+}
+
void HWNDView::Paint(ChromeCanvas* canvas) {
// The area behind our window is black, so during a fast resize (where our
// content doesn't draw over the full size of our HWND, and the HWND
« no previous file with comments | « chrome/views/hwnd_view.h ('k') | chrome/views/window_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698