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

Side by Side Diff: chrome/browser/apps/guest_view/web_view_browsertest.cc

Issue 987473002: Added the onResize and onContentResize events to GuestViewEvents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small fix. Created 5 years, 9 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
« no previous file with comments | « no previous file | chrome/renderer/resources/extensions/extension_options_events.js » ('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 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 "base/path_service.h" 5 #include "base/path_service.h"
6 #include "base/strings/stringprintf.h" 6 #include "base/strings/stringprintf.h"
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/app/chrome_command_ids.h" 8 #include "chrome/app/chrome_command_ids.h"
9 #include "chrome/browser/apps/app_browsertest_util.h" 9 #include "chrome/browser/apps/app_browsertest_util.h"
10 #include "chrome/browser/chrome_content_browser_client.h" 10 #include "chrome/browser/chrome_content_browser_client.h"
(...skipping 2440 matching lines...) Expand 10 before | Expand all | Expand 10 after
2451 } 2451 }
2452 2452
2453 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestFindAPI_findupdate) { 2453 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestFindAPI_findupdate) {
2454 TestHelper("testFindAPI_findupdate", "web_view/shim", NO_TEST_SERVER); 2454 TestHelper("testFindAPI_findupdate", "web_view/shim", NO_TEST_SERVER);
2455 } 2455 }
2456 2456
2457 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadDataAPI) { 2457 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadDataAPI) {
2458 TestHelper("testLoadDataAPI", "web_view/shim", NEEDS_TEST_SERVER); 2458 TestHelper("testLoadDataAPI", "web_view/shim", NEEDS_TEST_SERVER);
2459 } 2459 }
2460 2460
2461 // This test verifies that the resize and contentResize events work correctly.
2462 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestResizeEvents) {
2463 TestHelper("testResizeEvents", "web_view/shim", NO_TEST_SERVER);
2464 }
2465
2461 // This test verify that the set of rules registries of a webview will be 2466 // This test verify that the set of rules registries of a webview will be
2462 // removed from RulesRegistryService after the webview is gone. 2467 // removed from RulesRegistryService after the webview is gone.
2463 // http://crbug.com/438327 2468 // http://crbug.com/438327
2464 IN_PROC_BROWSER_TEST_F( 2469 IN_PROC_BROWSER_TEST_F(
2465 WebViewTest, 2470 WebViewTest,
2466 DISABLED_Shim_TestRulesRegistryIDAreRemovedAfterWebViewIsGone) { 2471 DISABLED_Shim_TestRulesRegistryIDAreRemovedAfterWebViewIsGone) {
2467 LoadAppWithGuest("web_view/rules_registry"); 2472 LoadAppWithGuest("web_view/rules_registry");
2468 2473
2469 content::WebContents* embedder_web_contents = GetEmbedderWebContents(); 2474 content::WebContents* embedder_web_contents = GetEmbedderWebContents();
2470 ASSERT_TRUE(embedder_web_contents); 2475 ASSERT_TRUE(embedder_web_contents);
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
2548 // http://crbug.com/403325 2553 // http://crbug.com/403325
2549 #define MAYBE_WebViewInBackgroundPage \ 2554 #define MAYBE_WebViewInBackgroundPage \
2550 DISABLED_WebViewInBackgroundPage 2555 DISABLED_WebViewInBackgroundPage
2551 #else 2556 #else
2552 #define MAYBE_WebViewInBackgroundPage WebViewInBackgroundPage 2557 #define MAYBE_WebViewInBackgroundPage WebViewInBackgroundPage
2553 #endif 2558 #endif
2554 IN_PROC_BROWSER_TEST_F(WebViewTest, MAYBE_WebViewInBackgroundPage) { 2559 IN_PROC_BROWSER_TEST_F(WebViewTest, MAYBE_WebViewInBackgroundPage) {
2555 ASSERT_TRUE(RunExtensionTest("platform_apps/web_view/background")) 2560 ASSERT_TRUE(RunExtensionTest("platform_apps/web_view/background"))
2556 << message_; 2561 << message_;
2557 } 2562 }
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/resources/extensions/extension_options_events.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698