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

Side by Side Diff: content/public/test/layouttest_support.h

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 | « no previous file | content/renderer/render_thread_impl.h » ('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 #ifndef CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ 5 #ifndef CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_
6 #define CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ 6 #define CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 9
10 namespace WebKit { 10 namespace WebKit {
(...skipping 20 matching lines...) Expand all
31 31
32 // Disable logging to the console from the appcache system. 32 // Disable logging to the console from the appcache system.
33 void DisableAppCacheLogging(); 33 void DisableAppCacheLogging();
34 34
35 // Enable testing support in the devtools client. 35 // Enable testing support in the devtools client.
36 void EnableDevToolsFrontendTesting(); 36 void EnableDevToolsFrontendTesting();
37 37
38 // Returns the length of the local session history of a render view. 38 // Returns the length of the local session history of a render view.
39 int GetLocalSessionHistoryLength(RenderView* render_view); 39 int GetLocalSessionHistoryLength(RenderView* render_view);
40 40
41 // Do not require a user gesture for focus change events.
42 void DoNotRequireUserGestureForFocusChanges();
43
41 } // namespace content 44 } // namespace content
42 45
43 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ 46 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698