Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1172)

Unified Diff: ui/views/view.h

Issue 10835027: views: Remove unused PaintLock API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/paint_lock.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index d6af1bbed1cf65ccf62e393683c37a4068c1b55d..9482cefa86b0b5b57bc7dc12250bbc8602425846 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -1114,7 +1114,6 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
friend class internal::RootView;
friend class FocusManager;
friend class Widget;
- friend class PaintLock;
// Used to track a drag. RootView passes this into
// ProcessMousePressed/Dragged.
@@ -1238,11 +1237,6 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Accelerated painting ------------------------------------------------------
- // Disables painting during time critical operations. Used by PaintLock.
- // TODO(vollick) Ideally, the widget would not dispatch paints into the
- // hierarchy during time critical operations and this would not be needed.
- void set_painting_enabled(bool enabled) { painting_enabled_ = enabled; }
-
// Creates the layer and related fields for this view.
void CreateLayer();
@@ -1372,9 +1366,6 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Whether this view is enabled.
bool enabled_;
- // Whether this view is painting.
- bool painting_enabled_;
-
// When this flag is on, a View receives a mouse-enter and mouse-leave event
// even if a descendant View is the event-recipient for the real mouse
// events. When this flag is turned on, and mouse moves from outside of the
« no previous file with comments | « ui/views/paint_lock.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698