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

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: Code review comments 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 | « ui/aura/remote_window_tree_host_win.h ('k') | ui/metro_viewer/metro_viewer_messages.h » ('j') | no next file with comments »
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..14c9bf6fe6cfa77813edeb5ba1900e1fbdf25077 100644
--- a/ui/aura/remote_window_tree_host_win.cc
+++ b/ui/aura/remote_window_tree_host_win.cc
@@ -377,8 +377,10 @@ void RemoteWindowTreeHostWin::OnChar(uint32 key_code,
scan_code, flags, true);
}
-void RemoteWindowTreeHostWin::OnWindowActivated() {
+void RemoteWindowTreeHostWin::OnWindowActivated(bool repaint) {
OnHostActivated();
+ if (repaint && compositor())
+ compositor()->ScheduleFullRedraw();
}
void RemoteWindowTreeHostWin::OnEdgeGesture() {
« no previous file with comments | « ui/aura/remote_window_tree_host_win.h ('k') | ui/metro_viewer/metro_viewer_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698