summaryrefslogtreecommitdiffstats
path: root/ppapi/tests
diff options
context:
space:
mode:
authorbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-27 00:07:59 +0000
committerbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-27 00:07:59 +0000
commit5f475af49882dcb652fdd36c5b303022e0287b0f (patch)
tree5ee67326c87766f214039bddd1cea08bdf8045ef /ppapi/tests
parentf6e41bdff025042189eb5cb2932d00f608e1c35b (diff)
downloadchromium_src-5f475af49882dcb652fdd36c5b303022e0287b0f.zip
chromium_src-5f475af49882dcb652fdd36c5b303022e0287b0f.tar.gz
chromium_src-5f475af49882dcb652fdd36c5b303022e0287b0f.tar.bz2
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
Diffstat (limited to 'ppapi/tests')
-rw-r--r--ppapi/tests/test_fullscreen.cc4
1 files changed, 2 insertions, 2 deletions
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 <object> 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))