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.
5 #ifndef CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_BUBBLE_VIEW_BASE_H_
6 #define CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_BUBBLE_VIEW_BASE_H_
8 #include "base/basictypes.h"
9 #include "base/memory/weak_ptr.h"
12 class GlobalErrorWithStandardBubble;
14 class GlobalErrorBubbleViewBase {
16 static GlobalErrorBubbleViewBase* ShowStandardBubbleView(
18 const base::WeakPtr<GlobalErrorWithStandardBubble>& error);
20 virtual ~GlobalErrorBubbleViewBase() {}
22 // Close the bubble view.
23 virtual void CloseBubbleView() = 0;
26 #endif // CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_BUBBLE_VIEW_BASE_H_