Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: content/renderer/render_thread_impl.cc

Issue 16026006: Introduce the notion of a "layout test mode" instead of turning individual flags on and off (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
346 // Register this object as the main thread. 346 // Register this object as the main thread.
347 ChildProcess::current()->set_main_thread(this); 347 ChildProcess::current()->set_main_thread(this);
348 348
349 // In single process the single process is all there is. 349 // In single process the single process is all there is.
350 suspend_webkit_shared_timer_ = true; 350 suspend_webkit_shared_timer_ = true;
351 notify_webkit_of_modal_loop_ = true; 351 notify_webkit_of_modal_loop_ = true;
352 widget_count_ = 0; 352 widget_count_ = 0;
353 hidden_widget_count_ = 0; 353 hidden_widget_count_ = 0;
354 idle_notification_delay_in_ms_ = kInitialIdleHandlerDelayMs; 354 idle_notification_delay_in_ms_ = kInitialIdleHandlerDelayMs;
355 idle_notifications_to_skip_ = 0; 355 idle_notifications_to_skip_ = 0;
356 should_send_focus_ipcs_ = true; 356 layout_test_mode_ = false;
357 short_circuit_size_updates_ = false;
358 skip_error_pages_ = false;
359 357
360 appcache_dispatcher_.reset(new AppCacheDispatcher(Get())); 358 appcache_dispatcher_.reset(new AppCacheDispatcher(Get()));
361 dom_storage_dispatcher_.reset(new DomStorageDispatcher()); 359 dom_storage_dispatcher_.reset(new DomStorageDispatcher());
362 main_thread_indexed_db_dispatcher_.reset(new IndexedDBDispatcher()); 360 main_thread_indexed_db_dispatcher_.reset(new IndexedDBDispatcher());
363 361
364 media_stream_center_ = NULL; 362 media_stream_center_ = NULL;
365 363
366 db_message_filter_ = new DBMessageFilter(); 364 db_message_filter_ = new DBMessageFilter();
367 AddFilter(db_message_filter_.get()); 365 AddFilter(db_message_filter_.get());
368 366
(...skipping 961 matching lines...) Expand 10 before | Expand all | Expand 10 after
1330 1328
1331 void RenderThreadImpl::SetFlingCurveParameters( 1329 void RenderThreadImpl::SetFlingCurveParameters(
1332 const std::vector<float>& new_touchpad, 1330 const std::vector<float>& new_touchpad,
1333 const std::vector<float>& new_touchscreen) { 1331 const std::vector<float>& new_touchscreen) {
1334 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, 1332 webkit_platform_support_->SetFlingCurveParameters(new_touchpad,
1335 new_touchscreen); 1333 new_touchscreen);
1336 1334
1337 } 1335 }
1338 1336
1339 } // namespace content 1337 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698