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

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

Issue 12317133: [content shell] don't require a user action for focus/blur events during layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 9 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // Register this object as the main thread. 314 // Register this object as the main thread.
315 ChildProcess::current()->set_main_thread(this); 315 ChildProcess::current()->set_main_thread(this);
316 316
317 // In single process the single process is all there is. 317 // In single process the single process is all there is.
318 suspend_webkit_shared_timer_ = true; 318 suspend_webkit_shared_timer_ = true;
319 notify_webkit_of_modal_loop_ = true; 319 notify_webkit_of_modal_loop_ = true;
320 widget_count_ = 0; 320 widget_count_ = 0;
321 hidden_widget_count_ = 0; 321 hidden_widget_count_ = 0;
322 idle_notification_delay_in_ms_ = kInitialIdleHandlerDelayMs; 322 idle_notification_delay_in_ms_ = kInitialIdleHandlerDelayMs;
323 idle_notifications_to_skip_ = 0; 323 idle_notifications_to_skip_ = 0;
324 require_user_gesture_for_focus_ = true;
324 compositor_initialized_ = false; 325 compositor_initialized_ = false;
325 326
326 appcache_dispatcher_.reset(new AppCacheDispatcher(Get())); 327 appcache_dispatcher_.reset(new AppCacheDispatcher(Get()));
327 dom_storage_dispatcher_.reset(new DomStorageDispatcher()); 328 dom_storage_dispatcher_.reset(new DomStorageDispatcher());
328 main_thread_indexed_db_dispatcher_.reset(new IndexedDBDispatcher()); 329 main_thread_indexed_db_dispatcher_.reset(new IndexedDBDispatcher());
329 330
330 media_stream_center_ = NULL; 331 media_stream_center_ = NULL;
331 332
332 db_message_filter_ = new DBMessageFilter(); 333 db_message_filter_ = new DBMessageFilter();
333 AddFilter(db_message_filter_.get()); 334 AddFilter(db_message_filter_.get());
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 1200
1200 void RenderThreadImpl::SetFlingCurveParameters( 1201 void RenderThreadImpl::SetFlingCurveParameters(
1201 const std::vector<float>& new_touchpad, 1202 const std::vector<float>& new_touchpad,
1202 const std::vector<float>& new_touchscreen) { 1203 const std::vector<float>& new_touchscreen) {
1203 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, 1204 webkit_platform_support_->SetFlingCurveParameters(new_touchpad,
1204 new_touchscreen); 1205 new_touchscreen);
1205 1206
1206 } 1207 }
1207 1208
1208 } // namespace content 1209 } // 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