OLD | NEW |
1 // Copyright (c) 2010 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 "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/task.h" | 10 #include "base/task.h" |
11 #include "chrome/browser/first_run/first_run.h" | 11 #include "chrome/browser/first_run/first_run.h" |
12 #include "chrome/browser/views/info_bubble.h" | 12 #include "chrome/browser/ui/views/info_bubble.h" |
13 | 13 |
14 class FirstRunBubbleViewBase; | 14 class FirstRunBubbleViewBase; |
15 class Profile; | 15 class Profile; |
16 | 16 |
17 class FirstRunBubble : public InfoBubble, | 17 class FirstRunBubble : public InfoBubble, |
18 public InfoBubbleDelegate { | 18 public InfoBubbleDelegate { |
19 public: | 19 public: |
20 static FirstRunBubble* Show(Profile* profile, views::Widget* parent, | 20 static FirstRunBubble* Show(Profile* profile, views::Widget* parent, |
21 const gfx::Rect& position_relative_to, | 21 const gfx::Rect& position_relative_to, |
22 BubbleBorder::ArrowLocation arrow_location, | 22 BubbleBorder::ArrowLocation arrow_location, |
(...skipping 24 matching lines...) Expand all Loading... |
47 | 47 |
48 ScopedRunnableMethodFactory<FirstRunBubble> enable_window_method_factory_; | 48 ScopedRunnableMethodFactory<FirstRunBubble> enable_window_method_factory_; |
49 | 49 |
50 // The view inside the FirstRunBubble. | 50 // The view inside the FirstRunBubble. |
51 FirstRunBubbleViewBase* view_; | 51 FirstRunBubbleViewBase* view_; |
52 | 52 |
53 DISALLOW_COPY_AND_ASSIGN(FirstRunBubble); | 53 DISALLOW_COPY_AND_ASSIGN(FirstRunBubble); |
54 }; | 54 }; |
55 | 55 |
56 #endif // CHROME_BROWSER_UI_VIEWS_FIRST_RUN_BUBBLE_H_ | 56 #endif // CHROME_BROWSER_UI_VIEWS_FIRST_RUN_BUBBLE_H_ |
OLD | NEW |