diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-09 23:02:42 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-09 23:02:42 +0000 |
commit | cec8588640e68e9fddf73b6f68cedfbaa97080a6 (patch) | |
tree | 99d2e6a04497d7f5103f8effd8bca793d1b12e05 /webkit/glue/webwidget_impl.h | |
parent | 090ac3fac1a1d4d49cec412321653c089838f965 (diff) | |
download | chromium_src-cec8588640e68e9fddf73b6f68cedfbaa97080a6.zip chromium_src-cec8588640e68e9fddf73b6f68cedfbaa97080a6.tar.gz chromium_src-cec8588640e68e9fddf73b6f68cedfbaa97080a6.tar.bz2 |
Implement ScrollView::inWindow by plumbing through RenderWidget::is_hidden to improve performance when a tab is in the background.
BUG=2525
Review URL: http://codereview.chromium.org/6503
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3147 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webwidget_impl.h')
-rw-r--r-- | webkit/glue/webwidget_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/webwidget_impl.h b/webkit/glue/webwidget_impl.h index 5c706a7..ddb4fde 100644 --- a/webkit/glue/webwidget_impl.h +++ b/webkit/glue/webwidget_impl.h @@ -85,6 +85,7 @@ class WebWidgetImpl : public WebWidget, public WebCore::WidgetClientWin { virtual const WTF::Vector<RefPtr<WebCore::Range> >* getTickmarks( WebCore::Frame* frame); virtual size_t getActiveTickmarkIndex(WebCore::Frame* frame); + virtual bool isHidden(); WebWidgetDelegate* delegate_; gfx::Size size_; |