| 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_GTK_GLOBAL_ERROR_BUBBLE_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_GLOBAL_ERROR_BUBBLE_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_GLOBAL_ERROR_BUBBLE_H_ | 6 #define CHROME_BROWSER_UI_GTK_GLOBAL_ERROR_BUBBLE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "chrome/browser/ui/global_error_bubble_view_base.h" | 12 #include "chrome/browser/ui/global_error/global_error_bubble_view_base.h" |
| 13 #include "chrome/browser/ui/gtk/bubble/bubble_gtk.h" | 13 #include "chrome/browser/ui/gtk/bubble/bubble_gtk.h" |
| 14 #include "ui/base/gtk/gtk_signal.h" | 14 #include "ui/base/gtk/gtk_signal.h" |
| 15 | 15 |
| 16 typedef struct _GtkWidget GtkWidget; | 16 typedef struct _GtkWidget GtkWidget; |
| 17 | 17 |
| 18 class GlobalError; | 18 class GlobalError; |
| 19 class Profile; | 19 class Profile; |
| 20 | 20 |
| 21 class GlobalErrorBubble : public BubbleDelegateGtk, | 21 class GlobalErrorBubble : public BubbleDelegateGtk, |
| 22 public GlobalErrorBubbleViewBase { | 22 public GlobalErrorBubbleViewBase { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 Browser* browser_; | 40 Browser* browser_; |
| 41 BubbleGtk* bubble_; | 41 BubbleGtk* bubble_; |
| 42 base::WeakPtr<GlobalError> error_; | 42 base::WeakPtr<GlobalError> error_; |
| 43 GtkWidget* message_label_; | 43 GtkWidget* message_label_; |
| 44 | 44 |
| 45 DISALLOW_COPY_AND_ASSIGN(GlobalErrorBubble); | 45 DISALLOW_COPY_AND_ASSIGN(GlobalErrorBubble); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 #endif // CHROME_BROWSER_UI_GTK_GLOBAL_ERROR_BUBBLE_H_ | 48 #endif // CHROME_BROWSER_UI_GTK_GLOBAL_ERROR_BUBBLE_H_ |
| OLD | NEW |