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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumAndroid.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
« 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)
51 virtual Color platformTapHighlightColor() const OVERRIDE 50 virtual Color platformTapHighlightColor() const OVERRIDE
52 { 51 {
53 return RenderThemeChromiumAndroid::defaultTapHighlightColor; 52 return RenderThemeChromiumAndroid::defaultTapHighlightColor;
54 } 53 }
55 #endif
56 54
57 virtual Color platformActiveSelectionBackgroundColor() const OVERRIDE 55 virtual Color platformActiveSelectionBackgroundColor() const OVERRIDE
58 { 56 {
59 return RenderThemeChromiumAndroid::defaultActiveSelectionBackgroundColor ; 57 return RenderThemeChromiumAndroid::defaultActiveSelectionBackgroundColor ;
60 } 58 }
61 59
62 protected: 60 protected:
63 virtual int menuListArrowPadding() const OVERRIDE; 61 virtual int menuListArrowPadding() const OVERRIDE;
64 62
65 private: 63 private:
66 virtual ~RenderThemeChromiumAndroid(); 64 virtual ~RenderThemeChromiumAndroid();
67 65
68 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5; 66 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5;
69 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5; 67 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5;
70 }; 68 };
71 69
72 } // namespace WebCore 70 } // namespace WebCore
73 71
74 #endif // RenderThemeChromiumAndroid_h 72 #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