summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/accessibility/invert_bubble_view.h
blob: 5d7b6c9657db3ab2b63a308896b7b6fca966dff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_INVERT_BUBBLE_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_INVERT_BUBBLE_VIEW_H_
#pragma once

class Profile;

namespace views {
class View;
}

namespace browser {

// Show a bubble telling the user that they're using Windows high-constrast mode
// with a light-on-dark scheme, so they may be interested in a high-contrast
// Chrome extension and a dark theme. Only shows the first time we encounter
// this condition for a particular profile.
void MaybeShowInvertBubbleView(Profile* profile, views::View* anchor_view);

}  // namespace browser

#endif  // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_INVERT_BUBBLE_VIEW_H_