summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/infobar_unittests.cc
diff options
context:
space:
mode:
authorerikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-12 19:28:50 +0000
committererikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-12 19:28:50 +0000
commit6e58a95b99e1c88172d5eae8925c8dfa39c2b765 (patch)
tree77e93bb7e93198024c36e5a6bba434b9412820ac /chrome_frame/test/infobar_unittests.cc
parentf24a74a242f8605d43085d6cc0cb36e5e376b2d4 (diff)
downloadchromium_src-6e58a95b99e1c88172d5eae8925c8dfa39c2b765.zip
chromium_src-6e58a95b99e1c88172d5eae8925c8dfa39c2b765.tar.gz
chromium_src-6e58a95b99e1c88172d5eae8925c8dfa39c2b765.tar.bz2
Integrate the Ready Mode prompt with IE and Chrome Frame. In Ready Mode, prompts are displayed when the user browses to GCF-enabled sites, allowing the user to permanently activate, permanently decline, or temporarily decline Chrome Frame.
BUG=None TEST=chrome_frame_unittests --gtest_filter=Ready* && chrome_frame_unittests --gtest_filter=Infobar* && setup.exe --chrome-frame --ready-mode --multi-install --system--level --chrome Review URL: http://codereview.chromium.org/6040003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71215 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test/infobar_unittests.cc')
-rw-r--r--chrome_frame/test/infobar_unittests.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome_frame/test/infobar_unittests.cc b/chrome_frame/test/infobar_unittests.cc
index abd7c17..63aa898 100644
--- a/chrome_frame/test/infobar_unittests.cc
+++ b/chrome_frame/test/infobar_unittests.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -208,7 +208,6 @@ template <typename WINDOW, typename DELEGATE> void ExpectNcCalcSizeSequence(
OnSize(0, CSize(modified_rect->right - modified_rect->left,
modified_rect->bottom - modified_rect->top)))
.Times(testing::Between(0, 1));
-
}
template <typename WINDOW, typename DELEGATE, typename MANAGER>
@@ -432,7 +431,9 @@ ACTION_P2(AsynchronousHideOnManager, loop, manager) {
// If the test turns out to be flaky (i.e., because timers are not firing
// frequently enough to hit all the ranges), increasing the infobar_height
// should increase the margin (by increasing the time spent in each range).
-TEST(InfobarsInfobarWindowTest, SlidingTest) {
+//
+// TODO(erikwright): re-enable when sliding is fixed (currently crashes in IE6).
+TEST(InfobarsInfobarWindowTest, DISABLED_SlidingTest) {
int infobar_height = 40;
chrome_frame_test::TimedMsgLoop message_loop;
@@ -441,7 +442,7 @@ TEST(InfobarsInfobarWindowTest, SlidingTest) {
// Used to verify that the last RECT given to SetDimensions is the same RECT
// reserved by ReserveSpace.
- RECT current_infobar_dimensions = {0, 0, 0, 0}; // Used to verify that the
+ RECT current_infobar_dimensions = {0, 0, 0, 0};
// Used to make sure that each SetDimensions is matched by a return from
// ReserveSpace.