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

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

Issue 14280004: Revert removal of events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/core/rendering/RenderTheme.cpp ('k') | Source/core/rendering/RenderThemeChromiumSkia.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google 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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 29 matching lines...) Expand all
40 virtual void adjustInnerSpinButtonStyle(StyleResolver*, RenderStyle*, Elemen t*) const OVERRIDE; 40 virtual void adjustInnerSpinButtonStyle(StyleResolver*, RenderStyle*, Elemen t*) const OVERRIDE;
41 41
42 virtual bool delegatesMenuListRendering() const OVERRIDE { return true; } 42 virtual bool delegatesMenuListRendering() const OVERRIDE { return true; }
43 43
44 virtual bool paintMediaOverlayPlayButton(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE; 44 virtual bool paintMediaOverlayPlayButton(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE;
45 45
46 #if ENABLE(VIDEO) 46 #if ENABLE(VIDEO)
47 virtual String extraMediaControlsStyleSheet() OVERRIDE; 47 virtual String extraMediaControlsStyleSheet() OVERRIDE;
48 #endif 48 #endif
49 49
50 #if ENABLE(TOUCH_EVENTS)
50 virtual Color platformTapHighlightColor() const OVERRIDE 51 virtual Color platformTapHighlightColor() const OVERRIDE
51 { 52 {
52 return RenderThemeChromiumAndroid::defaultTapHighlightColor; 53 return RenderThemeChromiumAndroid::defaultTapHighlightColor;
53 } 54 }
55 #endif
54 56
55 virtual Color platformActiveSelectionBackgroundColor() const OVERRIDE 57 virtual Color platformActiveSelectionBackgroundColor() const OVERRIDE
56 { 58 {
57 return RenderThemeChromiumAndroid::defaultActiveSelectionBackgroundColor ; 59 return RenderThemeChromiumAndroid::defaultActiveSelectionBackgroundColor ;
58 } 60 }
59 61
60 protected: 62 protected:
61 virtual int menuListArrowPadding() const OVERRIDE; 63 virtual int menuListArrowPadding() const OVERRIDE;
62 64
63 private: 65 private:
64 virtual ~RenderThemeChromiumAndroid(); 66 virtual ~RenderThemeChromiumAndroid();
65 67
66 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5; 68 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5;
67 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5; 69 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5;
68 }; 70 };
69 71
70 } // namespace WebCore 72 } // namespace WebCore
71 73
72 #endif // RenderThemeChromiumAndroid_h 74 #endif // RenderThemeChromiumAndroid_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTheme.cpp ('k') | Source/core/rendering/RenderThemeChromiumSkia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698