Index: components/arc/arc_util.h |
diff --git a/components/arc/arc_util.h b/components/arc/arc_util.h |
index a9e69d36878ecbaae809ccdd1c2cb6a630a5eed6..ce597f72442285c738a94078cca866f74e1ed963 100644 |
--- a/components/arc/arc_util.h |
+++ b/components/arc/arc_util.h |
@@ -9,6 +9,10 @@ |
// outside of ARC, e.g. CommandLine flag, attribute of global data/state, |
// users' preferences, and FeatureList. |
+namespace aura { |
+class Window; |
+} // namespace aura |
+ |
namespace base { |
class CommandLine; |
} // namespace base |
@@ -66,6 +70,10 @@ bool IsArcAllowedForActiveDirectoryUsers(); |
// In most cases, it is disabled for testing purpose. |
bool IsArcOptInVerificationDisabled(); |
+// Returns true if |window| is associated with an ash::WmWindow whose type is |
Luis Héctor Chávez
2017/05/12 20:44:19
nit: s/ash::WmWindow/aura::Window/
Yusuke Sato
2017/05/12 21:06:13
Rephrased the comment. I think the original one wa
|
+// ARC_APP. When |window| is nullptr, returns false. |
+bool IsArcAppWindow(aura::Window* window); |
+ |
} // namespace arc |
#endif // COMPONENTS_ARC_ARC_UTIL_H_ |