From 5f475af49882dcb652fdd36c5b303022e0287b0f Mon Sep 17 00:00:00 2001 From: "bbudge@chromium.org" Date: Tue, 27 Mar 2012 00:07:59 +0000 Subject: Notify tabs when the user presses ESC to exit tab-fullscreen mode. BUG=119630 TEST=PPAPITest.Fullscreen, manual. Review URL: https://chromiumcodereview.appspot.com/9835077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129058 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/tests/test_fullscreen.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ppapi/tests') diff --git a/ppapi/tests/test_fullscreen.cc b/ppapi/tests/test_fullscreen.cc index 1a64a3f..2a6edcd 100644 --- a/ppapi/tests/test_fullscreen.cc +++ b/ppapi/tests/test_fullscreen.cc @@ -272,6 +272,8 @@ void TestFullscreen::CheckPluginPaint() { // fullscreen. // // NOTE: The number of DidChangeView calls for might be different. +// TODO(bbudge) Figure out how to test that the plugin positon eventually +// changes to normal_position_. void TestFullscreen::DidChangeView(const pp::View& view) { pp::Rect position = view.GetRect(); pp::Rect clip = view.GetClipRect(); @@ -296,8 +298,6 @@ void TestFullscreen::DidChangeView(const pp::View& view) { normal_pending_ = false; if (screen_mode_.IsFullscreen()) FailNormalTest("DidChangeview is in fullscreen"); - else if (position != normal_position_) - FailNormalTest("DidChangeView position is not normal"); else if (!instance_->BindGraphics(graphics2d_)) FailNormalTest("Failed to BindGraphics() in normal"); else if (!PaintPlugin(position.size(), kSheerBlue)) -- cgit v1.1