| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "content/renderer/render_thread_impl.h" | 5 #include "content/renderer/render_thread_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 | 346 |
| 347 // In single process the single process is all there is. | 347 // In single process the single process is all there is. |
| 348 suspend_webkit_shared_timer_ = true; | 348 suspend_webkit_shared_timer_ = true; |
| 349 notify_webkit_of_modal_loop_ = true; | 349 notify_webkit_of_modal_loop_ = true; |
| 350 widget_count_ = 0; | 350 widget_count_ = 0; |
| 351 hidden_widget_count_ = 0; | 351 hidden_widget_count_ = 0; |
| 352 idle_notification_delay_in_ms_ = kInitialIdleHandlerDelayMs; | 352 idle_notification_delay_in_ms_ = kInitialIdleHandlerDelayMs; |
| 353 idle_notifications_to_skip_ = 0; | 353 idle_notifications_to_skip_ = 0; |
| 354 should_send_focus_ipcs_ = true; | 354 should_send_focus_ipcs_ = true; |
| 355 short_circuit_size_updates_ = false; | 355 short_circuit_size_updates_ = false; |
| 356 skip_error_pages_ = false; |
| 356 | 357 |
| 357 appcache_dispatcher_.reset(new AppCacheDispatcher(Get())); | 358 appcache_dispatcher_.reset(new AppCacheDispatcher(Get())); |
| 358 dom_storage_dispatcher_.reset(new DomStorageDispatcher()); | 359 dom_storage_dispatcher_.reset(new DomStorageDispatcher()); |
| 359 main_thread_indexed_db_dispatcher_.reset(new IndexedDBDispatcher()); | 360 main_thread_indexed_db_dispatcher_.reset(new IndexedDBDispatcher()); |
| 360 | 361 |
| 361 media_stream_center_ = NULL; | 362 media_stream_center_ = NULL; |
| 362 | 363 |
| 363 db_message_filter_ = new DBMessageFilter(); | 364 db_message_filter_ = new DBMessageFilter(); |
| 364 AddFilter(db_message_filter_.get()); | 365 AddFilter(db_message_filter_.get()); |
| 365 | 366 |
| (...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1286 | 1287 |
| 1287 void RenderThreadImpl::SetFlingCurveParameters( | 1288 void RenderThreadImpl::SetFlingCurveParameters( |
| 1288 const std::vector<float>& new_touchpad, | 1289 const std::vector<float>& new_touchpad, |
| 1289 const std::vector<float>& new_touchscreen) { | 1290 const std::vector<float>& new_touchscreen) { |
| 1290 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, | 1291 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, |
| 1291 new_touchscreen); | 1292 new_touchscreen); |
| 1292 | 1293 |
| 1293 } | 1294 } |
| 1294 | 1295 |
| 1295 } // namespace content | 1296 } // namespace content |
| OLD | NEW |