// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_H_ #define CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_H_ #include <string> #include <vector> #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "ui/base/models/image_model.h" class Browser; class GlobalErrorBubbleViewBase; // This object describes a single global error. class GlobalError { … }; // This object describes a single global error that already comes with support // for showing a standard Bubble UI. Derived classes just need to supply the // content to be displayed in the bubble. class GlobalErrorWithStandardBubble : public GlobalError { … }; #endif // CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_H_