Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / test / remoting / scrollbar_browsertest.cc
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
3 // found in the LICENSE file.
4
5 #include "base/files/file_path.h"
6 #include "base/files/file_util.h"
7 #include "chrome/test/remoting/remote_desktop_browsertest.h"
8 #include "chrome/test/remoting/waiter.h"
9
10 namespace remoting {
11
12 class ScrollbarBrowserTest : public RemoteDesktopBrowserTest {
13 };
14
15 IN_PROC_BROWSER_TEST_F(ScrollbarBrowserTest, MANUAL_Scrollbar_Visibility) {
16   SetUpTestForMe2Me();
17
18   content::WebContents* content = app_web_content();
19   LoadScript(content, FILE_PATH_LITERAL("scrollbar_browser_test.js"));
20
21   RunJavaScriptTest(content, "Scrollbars", "{}");
22
23   Cleanup();
24 }
25
26 }  // namespace remoting