Chromium Code Reviews| Index: chrome/browser/ui/omnibox/omnibox_popup_model_observer.h |
| diff --git a/chrome/browser/ui/omnibox/omnibox_popup_model_observer.h b/chrome/browser/ui/omnibox/omnibox_popup_model_observer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..dbaaf0352b3ea159b409212aadfb78a21c93fb86 |
| --- /dev/null |
| +++ b/chrome/browser/ui/omnibox/omnibox_popup_model_observer.h |
| @@ -0,0 +1,18 @@ |
| +// Copyright (c) 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_ |
| + |
| +// This class defines the observer interface for the |OmniboxPopupModel|. |
|
Peter Kasting
2013/07/09 17:35:20
This comment restates the obvious. Instead, say w
kuan
2013/07/09 17:48:47
Done.
|
| +class OmniboxPopupModelObserver { |
| + public: |
| + // Informs observers that omnibox popup has been shown or hidden. |
| + virtual void OnOmniboxPopupShownOrHidden() = 0; |
| + |
| + protected: |
| + virtual ~OmniboxPopupModelObserver() {} |
|
Peter Kasting
2013/07/09 17:35:20
Is this necessary? I'd just omit this entirely.
kuan
2013/07/09 17:48:47
Done.
|
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MODEL_OBSERVER_H_ |