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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumSkia.h

Issue 14296003: Remove TOUCH_EVENTS and TOUCH_EVENT_TRACKING compile-time flags. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase. Created 7 years, 8 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 WebKit project. 2 * This file is part of the WebKit project.
3 * 3 *
4 * Copyright (C) 2006 Apple Computer, Inc. 4 * Copyright (C) 2006 Apple Computer, Inc.
5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com 5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
6 * Copyright (C) 2007 Holger Hans Peter Freyther 6 * Copyright (C) 2007 Holger Hans Peter Freyther
7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 7 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
8 * Copyright (C) 2008, 2009 Google, Inc. 8 * Copyright (C) 2008, 2009 Google, Inc.
9 * All rights reserved. 9 * All rights reserved.
10 * 10 *
(...skipping 28 matching lines...) Expand all
39 public: 39 public:
40 RenderThemeChromiumSkia(); 40 RenderThemeChromiumSkia();
41 virtual ~RenderThemeChromiumSkia(); 41 virtual ~RenderThemeChromiumSkia();
42 42
43 virtual String extraDefaultStyleSheet(); 43 virtual String extraDefaultStyleSheet();
44 virtual String extraQuirksStyleSheet(); 44 virtual String extraQuirksStyleSheet();
45 #if ENABLE(VIDEO) 45 #if ENABLE(VIDEO)
46 virtual String extraMediaControlsStyleSheet(); 46 virtual String extraMediaControlsStyleSheet();
47 #endif 47 #endif
48 48
49 #if ENABLE(TOUCH_EVENTS)
50 virtual Color platformTapHighlightColor() const OVERRIDE 49 virtual Color platformTapHighlightColor() const OVERRIDE
51 { 50 {
52 return Color(defaultTapHighlightColor); 51 return Color(defaultTapHighlightColor);
53 } 52 }
54 #endif
55 53
56 // A method asking if the theme's controls actually care about redrawing whe n hovered. 54 // A method asking if the theme's controls actually care about redrawing whe n hovered.
57 virtual bool supportsHover(const RenderStyle*) const; 55 virtual bool supportsHover(const RenderStyle*) const;
58 56
59 // A method asking if the theme is able to draw the focus ring. 57 // A method asking if the theme is able to draw the focus ring.
60 virtual bool supportsFocusRing(const RenderStyle*) const; 58 virtual bool supportsFocusRing(const RenderStyle*) const;
61 59
62 virtual bool supportsDataListUI(const AtomicString& type) const OVERRIDE; 60 virtual bool supportsDataListUI(const AtomicString& type) const OVERRIDE;
63 61
64 virtual bool supportsClosedCaptioning() const OVERRIDE; 62 virtual bool supportsClosedCaptioning() const OVERRIDE;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 int menuListInternalPadding(RenderStyle*, int paddingType) const; 180 int menuListInternalPadding(RenderStyle*, int paddingType) const;
183 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*); 181 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*);
184 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const; 182 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const;
185 183
186 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. 184 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black.
187 }; 185 };
188 186
189 } // namespace WebCore 187 } // namespace WebCore
190 188
191 #endif // RenderThemeChromiumSkia_h 189 #endif // RenderThemeChromiumSkia_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumAndroid.h ('k') | Source/core/rendering/style/RenderStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698