| Index: chrome/browser/ui/webui/local_omnibox_popup/local_omnibox_popup_handler.h
|
| diff --git a/chrome/browser/ui/webui/local_omnibox_popup/local_omnibox_popup_handler.h b/chrome/browser/ui/webui/local_omnibox_popup/local_omnibox_popup_handler.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..10b43816fb251d80b57c336da145e88c1ee7f34c
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/webui/local_omnibox_popup/local_omnibox_popup_handler.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright 2012 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_WEBUI_LOCAL_OMNIBOX_POPUP_LOCAL_OMNIBOX_POPUP_HANDLER_H_
|
| +#define CHROME_BROWSER_UI_WEBUI_LOCAL_OMNIBOX_POPUP_LOCAL_OMNIBOX_POPUP_HANDLER_H_
|
| +
|
| +#include "base/compiler_specific.h"
|
| +#include "content/public/browser/web_ui_message_handler.h"
|
| +
|
| +class Profile;
|
| +
|
| +// Class to handle messages (sent via chrome.send) from the underlying WebUI
|
| +// page. Since the LocalOmniboxPopupHandler page does not currently need to send
|
| +// any chrome.send messages, this class does not respond to any messages.
|
| +class LocalOmniboxPopupHandler : public content::WebUIMessageHandler {
|
| + public:
|
| + explicit LocalOmniboxPopupHandler(Profile* profile);
|
| + virtual ~LocalOmniboxPopupHandler();
|
| + virtual void RegisterMessages() OVERRIDE;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(LocalOmniboxPopupHandler);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_WEBUI_LOCAL_OMNIBOX_POPUP_LOCAL_OMNIBOX_POPUP_HANDLER_H_
|
|
|