| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_FIRST_RUN_BUBBLE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FIRST_RUN_BUBBLE_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FIRST_RUN_BUBBLE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FIRST_RUN_BUBBLE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/first_run/first_run.h" | 9 #include "chrome/browser/first_run/first_run.h" |
| 10 #include "views/bubble/bubble_delegate.h" | 10 #include "ui/views/bubble/bubble_delegate.h" |
| 11 #include "views/controls/button/button.h" | 11 #include "views/controls/button/button.h" |
| 12 | 12 |
| 13 class Profile; | 13 class Profile; |
| 14 | 14 |
| 15 class FirstRunBubble : public views::BubbleDelegateView, | 15 class FirstRunBubble : public views::BubbleDelegateView, |
| 16 public views::ButtonListener { | 16 public views::ButtonListener { |
| 17 public: | 17 public: |
| 18 static FirstRunBubble* ShowBubble( | 18 static FirstRunBubble* ShowBubble( |
| 19 Profile* profile, | 19 Profile* profile, |
| 20 views::View* anchor_view, | 20 views::View* anchor_view, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 40 const views::Event& event) OVERRIDE; | 40 const views::Event& event) OVERRIDE; |
| 41 | 41 |
| 42 Profile* profile_; | 42 Profile* profile_; |
| 43 | 43 |
| 44 FirstRun::BubbleType bubble_type_; | 44 FirstRun::BubbleType bubble_type_; |
| 45 | 45 |
| 46 DISALLOW_COPY_AND_ASSIGN(FirstRunBubble); | 46 DISALLOW_COPY_AND_ASSIGN(FirstRunBubble); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 #endif // CHROME_BROWSER_UI_VIEWS_FIRST_RUN_BUBBLE_H_ | 49 #endif // CHROME_BROWSER_UI_VIEWS_FIRST_RUN_BUBBLE_H_ |
| OLD | NEW |