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

Unified Diff: Source/core/layout/LayoutTheme.h

Issue 1186523004: Rename adjustPaintInvalidationRect and related to addVisualOverflow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | « Source/core/layout/LayoutBlock.cpp ('k') | Source/core/layout/LayoutTheme.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTheme.h
diff --git a/Source/core/layout/LayoutTheme.h b/Source/core/layout/LayoutTheme.h
index ab681d5735078af9619d6081a11f5c6f54d908ea..5632bf9d2bde37f406db92810af81d9319ac1098 100644
--- a/Source/core/layout/LayoutTheme.h
+++ b/Source/core/layout/LayoutTheme.h
@@ -86,9 +86,9 @@ public:
// Whether or not the control has been styled enough by the author to disable the native appearance.
virtual bool isControlStyled(const ComputedStyle&, const AuthorStyleInfo&) const;
- // Some controls may spill out of their containers (e.g., the check on an OS X checkbox). When these controls issues paint invalidations,
- // the theme needs to communicate this inflated rect to the engine so that it can invalidate the whole control.
- virtual void adjustPaintInvalidationRect(const LayoutObject*, IntRect&);
+ // Some controls may spill out of their containers (e.g., the check on an OSX 10.9 checkbox). Add this
+ // "visual overflow" to the object's border box rect.
+ virtual void addVisualOverflow(const LayoutObject&, IntRect& borderBox);
// This method is called whenever a control state changes on a particular themed object, e.g., the mouse becomes pressed
// or a control becomes disabled. The ControlState parameter indicates which state has changed (from having to not having,
« no previous file with comments | « Source/core/layout/LayoutBlock.cpp ('k') | Source/core/layout/LayoutTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698