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

Unified Diff: chrome/renderer/searchbox_extension.h

Issue 10825304: Creating a new directory chrome/renderer/searchbox and moving appropriate code to it. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removing sky from OWNERS. Created 8 years, 4 months 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
« no previous file with comments | « chrome/renderer/searchbox/searchbox_extension.cc ('k') | chrome/renderer/searchbox_extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/searchbox_extension.h
diff --git a/chrome/renderer/searchbox_extension.h b/chrome/renderer/searchbox_extension.h
deleted file mode 100644
index 04f1e002c30441b0b4554fe3f8b9bc35689736a2..0000000000000000000000000000000000000000
--- a/chrome/renderer/searchbox_extension.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 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_RENDERER_SEARCHBOX_EXTENSION_H_
-#define CHROME_RENDERER_SEARCHBOX_EXTENSION_H_
-
-#include "base/basictypes.h"
-
-namespace v8 {
-class Extension;
-}
-
-namespace WebKit {
-class WebFrame;
-}
-
-namespace extensions_v8 {
-
-// Reference implementation of the SearchBox API as described in:
-// http://dev.chromium.org/searchbox
-class SearchBoxExtension {
- public:
- // Returns the v8::Extension object handling searchbox bindings. Returns null
- // if match-preview is not enabled. Caller takes ownership of returned object.
- static v8::Extension* Get();
-
- static void DispatchChange(WebKit::WebFrame* frame);
- static void DispatchSubmit(WebKit::WebFrame* frame);
- static void DispatchCancel(WebKit::WebFrame* frame);
- static void DispatchResize(WebKit::WebFrame* frame);
-
- static bool PageSupportsInstant(WebKit::WebFrame* frame);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SearchBoxExtension);
-};
-
-} // namespace extensions_v8
-
-#endif // CHROME_RENDERER_SEARCHBOX_EXTENSION_H_
« no previous file with comments | « chrome/renderer/searchbox/searchbox_extension.cc ('k') | chrome/renderer/searchbox_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698