| OLD | NEW | 
|---|
| 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 20 matching lines...) Expand all  Loading... | 
| 31 #include "platform/graphics/paint/DisplayItem.h" | 31 #include "platform/graphics/paint/DisplayItem.h" | 
| 32 #include "platform/scroll/ScrollTypes.h" | 32 #include "platform/scroll/ScrollTypes.h" | 
| 33 #include "platform/scroll/Scrollbar.h" | 33 #include "platform/scroll/Scrollbar.h" | 
| 34 #include "public/platform/WebScrollbarButtonsPlacement.h" | 34 #include "public/platform/WebScrollbarButtonsPlacement.h" | 
| 35 | 35 | 
| 36 namespace blink { | 36 namespace blink { | 
| 37 | 37 | 
| 38 class CullRect; | 38 class CullRect; | 
| 39 class GraphicsContext; | 39 class GraphicsContext; | 
| 40 class PlatformMouseEvent; | 40 class PlatformMouseEvent; | 
| 41 class ScrollbarThemePaintParams; |  | 
| 42 | 41 | 
| 43 class PLATFORM_EXPORT ScrollbarTheme { | 42 class PLATFORM_EXPORT ScrollbarTheme { | 
| 44   WTF_MAKE_NONCOPYABLE(ScrollbarTheme); | 43   WTF_MAKE_NONCOPYABLE(ScrollbarTheme); | 
| 45   USING_FAST_MALLOC(ScrollbarTheme); | 44   USING_FAST_MALLOC(ScrollbarTheme); | 
| 46 | 45 | 
| 47  public: | 46  public: | 
| 48   ScrollbarTheme() {} | 47   ScrollbarTheme() {} | 
| 49   virtual ~ScrollbarTheme() {} | 48   virtual ~ScrollbarTheme() {} | 
| 50 | 49 | 
| 51   // If true, then scrollbars with this theme will be painted every time | 50   // If true, then scrollbars with this theme will be painted every time | 
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 179   static DisplayItem::Type trackPiecePartToDisplayItemType(ScrollbarPart); | 178   static DisplayItem::Type trackPiecePartToDisplayItemType(ScrollbarPart); | 
| 180 | 179 | 
| 181  private: | 180  private: | 
| 182   static ScrollbarTheme& | 181   static ScrollbarTheme& | 
| 183   nativeTheme();  // Must be implemented to return the correct theme subclass. | 182   nativeTheme();  // Must be implemented to return the correct theme subclass. | 
| 184   static bool gMockScrollbarsEnabled; | 183   static bool gMockScrollbarsEnabled; | 
| 185 }; | 184 }; | 
| 186 | 185 | 
| 187 }  // namespace blink | 186 }  // namespace blink | 
| 188 #endif | 187 #endif | 
| OLD | NEW | 
|---|