Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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 COMPONENTS_HYPHENATION_HYPHENATION_IMPL_H_ | |
|
jam
2016/07/12 14:51:12
nit: update
| |
| 6 #define COMPONENTS_HYPHENATION_HYPHENATION_IMPL_H_ | |
| 7 | |
| 8 #include <stdint.h> | |
| 9 #include <vector> | |
|
jam
2016/07/12 14:51:12
nit: not used
| |
| 10 | |
| 11 #include "base/files/file.h" | |
|
jam
2016/07/12 14:51:12
ditto
| |
| 12 #include "base/macros.h" | |
| 13 #include "content/browser/hyphenation/hyphenation_export.h" | |
| 14 #include "mojo/public/cpp/bindings/interface_request.h" | |
| 15 #include "mojo/public/cpp/bindings/strong_binding.h" | |
| 16 #include "third_party/WebKit/public/platform/modules/hyphenation/hyphenation.moj om.h" | |
| 17 | |
| 18 namespace hyphenation { | |
| 19 | |
| 20 class HyphenationImpl : public blink::mojom::Hyphenation { | |
| 21 public: | |
| 22 HYPHENATION_EXPORT static void Create(blink::mojom::HyphenationRequest); | |
| 23 | |
| 24 // Hyphenation: | |
| 25 void OpenDictionary(const mojo::String& locale, | |
| 26 const OpenDictionaryCallback& callback) override; | |
| 27 | |
| 28 private: | |
| 29 explicit HyphenationImpl(blink::mojom::HyphenationRequest); | |
| 30 ~HyphenationImpl() override; | |
| 31 | |
| 32 mojo::StrongBinding<blink::mojom::Hyphenation> binding_; | |
| 33 | |
| 34 DISALLOW_COPY_AND_ASSIGN(HyphenationImpl); | |
| 35 }; | |
| 36 | |
| 37 } // namespace hyphenation | |
| 38 | |
| 39 #endif // COMPONENTS_HYPHENATION_HYPHENATION_IMPL_H_ | |
| OLD | NEW |