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

Unified Diff: components/mus/ws/display.h

Issue 1868783003: Makes SetFocus() notify callback correctly on failure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | components/mus/ws/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/display.h
diff --git a/components/mus/ws/display.h b/components/mus/ws/display.h
index b83c11d917229b154a98bbbca179afd51f171c48..ba7cebf5841d867ff8e18ffe51a7157f2fbd2101 100644
--- a/components/mus/ws/display.h
+++ b/components/mus/ws/display.h
@@ -115,7 +115,9 @@ class Display : public PlatformDisplayDelegate,
// TODO(sky): this should only be called by WindowServer, move to interface
// used by WindowServer.
- void SetFocusedWindow(ServerWindow* window);
+ // See description of WindowServer::SetFocusedWindow() for details on return
+ // value.
+ bool SetFocusedWindow(ServerWindow* window);
// NOTE: this returns the focused window only if the focused window is in this
// display. If this returns null focus may be in another display.
ServerWindow* GetFocusedWindow();
« no previous file with comments | « no previous file | components/mus/ws/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698