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

Unified Diff: components/exo/shell_surface.h

Issue 2345043002: arc: Prevent showing Arc app window for secondary user profile. (Closed)
Patch Set: Created 4 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
Index: components/exo/shell_surface.h
diff --git a/components/exo/shell_surface.h b/components/exo/shell_surface.h
index 1c7e3072d1045684ff0c92d207664547205a4651..74da06a295ad057890fcbc20cf3acf716840533b 100644
--- a/components/exo/shell_surface.h
+++ b/components/exo/shell_surface.h
@@ -127,6 +127,13 @@ class ShellSurface : public SurfaceDelegate,
std::string* application_id);
static const std::string GetApplicationId(aura::Window* window);
+ // Returns true if |key| specifies property for window ready state. It is used
+ // to filter out property changed events.
+ static bool IsApplicationWindowReadyPropertyKey(const void* key);
+
+ // Returns true if the window is an Arc app window and it is ready to show.
+ static bool IsApplicationWindowReadyToShow(aura::Window* window);
+
// Set application id for surface.
void SetApplicationId(const std::string& application_id);

Powered by Google App Engine
This is Rietveld 408576698