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

Unified Diff: third_party/WebKit/Source/platform/mac/ThemeMac.h

Issue 2043883002: mac: Delete some pre-OS X 10.9 code in blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build Created 4 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
Index: third_party/WebKit/Source/platform/mac/ThemeMac.h
diff --git a/third_party/WebKit/Source/platform/mac/ThemeMac.h b/third_party/WebKit/Source/platform/mac/ThemeMac.h
index 5143918ec153b9ca0c80f548363b1e0989573abf..f9ed642df679f7803ac3a1dc6b8bf0761fe663d8 100644
--- a/third_party/WebKit/Source/platform/mac/ThemeMac.h
+++ b/third_party/WebKit/Source/platform/mac/ThemeMac.h
@@ -62,12 +62,10 @@ public:
// Inflate an IntRect to account for any bleeding that would happen due to anti-aliasing.
static PLATFORM_EXPORT IntRect inflateRectForAA(const IntRect&);
- // Inflate an IntRect to account for its focus ring. This is only used when
- // drawWithFrameDrawsFocusRing() returns true (otherwise, the focus ring's
- // bounds could be accurately computed with -[NSCell focusRingMaskBoundsForFrame:inView:]).
+ // Inflate an IntRect to account for its focus ring.
+ // TODO: Consider using computing the focus ring's bounds with
+ // -[NSCell focusRingMaskBoundsForFrame:inView:]).
static PLATFORM_EXPORT IntRect inflateRectForFocusRing(const IntRect&);
-
- static PLATFORM_EXPORT bool drawWithFrameDrawsFocusRing();
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698