| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_GLOBAL_ERROR_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_GLOBAL_ERROR_BUBBLE_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_GLOBAL_ERROR_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_GLOBAL_ERROR_BUBBLE_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 9 #include "chrome/browser/ui/global_error/global_error_bubble_view_base.h" | 10 #include "chrome/browser/ui/global_error/global_error_bubble_view_base.h" |
| 10 #include "ui/views/bubble/bubble_delegate.h" | 11 #include "ui/views/bubble/bubble_delegate.h" |
| 11 #include "ui/views/controls/button/button.h" | 12 #include "ui/views/controls/button/button.h" |
| 12 | 13 |
| 13 class Browser; | 14 class Browser; |
| 14 class ElevationIconSetter; | 15 class ElevationIconSetter; |
| 15 class GlobalErrorWithStandardBubble; | 16 class GlobalErrorWithStandardBubble; |
| 16 | 17 |
| 17 class GlobalErrorBubbleView : public views::ButtonListener, | 18 class GlobalErrorBubbleView : public views::ButtonListener, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 43 private: | 44 private: |
| 44 Browser* browser_; | 45 Browser* browser_; |
| 45 base::WeakPtr<GlobalErrorWithStandardBubble> error_; | 46 base::WeakPtr<GlobalErrorWithStandardBubble> error_; |
| 46 | 47 |
| 47 scoped_ptr<ElevationIconSetter> elevation_icon_setter_; | 48 scoped_ptr<ElevationIconSetter> elevation_icon_setter_; |
| 48 | 49 |
| 49 DISALLOW_COPY_AND_ASSIGN(GlobalErrorBubbleView); | 50 DISALLOW_COPY_AND_ASSIGN(GlobalErrorBubbleView); |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 #endif // CHROME_BROWSER_UI_VIEWS_GLOBAL_ERROR_BUBBLE_VIEW_H_ | 53 #endif // CHROME_BROWSER_UI_VIEWS_GLOBAL_ERROR_BUBBLE_VIEW_H_ |
| OLD | NEW |