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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2683233005: Set caret width based on device scale factor (Closed)
Patch Set: Fix compile error Created 3 years, 10 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/core/layout/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index 67d3cacb81f77ff7e8250953bc5e9f39ef709a8f..0fd3b6c0ea2b0c6429d1d600b44c2e96e70d9cfa 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -58,6 +58,7 @@ class Cursor;
class HitTestLocation;
class HitTestRequest;
class HitTestResult;
+class HostWindow;
class InlineBox;
class LayoutBoxModelObject;
class LayoutBlock;
@@ -84,7 +85,7 @@ enum MarkingBehavior {
enum ScheduleRelayoutBehavior { ScheduleRelayout, DontScheduleRelayout };
-const LayoutUnit& caretWidth();
+const LayoutUnit& caretWidth(HostWindow* host);
struct AnnotatedRegionValue {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();

Powered by Google App Engine
This is Rietveld 408576698