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

Unified Diff: chrome_frame/chrome_active_document.cc

Issue 2825061: Fix incorrect focus cycling issues in ChromeFrame full tab mode. This happens... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 5 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_frame/chrome_active_document.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/chrome_active_document.cc
===================================================================
--- chrome_frame/chrome_active_document.cc (revision 53106)
+++ chrome_frame/chrome_active_document.cc (working copy)
@@ -1264,6 +1264,21 @@
return 0;
}
+LRESULT ChromeActiveDocument::OnShowWindow(UINT message, WPARAM wparam,
+ LPARAM lparam,
+ BOOL& handled) { // NO_LINT
+ if (wparam)
+ SetFocus();
+ return 0;
+}
+
+LRESULT ChromeActiveDocument::OnSetFocus(UINT message, WPARAM wparam,
+ LPARAM lparam,
+ BOOL& handled) { // NO_LINT
+ GiveFocusToChrome(false);
+ return 0;
+}
+
namespace {
struct ModuleAndVersion {
const char* module_name_;
« no previous file with comments | « chrome_frame/chrome_active_document.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698