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

Unified Diff: mojo/services/view_manager/connection_manager.cc

Issue 599213002: First cut at supporting activation in the window manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: / 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 | « mojo/services/view_manager/connection_manager.h ('k') | mojo/services/view_manager/server_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/view_manager/connection_manager.cc
diff --git a/mojo/services/view_manager/connection_manager.cc b/mojo/services/view_manager/connection_manager.cc
index a26004bd65bf7a5d558929be47ee33126779839b..6d9fe2aff655a8a7ea3c02d9a5a824a46311cf6e 100644
--- a/mojo/services/view_manager/connection_manager.cc
+++ b/mojo/services/view_manager/connection_manager.cc
@@ -279,6 +279,12 @@ void ConnectionManager::OnViewSurfaceIdChanged(const ServerView* view) {
display_manager_.SchedulePaint(view, gfx::Rect(view->bounds().size()));
}
+void ConnectionManager::OnViewReordered(const ServerView* view,
+ const ServerView* relative,
+ OrderDirection direction) {
+ display_manager_.SchedulePaint(view, gfx::Rect(view->bounds().size()));
+}
+
void ConnectionManager::OnWillChangeViewVisibility(const ServerView* view) {
for (ConnectionMap::iterator i = connection_map_.begin();
i != connection_map_.end();
« no previous file with comments | « mojo/services/view_manager/connection_manager.h ('k') | mojo/services/view_manager/server_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698