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

Unified Diff: third_party/WebKit/Source/web/WebRenderTheme.cpp

Issue 2216733002: blink: honor renderer caret_blink_interval in non-default themes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/BUILD.gn ('k') | third_party/WebKit/Source/web/default/WebRenderTheme.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebRenderTheme.cpp
diff --git a/third_party/WebKit/Source/web/default/WebRenderTheme.cpp b/third_party/WebKit/Source/web/WebRenderTheme.cpp
similarity index 91%
rename from third_party/WebKit/Source/web/default/WebRenderTheme.cpp
rename to third_party/WebKit/Source/web/WebRenderTheme.cpp
index f78423797108fb1de4c20942097588091a8477f5..b3d0710e2e9ef5c1a5c8c25a2ee57b9d2deb499c 100644
--- a/third_party/WebKit/Source/web/default/WebRenderTheme.cpp
+++ b/third_party/WebKit/Source/web/WebRenderTheme.cpp
@@ -28,7 +28,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "public/web/default/WebRenderTheme.h"
+#include "public/web/WebRenderTheme.h"
#include "core/layout/LayoutTheme.h"
#include "core/layout/LayoutThemeDefault.h"
@@ -37,11 +37,9 @@
namespace blink {
-// TODO(esprehn): Make sense of LayoutThemeDefault and LayoutTheme::theme().
-
void setCaretBlinkInterval(double interval)
{
- LayoutThemeDefault::setCaretBlinkInterval(interval);
+ LayoutTheme::theme().setCaretBlinkInterval(interval);
}
void setFocusRingColor(WebColor color)
« no previous file with comments | « third_party/WebKit/Source/web/BUILD.gn ('k') | third_party/WebKit/Source/web/default/WebRenderTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698