1 // 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.
5 #ifndef CHROME_BROWSER_UI_VIEWS_FIRST_RUN_BUBBLE_H_
6 #define CHROME_BROWSER_UI_VIEWS_FIRST_RUN_BUBBLE_H_
8 #include "ui/views/bubble/bubble_delegate.h"
9 #include "ui/views/controls/link_listener.h"
13 class FirstRunBubble
: public views::BubbleDelegateView
,
14 public views::LinkListener
{
16 // |browser| is the opening browser and is NULL in unittests.
17 static FirstRunBubble
* ShowBubble(Browser
* browser
, views::View
* anchor_view
);
20 // views::BubbleDelegateView overrides:
24 FirstRunBubble(Browser
* browser
, views::View
* anchor_view
);
25 ~FirstRunBubble() override
;
27 // views::LinkListener overrides:
28 void LinkClicked(views::Link
* source
, int event_flags
) override
;
32 DISALLOW_COPY_AND_ASSIGN(FirstRunBubble
);
35 #endif // CHROME_BROWSER_UI_VIEWS_FIRST_RUN_BUBBLE_H_