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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutScrollbarPart.h

Issue 1406133005: Calculate paint invalidation rect for scrollbars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 LayoutUnit paddingAfter() const override { return LayoutUnit(); } 96 LayoutUnit paddingAfter() const override { return LayoutUnit(); }
97 LayoutUnit paddingStart() const override { return LayoutUnit(); } 97 LayoutUnit paddingStart() const override { return LayoutUnit(); }
98 LayoutUnit paddingEnd() const override { return LayoutUnit(); } 98 LayoutUnit paddingEnd() const override { return LayoutUnit(); }
99 99
100 void layoutHorizontalPart(); 100 void layoutHorizontalPart();
101 void layoutVerticalPart(); 101 void layoutVerticalPart();
102 102
103 void computeScrollbarWidth(); 103 void computeScrollbarWidth();
104 void computeScrollbarHeight(); 104 void computeScrollbarHeight();
105 105
106 void setNeedsPaintInvalidation();
107
106 GC_PLUGIN_IGNORE("http://crbug.com/509911") 108 GC_PLUGIN_IGNORE("http://crbug.com/509911")
107 LayoutScrollbar* m_scrollbar; 109 LayoutScrollbar* m_scrollbar;
108 ScrollbarPart m_part; 110 ScrollbarPart m_part;
109 }; 111 };
110 112
111 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutScrollbarPart, isLayoutScrollbarPart()); 113 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutScrollbarPart, isLayoutScrollbarPart());
112 114
113 } // namespace blink 115 } // namespace blink
114 116
115 #endif // LayoutScrollbarPart_h 117 #endif // LayoutScrollbarPart_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698