| 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_H_ | 5 #ifndef CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_H_ |
| 6 #define CHROME_BROWSER_UI_GLOBAL_ERROR_H_ | 6 #define CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| 12 | 12 |
| 13 class Browser; | 13 class Browser; |
| 14 class GlobalErrorBubbleViewBase; | 14 class GlobalErrorBubbleViewBase; |
| 15 | 15 |
| 16 // This object describes a single global error. | 16 // This object describes a single global error. |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 virtual void BubbleViewCancelButtonPressed(Browser* browser) = 0; | 68 virtual void BubbleViewCancelButtonPressed(Browser* browser) = 0; |
| 69 | 69 |
| 70 | 70 |
| 71 private: | 71 private: |
| 72 bool has_shown_bubble_view_; | 72 bool has_shown_bubble_view_; |
| 73 GlobalErrorBubbleViewBase* bubble_view_; | 73 GlobalErrorBubbleViewBase* bubble_view_; |
| 74 | 74 |
| 75 DISALLOW_COPY_AND_ASSIGN(GlobalError); | 75 DISALLOW_COPY_AND_ASSIGN(GlobalError); |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 #endif // CHROME_BROWSER_UI_GLOBAL_ERROR_H_ | 78 #endif // CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_H_ |
| OLD | NEW |