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 #pragma once |
| 8 |
| 9 namespace v8 { |
| 10 class Extension; |
| 11 } |
| 12 |
| 13 namespace extensions_v8 { |
| 14 |
| 15 class SearchExtension { |
| 16 public: |
| 17 // Returns the v8::Extension object handling search bindings. Returns null if |
| 18 // match-preview is not enabled. Caller takes ownership of returned object. |
| 19 static v8::Extension* Get(); |
| 20 }; |
| 21 |
| 22 } // namespace extensions_v8 |
| 23 |
| 24 #endif // CHROME_RENDERER_SEARCH_EXTENSION_H_ |
OLD | NEW |