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

Side by Side Diff: third_party/WebKit/WebCore/rendering/RenderTheme.h

Issue 27194: Lands the patch for WebKit bug 24171 locally, and rebaselines the necessary l... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * This file is part of the theme implementation for form controls in WebCore. 2 * This file is part of the theme implementation for form controls in WebCore.
3 * 3 *
4 * Copyright (C) 2005, 2006, 2007, 2008 Apple Computer, Inc. 4 * Copyright (C) 2005, 2006, 2007, 2008 Apple Computer, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 11 matching lines...) Expand all
22 22
23 #ifndef RenderTheme_h 23 #ifndef RenderTheme_h
24 #define RenderTheme_h 24 #define RenderTheme_h
25 25
26 #include "RenderObject.h" 26 #include "RenderObject.h"
27 #if USE(NEW_THEME) 27 #if USE(NEW_THEME)
28 #include "Theme.h" 28 #include "Theme.h"
29 #else 29 #else
30 #include "ThemeTypes.h" 30 #include "ThemeTypes.h"
31 #endif 31 #endif
32 #include "ScrollTypes.h"
32 33
33 namespace WebCore { 34 namespace WebCore {
34 35
35 class Element; 36 class Element;
36 class PopupMenu; 37 class PopupMenu;
37 class RenderMenuList; 38 class RenderMenuList;
38 class CSSStyleSheet; 39 class CSSStyleSheet;
39 40
40 class RenderTheme { 41 class RenderTheme {
41 public: 42 public:
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 virtual int minimumMenuListSize(RenderStyle*) const { return 0; } 130 virtual int minimumMenuListSize(RenderStyle*) const { return 0; }
130 131
131 virtual void adjustButtonInnerStyle(RenderStyle*) const; 132 virtual void adjustButtonInnerStyle(RenderStyle*) const;
132 virtual void adjustSliderThumbSize(RenderObject*) const; 133 virtual void adjustSliderThumbSize(RenderObject*) const;
133 134
134 virtual int popupInternalPaddingLeft(RenderStyle*) const { return 0; } 135 virtual int popupInternalPaddingLeft(RenderStyle*) const { return 0; }
135 virtual int popupInternalPaddingRight(RenderStyle*) const { return 0; } 136 virtual int popupInternalPaddingRight(RenderStyle*) const { return 0; }
136 virtual int popupInternalPaddingTop(RenderStyle*) const { return 0; } 137 virtual int popupInternalPaddingTop(RenderStyle*) const { return 0; }
137 virtual int popupInternalPaddingBottom(RenderStyle*) const { return 0; } 138 virtual int popupInternalPaddingBottom(RenderStyle*) const { return 0; }
138 139
140 virtual ScrollbarControlSize scrollbarControlSizeForPart(ControlPart) { retu rn RegularScrollbar; }
141
139 // Method for painting the caps lock indicator 142 // Method for painting the caps lock indicator
140 virtual bool paintCapsLockIndicator(RenderObject*, const RenderObject::Paint Info&, const IntRect&) { return 0; }; 143 virtual bool paintCapsLockIndicator(RenderObject*, const RenderObject::Paint Info&, const IntRect&) { return 0; };
141 144
142 #if ENABLE(VIDEO) 145 #if ENABLE(VIDEO)
143 // Media controls 146 // Media controls
144 virtual bool hitTestMediaControlPart(RenderObject*, const IntPoint& absPoint ); 147 virtual bool hitTestMediaControlPart(RenderObject*, const IntPoint& absPoint );
145 #endif 148 #endif
146 149
147 protected: 150 protected:
148 // The platform selection color. 151 // The platform selection color.
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 #endif 250 #endif
248 }; 251 };
249 252
250 // Function to obtain the theme. This is implemented in your platform-specific theme implementation to hand 253 // Function to obtain the theme. This is implemented in your platform-specific theme implementation to hand
251 // back the appropriate platform theme. 254 // back the appropriate platform theme.
252 RenderTheme* theme(); 255 RenderTheme* theme();
253 256
254 } // namespace WebCore 257 } // namespace WebCore
255 258
256 #endif // RenderTheme_h 259 #endif // RenderTheme_h
OLDNEW
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderListBox.cpp ('k') | third_party/WebKit/WebCore/rendering/RenderThemeChromiumMac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698