| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_RENDERER_SEARCH_EXTENSION_H_ | |
| 6 #define CHROME_RENDERER_SEARCH_EXTENSION_H_ | |
| 7 | |
| 8 namespace v8 { | |
| 9 class Extension; | |
| 10 } | |
| 11 | |
| 12 namespace extensions_v8 { | |
| 13 | |
| 14 class SearchExtension { | |
| 15 public: | |
| 16 // Returns the v8::Extension object handling search bindings. Returns null if | |
| 17 // match-preview is not enabled. Caller takes ownership of returned object. | |
| 18 static v8::Extension* Get(); | |
| 19 }; | |
| 20 | |
| 21 } // namespace extensions_v8 | |
| 22 | |
| 23 #endif // CHROME_RENDERER_SEARCH_EXTENSION_H_ | |
| OLD | NEW |