Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1342)

Unified Diff: chrome/browser/ui/webui/local_omnibox_popup/local_omnibox_popup_handler.h

Issue 11555033: Adding local html page used in Instant Extended mode when instant is disabled or unavailable. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressing comments from estade, dhollowa and samarth. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698