diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-12 22:37:38 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-12 22:37:38 +0000 |
commit | 2dd50820df6d5c39fbb3f1fc1f1b8a29c30b9d72 (patch) | |
tree | a7e06fb3fd773206ef652d3b12972b321f00f2f6 /chrome/views/root_view.h | |
parent | 2141858324fd45ece7d3e96c60145a71e493fbe0 (diff) | |
download | chromium_src-2dd50820df6d5c39fbb3f1fc1f1b8a29c30b9d72.zip chromium_src-2dd50820df6d5c39fbb3f1fc1f1b8a29c30b9d72.tar.gz chromium_src-2dd50820df6d5c39fbb3f1fc1f1b8a29c30b9d72.tar.bz2 |
Minor cleanup of RootView. Removes unused double_buffered field from
RootView, as well as renaming RootView::ProcessPendingPaint to PaintNow.
BUG=1255929
TEST=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@750 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/root_view.h')
-rw-r--r-- | chrome/views/root_view.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/chrome/views/root_view.h b/chrome/views/root_view.h index 545f553..0937db0 100644 --- a/chrome/views/root_view.h +++ b/chrome/views/root_view.h @@ -69,7 +69,7 @@ class RootView : public View, public: static const char kViewClassName[]; - RootView(ViewContainer* view_container, bool double_buffer); + explicit RootView(ViewContainer* view_container); virtual ~RootView(); @@ -87,7 +87,9 @@ class RootView : public View, // Paint this RootView and its child Views. virtual void ProcessPaint(ChromeCanvas* canvas); - // Paint this View's invalid rect immediately. + // If the invalid rect is non-empty and there is a pending paint the RootView + // is painted immediately. This is internally invoked as the result of + // invoking SchedulePaint. virtual void PaintNow(); // Whether or not this View needs repainting. If |urgent| is true, this method @@ -243,9 +245,6 @@ class RootView : public View, void RegisterViewForVisibleBoundsNotification(View* view); void UnregisterViewForVisibleBoundsNotification(View* view); - // Invoked by PaintTask to paint the root view in a non urgent way. - void ProcessPendingPaint(); - // Returns the next focusable view or view containing a FocusTraversable (NULL // if none was found), starting at the starting_view. // skip_starting_view, can_go_up and can_go_down controls the traversal of @@ -287,9 +286,6 @@ class RootView : public View, // If a view is dragging, this returns it. Otherwise returns NULL. View* GetDragView(); - // Whether or not we're double buffering paints - bool double_buffer_; - // The view currently handing down - drag - up View* mouse_pressed_handler_; |