app_types_util.h 643 B

123456789101112131415161718192021222324
  1. // Copyright 2016 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef ASH_PUBLIC_CPP_APP_TYPES_UTIL_H_
  5. #define ASH_PUBLIC_CPP_APP_TYPES_UTIL_H_
  6. #include "ash/public/cpp/ash_public_export.h"
  7. namespace aura {
  8. class Window;
  9. }
  10. namespace ash {
  11. // Returns true if `window` is an ARC app window.
  12. ASH_PUBLIC_EXPORT bool IsArcWindow(const aura::Window* window);
  13. // Returns true if `window` is a lacros window.
  14. ASH_PUBLIC_EXPORT bool IsLacrosWindow(const aura::Window* window);
  15. } // namespace ash
  16. #endif // ASH_PUBLIC_CPP_APP_TYPES_UTIL_H_