Disable TabDragController tests that fail with a real compositor.
[chromium-blink-merge.git] / chrome / test / ui / javascript_test_util.h
blob1619fc0d007d32abc8b63505a8667fdb6b96ea3b
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_TEST_UI_JAVASCRIPT_TEST_UTIL_H_
6 #define CHROME_TEST_UI_JAVASCRIPT_TEST_UTIL_H_
8 #include <string>
9 #include <map>
11 // This file provides a common set of utilities that are useful to UI tests
12 // that interact with JavaScript.
14 // Given a JSON encoded representation of a dictionary, parses the string and
15 // fills in a map with the results. No attempt is made to clear the map.
16 // Returns a bool indicating success or failure of the operation.
17 bool JsonDictionaryToMap(const std::string& json,
18 std::map<std::string, std::string>* results);
20 #endif // CHROME_TEST_UI_JAVASCRIPT_TEST_UTIL_H_