OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ |
6 #define ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ | 6 #define ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "android_webview/renderer/aw_render_thread_observer.h" | 11 #include "android_webview/renderer/aw_render_thread_observer.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "components/spellcheck/spellcheck_build_features.h" | 14 #include "components/spellcheck/spellcheck_build_features.h" |
15 #include "components/web_restrictions/interfaces/web_restrictions.mojom.h" | 15 #include "components/web_restrictions/interfaces/web_restrictions.mojom.h" |
16 #include "content/public/renderer/content_renderer_client.h" | 16 #include "content/public/renderer/content_renderer_client.h" |
17 | 17 |
18 #if BUILDFLAG(ENABLE_SPELLCHECK) | 18 #if BUILDFLAG(ENABLE_SPELLCHECK) |
19 class SpellCheck; | 19 class SpellCheck; |
20 class SpellCheckProvider; | |
21 #endif | 20 #endif |
22 | 21 |
23 namespace visitedlink { | 22 namespace visitedlink { |
24 class VisitedLinkSlave; | 23 class VisitedLinkSlave; |
25 } | 24 } |
26 | 25 |
27 namespace android_webview { | 26 namespace android_webview { |
28 | 27 |
29 class AwContentRendererClient : public content::ContentRendererClient { | 28 class AwContentRendererClient : public content::ContentRendererClient { |
30 public: | 29 public: |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 #if BUILDFLAG(ENABLE_SPELLCHECK) | 65 #if BUILDFLAG(ENABLE_SPELLCHECK) |
67 std::unique_ptr<SpellCheck> spellcheck_; | 66 std::unique_ptr<SpellCheck> spellcheck_; |
68 #endif | 67 #endif |
69 | 68 |
70 DISALLOW_COPY_AND_ASSIGN(AwContentRendererClient); | 69 DISALLOW_COPY_AND_ASSIGN(AwContentRendererClient); |
71 }; | 70 }; |
72 | 71 |
73 } // namespace android_webview | 72 } // namespace android_webview |
74 | 73 |
75 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ | 74 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |