summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/omnibox/omnibox_popup_model_observer.h
blob: f16212594f57c6868c0d853d46a2bd315bc94383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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 CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MODEL_OBSERVER_H_
#define CHROME_BROWSER_UI_OMNIBOX_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  // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MODEL_OBSERVER_H_