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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutTheme.h

Issue 2931443003: Add support for Android spellcheck menu in Chrome/WebViews (Closed)
Patch Set: Fix dependency Created 3 years, 6 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
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, 2009, 2010, 2012 Apple Computer, Inc. 4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 // List box selection colors 127 // List box selection colors
128 Color ActiveListBoxSelectionBackgroundColor() const; 128 Color ActiveListBoxSelectionBackgroundColor() const;
129 Color ActiveListBoxSelectionForegroundColor() const; 129 Color ActiveListBoxSelectionForegroundColor() const;
130 Color InactiveListBoxSelectionBackgroundColor() const; 130 Color InactiveListBoxSelectionBackgroundColor() const;
131 Color InactiveListBoxSelectionForegroundColor() const; 131 Color InactiveListBoxSelectionForegroundColor() const;
132 132
133 virtual Color PlatformSpellingMarkerUnderlineColor() const; 133 virtual Color PlatformSpellingMarkerUnderlineColor() const;
134 virtual Color PlatformGrammarMarkerUnderlineColor() const; 134 virtual Color PlatformGrammarMarkerUnderlineColor() const;
135 135
136 virtual Color PlatformActiveSpellingMarkerHighlightColor() const;
137
136 // Highlight and text colors for TextMatches. 138 // Highlight and text colors for TextMatches.
137 Color PlatformTextSearchHighlightColor(bool active_match) const; 139 Color PlatformTextSearchHighlightColor(bool active_match) const;
138 Color PlatformTextSearchColor(bool active_match) const; 140 Color PlatformTextSearchColor(bool active_match) const;
139 141
140 Color FocusRingColor() const; 142 Color FocusRingColor() const;
141 virtual Color PlatformFocusRingColor() const { return Color(0, 0, 0); } 143 virtual Color PlatformFocusRingColor() const { return Color(0, 0, 0); }
142 void SetCustomFocusRingColor(const Color&); 144 void SetCustomFocusRingColor(const Color&);
143 static Color TapHighlightColor(); 145 static Color TapHighlightColor();
144 virtual Color PlatformTapHighlightColor() const { 146 virtual Color PlatformTapHighlightColor() const {
145 return LayoutTheme::kDefaultTapHighlightColor; 147 return LayoutTheme::kDefaultTapHighlightColor;
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 static const RGBA32 kDefaultTapHighlightColor = 0x66000000; 295 static const RGBA32 kDefaultTapHighlightColor = 0x66000000;
294 296
295 static const RGBA32 kDefaultCompositionBackgroundColor = 0xFFFFDD55; 297 static const RGBA32 kDefaultCompositionBackgroundColor = 0xFFFFDD55;
296 298
297 Theme* platform_theme_; // The platform-specific theme. 299 Theme* platform_theme_; // The platform-specific theme.
298 }; 300 };
299 301
300 } // namespace blink 302 } // namespace blink
301 303
302 #endif // LayoutTheme_h 304 #endif // LayoutTheme_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698