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

Unified Diff: ui/aura/remote_window_tree_host_win.cc

Issue 546503002: Notify the Chrome browser process about the window being activated from the viewer process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added back a comment which was removed by mistake Created 6 years, 3 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 | win8/metro_driver/chrome_app_view_ash.cc » ('j') | win8/metro_driver/chrome_app_view_ash.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/remote_window_tree_host_win.cc
diff --git a/ui/aura/remote_window_tree_host_win.cc b/ui/aura/remote_window_tree_host_win.cc
index 06c0aeed87a209884dd0bb4af7faa8d2cd7903de..ad2f8fed53e1980edd0ba1a264f430ea3794805d 100644
--- a/ui/aura/remote_window_tree_host_win.cc
+++ b/ui/aura/remote_window_tree_host_win.cc
@@ -379,6 +379,8 @@ void RemoteWindowTreeHostWin::OnChar(uint32 key_code,
void RemoteWindowTreeHostWin::OnWindowActivated() {
OnHostActivated();
+ if (compositor())
sky 2014/09/04 18:57:37 Why do we need a full redraw on activation?
ananta 2014/09/04 19:02:19 On Windows 7 the metro window can be minimized by
+ compositor()->ScheduleFullRedraw();
}
void RemoteWindowTreeHostWin::OnEdgeGesture() {
« no previous file with comments | « no previous file | win8/metro_driver/chrome_app_view_ash.cc » ('j') | win8/metro_driver/chrome_app_view_ash.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698