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

Unified Diff: ui/views/controls/button/vector_icon_button_delegate.cc

Issue 2305933002: Update dialog close buttons to use vector icons and ripples. (Closed)
Patch Set: always good to compile Created 4 years, 3 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 | « ui/views/controls/button/vector_icon_button_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/vector_icon_button_delegate.cc
diff --git a/cc/proto/vector2d.proto b/ui/views/controls/button/vector_icon_button_delegate.cc
similarity index 46%
copy from cc/proto/vector2d.proto
copy to ui/views/controls/button/vector_icon_button_delegate.cc
index 15171844ffc443d28cae7c70e2149ac3989200ab..f2240cc4cd704ab836f2865c265da3fd095cb253 100644
--- a/cc/proto/vector2d.proto
+++ b/ui/views/controls/button/vector_icon_button_delegate.cc
@@ -2,13 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-syntax = "proto2";
+#include "ui/views/controls/button/vector_icon_button_delegate.h"
-option optimize_for = LITE_RUNTIME;
+namespace views {
-package cc.proto;
-
-message Vector2d {
- optional int64 x = 1;
- optional int64 y = 2;
+SkColor VectorIconButtonDelegate::GetVectorIconBaseColor() const {
+ return SK_ColorBLACK;
}
+
+} // namespace views
« no previous file with comments | « ui/views/controls/button/vector_icon_button_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698