diff options
author | paul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 21:42:35 +0000 |
---|---|---|
committer | paul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 21:42:35 +0000 |
commit | 94950bbcfa674ca1f389199baa945081ab1826f2 (patch) | |
tree | bd30183d52030ab974075edfd9cdebbab636524e /webkit/glue/webview_impl.cc | |
parent | 0f320ca605db3ab928ee1a8f57ff4c6ea195b021 (diff) | |
download | chromium_src-94950bbcfa674ca1f389199baa945081ab1826f2.zip chromium_src-94950bbcfa674ca1f389199baa945081ab1826f2.tar.gz chromium_src-94950bbcfa674ca1f389199baa945081ab1826f2.tar.bz2 |
Remove an unused method and reorder methods to match the header.
BUG=22032
TEST=none.
Review URL: http://codereview.chromium.org/210015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26626 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_impl.cc')
-rw-r--r-- | webkit/glue/webview_impl.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc index 5b569f4..5bb7b72 100644 --- a/webkit/glue/webview_impl.cc +++ b/webkit/glue/webview_impl.cc @@ -235,9 +235,6 @@ class AutocompletePopupMenuClient : public WebCore::PopupMenuClient { return selected_index_; } virtual void popupDidHide() { - hidePopup(); - } - virtual void hidePopup() { webview_->HideAutoCompletePopup(); } virtual bool itemIsSeparator(unsigned listIndex) const { @@ -256,14 +253,14 @@ class AutocompletePopupMenuClient : public WebCore::PopupMenuClient { return false; } - virtual FontSelector* fontSelector() const { - return text_field_->document()->styleSelector()->fontSelector(); - } - virtual void setTextFromItem(unsigned listIndex) { text_field_->setValue(suggestions_[listIndex]); } + virtual FontSelector* fontSelector() const { + return text_field_->document()->styleSelector()->fontSelector(); + } + virtual HostWindow* hostWindow() const { return text_field_->document()->view()->hostWindow(); } |