| 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_GLOBAL_ERROR_GLOBAL_ERROR_H_ | 5 #ifndef CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_H_ |
| 6 #define CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_H_ | 6 #define CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
| 13 | 13 |
| 14 class Browser; | 14 class Browser; |
| 15 class GlobalErrorBubbleViewBase; | 15 class GlobalErrorBubbleViewBase; |
| 16 | 16 |
| 17 namespace gfx { | 17 namespace gfx { |
| 18 class Image; | 18 class Image; |
| 19 } | 19 } |
| 20 | 20 |
| 21 // This object describes a single global error. | 21 // This object describes a single global error. |
| 22 class GlobalError : public base::SupportsWeakPtr<GlobalError> { | 22 class GlobalError : public base::SupportsWeakPtr<GlobalError> { |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 | 83 |
| 84 private: | 84 private: |
| 85 bool has_shown_bubble_view_; | 85 bool has_shown_bubble_view_; |
| 86 GlobalErrorBubbleViewBase* bubble_view_; | 86 GlobalErrorBubbleViewBase* bubble_view_; |
| 87 | 87 |
| 88 DISALLOW_COPY_AND_ASSIGN(GlobalError); | 88 DISALLOW_COPY_AND_ASSIGN(GlobalError); |
| 89 }; | 89 }; |
| 90 | 90 |
| 91 #endif // CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_H_ | 91 #endif // CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_H_ |
| OLD | NEW |