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

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

Issue 2097983002: Merge to M52: Exclude more CSS properties for fullscreen video on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 5 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void adjustStyle(ComputedStyle&, Element*); 61 void adjustStyle(ComputedStyle&, Element*);
62 62
63 // The remaining methods should be implemented by the platform-specific port ion of the theme, e.g., 63 // The remaining methods should be implemented by the platform-specific port ion of the theme, e.g.,
64 // LayoutThemeMac.cpp for Mac OS X. 64 // LayoutThemeMac.cpp for Mac OS X.
65 65
66 // These methods return the theme's extra style sheets rules, to let each pl atform 66 // These methods return the theme's extra style sheets rules, to let each pl atform
67 // adjust the default CSS rules in html.css, quirks.css or mediaControls.css . 67 // adjust the default CSS rules in html.css, quirks.css or mediaControls.css .
68 virtual String extraDefaultStyleSheet(); 68 virtual String extraDefaultStyleSheet();
69 virtual String extraQuirksStyleSheet() { return String(); } 69 virtual String extraQuirksStyleSheet() { return String(); }
70 virtual String extraMediaControlsStyleSheet() { return String(); } 70 virtual String extraMediaControlsStyleSheet() { return String(); }
71 virtual String extraFullScreenStyleSheet() { return String(); } 71 virtual String extraFullscreenStyleSheet() { return String(); }
72 72
73 // A method to obtain the baseline position for a "leaf" control. This will only be used if a baseline 73 // A method to obtain the baseline position for a "leaf" control. This will only be used if a baseline
74 // position cannot be determined by examining child content. Checkboxes and radio buttons are examples of 74 // position cannot be determined by examining child content. Checkboxes and radio buttons are examples of
75 // controls that need to do this. 75 // controls that need to do this.
76 virtual int baselinePosition(const LayoutObject*) const; 76 virtual int baselinePosition(const LayoutObject*) const;
77 77
78 // A method for asking if a control is a container or not. Leaf controls ha ve to have some special behavior (like 78 // A method for asking if a control is a container or not. Leaf controls ha ve to have some special behavior (like
79 // the baseline position API above). 79 // the baseline position API above).
80 bool isControlContainer(ControlPart) const; 80 bool isControlContainer(ControlPart) const;
81 81
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 static const RGBA32 defaultTapHighlightColor = 0x66000000; 245 static const RGBA32 defaultTapHighlightColor = 0x66000000;
246 246
247 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; 247 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55;
248 248
249 Theme* m_platformTheme; // The platform-specific theme. 249 Theme* m_platformTheme; // The platform-specific theme.
250 }; 250 };
251 251
252 } // namespace blink 252 } // namespace blink
253 253
254 #endif // LayoutTheme_h 254 #endif // LayoutTheme_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/fullscreenAndroid.css ('k') | third_party/WebKit/Source/core/layout/LayoutThemeMac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698