| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_GLOBAL_ERROR_BUBBLE_VIEW_BASE_H_ | |
| 6 #define CHROME_BROWSER_UI_GLOBAL_ERROR_BUBBLE_VIEW_BASE_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "base/basictypes.h" | |
| 10 #include "base/memory/weak_ptr.h" | |
| 11 | |
| 12 class Browser; | |
| 13 class GlobalError; | |
| 14 | |
| 15 class GlobalErrorBubbleViewBase { | |
| 16 public: | |
| 17 static GlobalErrorBubbleViewBase* ShowBubbleView( | |
| 18 Browser* browser, | |
| 19 const base::WeakPtr<GlobalError>& error); | |
| 20 | |
| 21 virtual ~GlobalErrorBubbleViewBase() {} | |
| 22 | |
| 23 // Close the bubble view. | |
| 24 virtual void CloseBubbleView() = 0; | |
| 25 }; | |
| 26 | |
| 27 #endif // CHROME_BROWSER_UI_GLOBAL_ERROR_BUBBLE_VIEW_BASE_H_ | |
| OLD | NEW |