blob: 2acda7f075be3f53b25bec95e69c2d3cd9a37590 [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_PROFILES_PROFILE_CUSTOMIZATION_BUBBLE_SYNC_CONTROLLER_H_
#define CHROME_BROWSER_UI_PROFILES_PROFILE_CUSTOMIZATION_BUBBLE_SYNC_CONTROLLER_H_
#include "third_party/skia/include/core/SkColor.h"
class BrowserWindowInterface;
// Implemented in
// chrome/browser/ui/views/profiles/profile_customization_bubble_sync_controller.cc
void ApplyProfileColorAndShowCustomizationBubbleWhenNoValueSynced(
BrowserWindowInterface* bwi,
SkColor suggested_profile_color);
// Returns whether the controller triggered by
// `ApplyProfileColorAndShowCustomizationBubbleWhenNoValueSynced()` is currently
// running in background. This is useful for determining whether the profile
// customization UI might be shown soon in `browser`.
// Implemented in
// chrome/browser/ui/views/profiles/profile_customization_bubble_sync_controller.cc
bool IsProfileCustomizationBubbleSyncControllerRunning(
BrowserWindowInterface* bwi);
#endif // CHROME_BROWSER_UI_PROFILES_PROFILE_CUSTOMIZATION_BUBBLE_SYNC_CONTROLLER_H_