blob: 1a2e8edc0fd7b57d47ae4c0dc5348f337ac2827c [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_POPUP_MODEL_OBSERVER_H_
#define COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_POPUP_MODEL_OBSERVER_H_
// Allows observers to react and update accordingly when state of
// |OmniboxPopupModel| changes, e.g. when the omnibox popup is shown or hidden.
class OmniboxPopupModelObserver {
public:
// Informs observers that omnibox popup has been shown or hidden.
virtual void OnOmniboxPopupShownOrHidden() = 0;
};
#endif // COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_POPUP_MODEL_OBSERVER_H_