diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-01 22:35:27 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-01 22:35:27 +0000 |
commit | b4bb25099b2bc9b1bc1df1b231c859ef82110e7d (patch) | |
tree | 5bf82ee33816b9066e5a829b6a256a747021fc93 /webkit/glue/webview_unittest.cc | |
parent | 87772ec3b0265c72efd0bace14b30fafeee97769 (diff) | |
download | chromium_src-b4bb25099b2bc9b1bc1df1b231c859ef82110e7d.zip chromium_src-b4bb25099b2bc9b1bc1df1b231c859ef82110e7d.tar.gz chromium_src-b4bb25099b2bc9b1bc1df1b231c859ef82110e7d.tar.bz2 |
Move various methods from glue/webview.h to api/public/WebView.h
I'll re-order the methods in webview_impl.cc in a follow-up 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
Originally reviewed here: http://codereview.chromium.org/251051
Review URL: http://codereview.chromium.org/255042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27780 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 c3ae5c2..36f87c8 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->SetActive(true); - EXPECT_TRUE(view->IsActive()); + view->setIsActive(true); + EXPECT_TRUE(view->isActive()); - view->SetActive(false); - EXPECT_FALSE(view->IsActive()); + view->setIsActive(false); + EXPECT_FALSE(view->isActive()); - view->SetActive(true); - EXPECT_TRUE(view->IsActive()); + view->setIsActive(true); + EXPECT_TRUE(view->isActive()); } // TODO(viettrungluu): add more tests |