| 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 #include "chrome/renderer/render_thread.h" | 5 #include "chrome/renderer/render_thread.h" |
| 6 | 6 |
| 7 #include <v8.h> | 7 #include <v8.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 #include "chrome/renderer/net/render_dns_master.h" | 50 #include "chrome/renderer/net/render_dns_master.h" |
| 51 #include "chrome/renderer/render_process.h" | 51 #include "chrome/renderer/render_process.h" |
| 52 #include "chrome/renderer/render_view.h" | 52 #include "chrome/renderer/render_view.h" |
| 53 #include "chrome/renderer/renderer_webkitclient_impl.h" | 53 #include "chrome/renderer/renderer_webkitclient_impl.h" |
| 54 #include "chrome/renderer/renderer_web_database_observer.h" | 54 #include "chrome/renderer/renderer_web_database_observer.h" |
| 55 #include "chrome/renderer/socket_stream_dispatcher.h" | 55 #include "chrome/renderer/socket_stream_dispatcher.h" |
| 56 #include "chrome/renderer/spellchecker/spellcheck.h" | 56 #include "chrome/renderer/spellchecker/spellcheck.h" |
| 57 #include "chrome/renderer/user_script_slave.h" | 57 #include "chrome/renderer/user_script_slave.h" |
| 58 #include "ipc/ipc_message.h" | 58 #include "ipc/ipc_message.h" |
| 59 #include "ipc/ipc_platform_file.h" | 59 #include "ipc/ipc_platform_file.h" |
| 60 #include "third_party/tcmalloc/tcmalloc/src/google/malloc_extension.h" | 60 #include "third_party/tcmalloc/chromium/src/google/malloc_extension.h" |
| 61 #include "third_party/WebKit/WebKit/chromium/public/WebCache.h" | 61 #include "third_party/WebKit/WebKit/chromium/public/WebCache.h" |
| 62 #include "third_party/WebKit/WebKit/chromium/public/WebColor.h" | 62 #include "third_party/WebKit/WebKit/chromium/public/WebColor.h" |
| 63 #include "third_party/WebKit/WebKit/chromium/public/WebCrossOriginPreflightResul
tCache.h" | 63 #include "third_party/WebKit/WebKit/chromium/public/WebCrossOriginPreflightResul
tCache.h" |
| 64 #include "third_party/WebKit/WebKit/chromium/public/WebDatabase.h" | 64 #include "third_party/WebKit/WebKit/chromium/public/WebDatabase.h" |
| 65 #include "third_party/WebKit/WebKit/chromium/public/WebFontCache.h" | 65 #include "third_party/WebKit/WebKit/chromium/public/WebFontCache.h" |
| 66 #include "third_party/WebKit/WebKit/chromium/public/WebKit.h" | 66 #include "third_party/WebKit/WebKit/chromium/public/WebKit.h" |
| 67 #include "third_party/WebKit/WebKit/chromium/public/WebRuntimeFeatures.h" | 67 #include "third_party/WebKit/WebKit/chromium/public/WebRuntimeFeatures.h" |
| 68 #include "third_party/WebKit/WebKit/chromium/public/WebScriptController.h" | 68 #include "third_party/WebKit/WebKit/chromium/public/WebScriptController.h" |
| 69 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityPolicy.h" | 69 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityPolicy.h" |
| 70 #include "third_party/WebKit/WebKit/chromium/public/WebStorageEventDispatcher.h" | 70 #include "third_party/WebKit/WebKit/chromium/public/WebStorageEventDispatcher.h" |
| (...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 spellchecker_->EnableAutoSpellCorrect(auto_spell_correct); | 655 spellchecker_->EnableAutoSpellCorrect(auto_spell_correct); |
| 656 } | 656 } |
| 657 | 657 |
| 658 void RenderThread::OnSpellCheckWordAdded(const std::string& word) { | 658 void RenderThread::OnSpellCheckWordAdded(const std::string& word) { |
| 659 spellchecker_->WordAdded(word); | 659 spellchecker_->WordAdded(word); |
| 660 } | 660 } |
| 661 | 661 |
| 662 void RenderThread::OnSpellCheckEnableAutoSpellCorrect(bool enable) { | 662 void RenderThread::OnSpellCheckEnableAutoSpellCorrect(bool enable) { |
| 663 spellchecker_->EnableAutoSpellCorrect(enable); | 663 spellchecker_->EnableAutoSpellCorrect(enable); |
| 664 } | 664 } |
| OLD | NEW |