diff options
author | mal@chromium.org <mal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-01 08:43:32 +0000 |
---|---|---|
committer | mal@chromium.org <mal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-01 08:43:32 +0000 |
commit | 4c4d056f81e01dc743b6f1cc5773a0686759be23 (patch) | |
tree | b6245ce395c954efe0a49898cd8bc8faa1ca22c5 /webkit/glue/webview_unittest.cc | |
parent | dd805fef306e6ee0d6bade640ea3689b10e64bc7 (diff) | |
download | chromium_src-4c4d056f81e01dc743b6f1cc5773a0686759be23.zip chromium_src-4c4d056f81e01dc743b6f1cc5773a0686759be23.tar.gz chromium_src-4c4d056f81e01dc743b6f1cc5773a0686759be23.tar.bz2 |
Revert 27705 - Move various methods from glue/webview.h to api/public/WebView.h
** browser_tests started failing at this revision. See:
http://build.chromium.org/buildbot/waterfall/builders/Chromium%20XP/builds/7697/steps/browser_tests/logs/stdio
**
I'll reorder the methods in webview_impl.cc in a followup CL. I
wanted to keep this one easy to review.
SetBackForwardListSize is no longer necessary given that
BackForwardListChromium.cpp doesn't care about its capacity.
R=dglazkov
BUG=10033
TEST=none
Review URL: http://codereview.chromium.org/251051
TBR=darin@chromium.org
Review URL: http://codereview.chromium.org/246060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_unittest.cc')
-rw-r--r-- | webkit/glue/webview_unittest.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/webkit/glue/webview_unittest.cc b/webkit/glue/webview_unittest.cc index 36f87c8..c3ae5c2 100644 --- a/webkit/glue/webview_unittest.cc +++ b/webkit/glue/webview_unittest.cc @@ -13,14 +13,14 @@ TEST_F(WebViewTest, GetContentAsPlainText) { WebView* view = test_shell_->webView(); ASSERT_TRUE(view != 0); - view->setIsActive(true); - EXPECT_TRUE(view->isActive()); + view->SetActive(true); + EXPECT_TRUE(view->IsActive()); - view->setIsActive(false); - EXPECT_FALSE(view->isActive()); + view->SetActive(false); + EXPECT_FALSE(view->IsActive()); - view->setIsActive(true); - EXPECT_TRUE(view->isActive()); + view->SetActive(true); + EXPECT_TRUE(view->IsActive()); } // TODO(viettrungluu): add more tests |