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

Side by Side Diff: chrome/browser/extensions/web_view_interactive_browsertest.cc

Issue 16702003: Move ShellWindow into apps component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 7 years, 6 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 (c) 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 #include "apps/shell_window.h"
5 #include "base/stringprintf.h" 6 #include "base/stringprintf.h"
6 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
7 #include "chrome/browser/extensions/extension_test_message_listener.h" 8 #include "chrome/browser/extensions/extension_test_message_listener.h"
8 #include "chrome/browser/extensions/platform_app_browsertest_util.h" 9 #include "chrome/browser/extensions/platform_app_browsertest_util.h"
9 #include "chrome/browser/extensions/shell_window_registry.h" 10 #include "chrome/browser/extensions/shell_window_registry.h"
10 #include "chrome/browser/ui/extensions/shell_window.h"
11 #include "chrome/test/base/interactive_test_utils.h" 11 #include "chrome/test/base/interactive_test_utils.h"
12 #include "chrome/test/base/test_launcher_utils.h" 12 #include "chrome/test/base/test_launcher_utils.h"
13 #include "chrome/test/base/ui_test_utils.h" 13 #include "chrome/test/base/ui_test_utils.h"
14 #include "content/public/browser/render_process_host.h" 14 #include "content/public/browser/render_process_host.h"
15 #include "content/public/browser/render_view_host.h" 15 #include "content/public/browser/render_view_host.h"
16 #include "content/public/browser/render_widget_host_view.h" 16 #include "content/public/browser/render_widget_host_view.h"
17 #include "content/public/browser/web_contents.h" 17 #include "content/public/browser/web_contents.h"
18 #include "content/public/browser/web_contents_view.h" 18 #include "content/public/browser/web_contents_view.h"
19 #include "content/public/test/browser_test_utils.h" 19 #include "content/public/test/browser_test_utils.h"
20 #include "ui/base/keycodes/keyboard_codes.h" 20 #include "ui/base/keycodes/keyboard_codes.h"
21 #include "ui/base/test/ui_controls.h" 21 #include "ui/base/test/ui_controls.h"
22 22
23 using apps::ShellWindow;
24
23 class WebViewInteractiveTest 25 class WebViewInteractiveTest
24 : public extensions::PlatformAppBrowserTest { 26 : public extensions::PlatformAppBrowserTest {
25 public: 27 public:
26 WebViewInteractiveTest() 28 WebViewInteractiveTest()
27 : corner_(gfx::Point()), 29 : corner_(gfx::Point()),
28 mouse_click_result_(false), 30 mouse_click_result_(false),
29 first_click_(true) {} 31 first_click_(true) {}
30 32
31 void MoveMouseInsideWindowWithListener(gfx::Point point, 33 void MoveMouseInsideWindowWithListener(gfx::Point point,
32 const std::string& message) { 34 const std::string& message) {
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 // Started flakily failing after a Blink roll: http://crbug.com/245332 461 // Started flakily failing after a Blink roll: http://crbug.com/245332
460 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, DISABLED_PopupPositioningMoved) { 462 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, DISABLED_PopupPositioningMoved) {
461 SetupTest( 463 SetupTest(
462 "web_view/popup_positioning_moved", 464 "web_view/popup_positioning_moved",
463 "files/extensions/platform_apps/web_view/popup_positioning_moved" 465 "files/extensions/platform_apps/web_view/popup_positioning_moved"
464 "/guest.html"); 466 "/guest.html");
465 ASSERT_TRUE(guest_web_contents()); 467 ASSERT_TRUE(guest_web_contents());
466 468
467 PopupTestHelper(gfx::Point(20, 0)); 469 PopupTestHelper(gfx::Point(20, 0));
468 } 470 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698