// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_INFOBARS_CORE_INFOBAR_CONTAINER_H_ #define COMPONENTS_INFOBARS_CORE_INFOBAR_CONTAINER_H_ #include <stddef.h> #include <vector> #include "base/compiler_specific.h" #include "base/memory/raw_ptr.h" #include "components/infobars/core/infobar_manager.h" #include "third_party/skia/include/core/SkColor.h" namespace infobars { class InfoBar; // InfoBarContainer is a cross-platform base class to handle the visibility- // related aspects of InfoBars. While InfoBarManager owns the InfoBars, the // InfoBarContainer is responsible for telling particular InfoBars that they // should be hidden or visible. // // Platforms need to subclass this to implement a few platform-specific // functions, which are pure virtual here. class InfoBarContainer : public InfoBarManager::Observer { … }; } // namespace infobars #endif // COMPONENTS_INFOBARS_CORE_INFOBAR_CONTAINER_H_