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

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: yar Created 7 years, 5 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
« no previous file with comments | « chrome/browser/extensions/web_view_browsertest.cc ('k') | chrome/browser/sessions/session_id.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/strings/stringprintf.h" 6 #include "base/strings/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/notification_service.h" 14 #include "content/public/browser/notification_service.h"
15 #include "content/public/browser/render_process_host.h" 15 #include "content/public/browser/render_process_host.h"
16 #include "content/public/browser/render_view_host.h" 16 #include "content/public/browser/render_view_host.h"
17 #include "content/public/browser/render_widget_host_view.h" 17 #include "content/public/browser/render_widget_host_view.h"
18 #include "content/public/browser/web_contents.h" 18 #include "content/public/browser/web_contents.h"
19 #include "content/public/browser/web_contents_view.h" 19 #include "content/public/browser/web_contents_view.h"
20 #include "content/public/test/browser_test_utils.h" 20 #include "content/public/test/browser_test_utils.h"
21 #include "net/test/embedded_test_server/embedded_test_server.h" 21 #include "net/test/embedded_test_server/embedded_test_server.h"
22 #include "ui/base/keycodes/keyboard_codes.h" 22 #include "ui/base/keycodes/keyboard_codes.h"
23 #include "ui/base/test/ui_controls.h" 23 #include "ui/base/test/ui_controls.h"
24 24
25 using apps::ShellWindow;
26
25 class WebViewInteractiveTest 27 class WebViewInteractiveTest
26 : public extensions::PlatformAppBrowserTest { 28 : public extensions::PlatformAppBrowserTest {
27 public: 29 public:
28 WebViewInteractiveTest() 30 WebViewInteractiveTest()
29 : corner_(gfx::Point()), 31 : corner_(gfx::Point()),
30 mouse_click_result_(false), 32 mouse_click_result_(false),
31 first_click_(true) {} 33 first_click_(true) {}
32 34
33 void MoveMouseInsideWindowWithListener(gfx::Point point, 35 void MoveMouseInsideWindowWithListener(gfx::Point point,
34 const std::string& message) { 36 const std::string& message) {
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 // Started flakily failing after a Blink roll: http://crbug.com/245332 463 // Started flakily failing after a Blink roll: http://crbug.com/245332
462 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, DISABLED_PopupPositioningMoved) { 464 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, DISABLED_PopupPositioningMoved) {
463 SetupTest( 465 SetupTest(
464 "web_view/popup_positioning_moved", 466 "web_view/popup_positioning_moved",
465 "/extensions/platform_apps/web_view/popup_positioning_moved" 467 "/extensions/platform_apps/web_view/popup_positioning_moved"
466 "/guest.html"); 468 "/guest.html");
467 ASSERT_TRUE(guest_web_contents()); 469 ASSERT_TRUE(guest_web_contents());
468 470
469 PopupTestHelper(gfx::Point(20, 0)); 471 PopupTestHelper(gfx::Point(20, 0));
470 } 472 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/web_view_browsertest.cc ('k') | chrome/browser/sessions/session_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698