OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ |
6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ | 6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ |
7 | 7 |
8 #include "chrome/browser/net/chrome_url_request_context.h" | 8 #include "chrome/browser/net/chrome_url_request_context.h" |
9 #include "chrome/browser/profile.h" | 9 #include "chrome/browser/profile.h" |
10 #include "net/url_request/url_request_context.h" | 10 #include "net/url_request/url_request_context.h" |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 } | 194 } |
195 virtual void ReinitializeSpellChecker() { | 195 virtual void ReinitializeSpellChecker() { |
196 return original_profile_->ReinitializeSpellChecker(); | 196 return original_profile_->ReinitializeSpellChecker(); |
197 } | 197 } |
198 virtual SpellChecker* GetSpellChecker() { | 198 virtual SpellChecker* GetSpellChecker() { |
199 return original_profile_->GetSpellChecker(); | 199 return original_profile_->GetSpellChecker(); |
200 } | 200 } |
201 virtual void DeleteSpellChecker() { | 201 virtual void DeleteSpellChecker() { |
202 return original_profile_->DeleteSpellChecker(); | 202 return original_profile_->DeleteSpellChecker(); |
203 } | 203 } |
| 204 #if defined(SPELLCHECKER_IN_RENDERER) |
| 205 virtual SpellCheckHost* GetSpellCheckHost() { |
| 206 return original_profile_->GetSpellCheckHost(); |
| 207 } |
| 208 virtual void ReinitializeSpellCheckHost(bool force) { |
| 209 return original_profile_->ReinitializeSpellCheckHost(force); |
| 210 } |
| 211 #endif |
204 virtual WebKitContext* GetWebKitContext() { | 212 virtual WebKitContext* GetWebKitContext() { |
205 return original_profile_->GetWebKitContext(); | 213 return original_profile_->GetWebKitContext(); |
206 } | 214 } |
207 virtual void MarkAsCleanShutdown() { | 215 virtual void MarkAsCleanShutdown() { |
208 return original_profile_->MarkAsCleanShutdown(); | 216 return original_profile_->MarkAsCleanShutdown(); |
209 } | 217 } |
210 virtual void InitExtensions() { | 218 virtual void InitExtensions() { |
211 return original_profile_->InitExtensions(); | 219 return original_profile_->InitExtensions(); |
212 } | 220 } |
213 virtual void InitWebResources() { | 221 virtual void InitWebResources() { |
214 return original_profile_->InitWebResources(); | 222 return original_profile_->InitWebResources(); |
215 } | 223 } |
216 | 224 |
217 protected: | 225 protected: |
218 Profile* original_profile_; | 226 Profile* original_profile_; |
219 ChromeURLRequestContextGetter* alternate_request_context_; | 227 ChromeURLRequestContextGetter* alternate_request_context_; |
220 int tab_handle_; | 228 int tab_handle_; |
221 | 229 |
222 private: | 230 private: |
223 DISALLOW_COPY_AND_ASSIGN(AutomationProfileImpl); | 231 DISALLOW_COPY_AND_ASSIGN(AutomationProfileImpl); |
224 }; | 232 }; |
225 | 233 |
226 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ | 234 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ |
OLD | NEW |