| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROMEOS_EXTENSIONS_VIRTUAL_KEYBOARD_BROWSERTEST_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_VIRTUAL_KEYBOARD_BROWSERTEST_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_VIRTUAL_KEYBOARD_BROWSERTEST_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_VIRTUAL_KEYBOARD_BROWSERTEST_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "chrome/test/base/in_process_browser_test.h" | 9 #include "chrome/test/base/in_process_browser_test.h" |
| 10 #include "url/gurl.h" | 10 #include "url/gurl.h" |
| 11 | 11 |
| 12 namespace base { | 12 namespace base { |
| 13 class CommandLine; | 13 class CommandLine; |
| 14 class FilePath; | 14 class FilePath; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 class RenderViewHost; | 18 class RenderViewHost; |
| 19 class WebContents; | |
| 20 } | 19 } |
| 21 | 20 |
| 22 // See the .cc for default values. | 21 // See the .cc for default values. |
| 23 struct VirtualKeyboardBrowserTestConfig { | 22 struct VirtualKeyboardBrowserTestConfig { |
| 24 VirtualKeyboardBrowserTestConfig(); | 23 VirtualKeyboardBrowserTestConfig(); |
| 25 | 24 |
| 26 ~VirtualKeyboardBrowserTestConfig(); | 25 ~VirtualKeyboardBrowserTestConfig(); |
| 27 | 26 |
| 28 // The filename of the base framework. This file should be in |test_dir_|. | 27 // The filename of the base framework. This file should be in |test_dir_|. |
| 29 std::string base_framework_; | 28 std::string base_framework_; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 57 protected: | 56 protected: |
| 58 // Accumulates the javascript and injects it when the test starts. The test | 57 // Accumulates the javascript and injects it when the test starts. The test |
| 59 // |file| is in directory |dir| relative to the root testing directory. | 58 // |file| is in directory |dir| relative to the root testing directory. |
| 60 void InjectJavascript(const base::FilePath& dir, const base::FilePath& file); | 59 void InjectJavascript(const base::FilePath& dir, const base::FilePath& file); |
| 61 | 60 |
| 62 private: | 61 private: |
| 63 std::string utf8_content_; | 62 std::string utf8_content_; |
| 64 }; | 63 }; |
| 65 | 64 |
| 66 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_VIRTUAL_KEYBOARD_BROWSERTEST_H_ | 65 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_VIRTUAL_KEYBOARD_BROWSERTEST_H_ |
| OLD | NEW |