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

Side by Side Diff: chrome/browser/instant/instant_test_utils.h

Issue 11889003: Fixing ESC in instant-extended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added issue number to TODO. Created 7 years, 10 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_INSTANT_INSTANT_TEST_UTILS_H_ 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_TEST_UTILS_H_
6 #define CHROME_BROWSER_INSTANT_INSTANT_TEST_UTILS_H_ 6 #define CHROME_BROWSER_INSTANT_INSTANT_TEST_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 bool* result) WARN_UNUSED_RESULT; 71 bool* result) WARN_UNUSED_RESULT;
72 bool GetIntFromJS(content::WebContents* contents, 72 bool GetIntFromJS(content::WebContents* contents,
73 const std::string& script, 73 const std::string& script,
74 int* result) WARN_UNUSED_RESULT; 74 int* result) WARN_UNUSED_RESULT;
75 bool GetStringFromJS(content::WebContents* contents, 75 bool GetStringFromJS(content::WebContents* contents,
76 const std::string& script, 76 const std::string& script,
77 std::string* result) WARN_UNUSED_RESULT; 77 std::string* result) WARN_UNUSED_RESULT;
78 bool ExecuteScript(const std::string& script) WARN_UNUSED_RESULT; 78 bool ExecuteScript(const std::string& script) WARN_UNUSED_RESULT;
79 bool CheckVisibilityIs(content::WebContents* contents, 79 bool CheckVisibilityIs(content::WebContents* contents,
80 bool expected) WARN_UNUSED_RESULT; 80 bool expected) WARN_UNUSED_RESULT;
81 bool HasUserInputInProgress();
82 bool HasTemporaryText();
81 83
82 GURL instant_url_; 84 GURL instant_url_;
83 85
84 // HTTPS Testing server, started on demand. 86 // HTTPS Testing server, started on demand.
85 net::TestServer https_test_server_; 87 net::TestServer https_test_server_;
86 }; 88 };
87 89
88 #endif // CHROME_BROWSER_INSTANT_INSTANT_TEST_UTILS_H_ 90 #endif // CHROME_BROWSER_INSTANT_INSTANT_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698