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

Unified Diff: win8/metro_driver/chrome_app_view_ash.cc

Issue 646123002: Ensure that the TextServices object which implements IME for Windows 7/8 ASH gets window activation… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/chrome_app_view_ash.cc
diff --git a/win8/metro_driver/chrome_app_view_ash.cc b/win8/metro_driver/chrome_app_view_ash.cc
index 0560e739b653d9b165925531d9d286b66bcb7e82..d0530bdb75c587f4f64e524aa9e2cd60492cfca7 100644
--- a/win8/metro_driver/chrome_app_view_ash.cc
+++ b/win8/metro_driver/chrome_app_view_ash.cc
@@ -1303,14 +1303,14 @@ HRESULT ChromeAppViewAsh::OnWindowActivated(
// the same.
if (state == winui::Core::CoreWindowActivationState_CodeActivated ||
state == winui::Core::CoreWindowActivationState_PointerActivated) {
- if (text_service_)
- text_service_->OnWindowActivated();
ui_channel_->Send(new MetroViewerHostMsg_WindowActivated(false));
}
} else {
// On Windows 7, we force a repaint when the window is activated.
ui_channel_->Send(new MetroViewerHostMsg_WindowActivated(true));
}
+ if (text_service_)
+ text_service_->OnWindowActivated();
return S_OK;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698