blob: aced56ee6c28d8a8a42938af6517d744e9b3a657 [file] [log] [blame]
Taylor Bergquist7fe0c802019-01-09 03:47:201// Copyright 2018 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/ui/tabs/tab_group_data.h"
Taylor Bergquist7fe0c802019-01-09 03:47:206#include "base/strings/utf_string_conversions.h"
7#include "third_party/skia/include/utils/SkRandom.h"
8
9TabGroupData::TabGroupData() {
Keishi Hattoria83158252019-04-19 05:07:4010 static int groupCount = 0;
11 title_ = base::ASCIIToUTF16("Group " + std::to_string(groupCount));
12 groupCount++;
Taylor Bergquist7fe0c802019-01-09 03:47:2013 static SkRandom rand;
14 stroke_color_ = rand.nextU() | 0xff000000;
15}