blob: 415c026f1f6538e66707d12394653fccab94179e [file] [log] [blame]
[email protected]aa22af6d2012-05-30 00:21:521// Copyright (c) 2012 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
5#ifndef CHROME_BROWSER_UI_CONFIRM_BUBBLE_H_
6#define CHROME_BROWSER_UI_CONFIRM_BUBBLE_H_
[email protected]aa22af6d2012-05-30 00:21:527
8#include "ui/gfx/native_widget_types.h"
9
10class ConfirmBubbleModel;
11
12namespace gfx {
13class Point;
14}
15
[email protected]684dace42012-07-01 14:30:4116namespace chrome {
[email protected]aa22af6d2012-05-30 00:21:5217
18// Creates a bubble and shows it with its top center at the specified
19// |origin|. A bubble created by this function takes ownership of the
20// specified |model|.
[email protected]fb7c8ae02014-07-16 06:07:1521void ShowConfirmBubble(gfx::NativeWindow window,
22 gfx::NativeView anchor_view,
[email protected]aa22af6d2012-05-30 00:21:5223 const gfx::Point& origin,
24 ConfirmBubbleModel* model);
25
[email protected]684dace42012-07-01 14:30:4126} // namespace chrome
[email protected]aa22af6d2012-05-30 00:21:5227
28#endif // CHROME_BROWSER_UI_CONFIRM_BUBBLE_H_