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

Issue 2140343002: Add palette tool/manager. (Closed)

Created:
4 years, 5 months ago by jdufault
Modified:
4 years, 4 months ago
Reviewers:
oshima, Evan Stade
CC:
chromium-reviews, kalyank, sadrul, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@stylus-add-icons
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add palette tool/manager. Design doc: go/caebn This does not contain any tool implementations. There are stub tool implementations in https://codereview.chromium.org/2147783002/. This is used in the palette tray in https://codereview.chromium.org/2148573002/. BUG=625251 Committed: https://crrev.com/c909f8be1a6cfc6d8d55a67fe46d3ad4e2f4e383 Cr-Commit-Position: refs/heads/master@{#407553}

Patch Set 1 #

Patch Set 2 : Add palette tool/manager #

Total comments: 6

Patch Set 3 : Address comments #

Total comments: 36

Patch Set 4 : Comments #

Total comments: 14

Patch Set 5 : Rebase #

Patch Set 6 : Address comments #

Patch Set 7 : Rework structure a bit #

Patch Set 8 : Nit #

Total comments: 2

Patch Set 9 : Nit #

Patch Set 10 : Remove base::Optional, use VECTOR_ICON_NONE instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+587 lines, -0 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download
A ash/common/system/chromeos/palette/palette_ids.h View 1 2 3 4 5 6 1 chunk +35 lines, -0 lines 0 comments Download
A ash/common/system/chromeos/palette/palette_ids.cc View 1 2 3 4 5 6 1 chunk +42 lines, -0 lines 0 comments Download
A ash/common/system/chromeos/palette/palette_tool.h View 1 2 3 4 5 6 7 8 9 1 chunk +106 lines, -0 lines 0 comments Download
A ash/common/system/chromeos/palette/palette_tool.cc View 1 2 3 4 5 6 7 8 9 1 chunk +31 lines, -0 lines 0 comments Download
A ash/common/system/chromeos/palette/palette_tool_manager.h View 1 2 3 4 5 6 7 8 9 1 chunk +109 lines, -0 lines 0 comments Download
A ash/common/system/chromeos/palette/palette_tool_manager.cc View 1 2 3 4 5 6 7 8 9 1 chunk +123 lines, -0 lines 0 comments Download
A ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +134 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 47 (28 generated)
Evan Stade
It would be helpful if you would consolidate these CLs a bit. It's hard to ...
4 years, 5 months ago (2016-07-13 18:31:12 UTC) #5
Evan Stade
https://codereview.chromium.org/2140343002/diff/20001/ash/common/system/chromeos/palette/palette_tool.h File ash/common/system/chromeos/palette/palette_tool.h (right): https://codereview.chromium.org/2140343002/diff/20001/ash/common/system/chromeos/palette/palette_tool.h#newcode28 ash/common/system/chromeos/palette/palette_tool.h:28: class ASH_EXPORT PaletteTool { class needs docs https://codereview.chromium.org/2140343002/diff/20001/ash/common/system/chromeos/palette/palette_tool.h#newcode58 ash/common/system/chromeos/palette/palette_tool.h:58: ...
4 years, 5 months ago (2016-07-13 18:34:02 UTC) #6
jdufault
https://codereview.chromium.org/2140343002/diff/20001/ash/common/system/chromeos/palette/palette_ids.h File ash/common/system/chromeos/palette/palette_ids.h (right): https://codereview.chromium.org/2140343002/diff/20001/ash/common/system/chromeos/palette/palette_ids.h#newcode26 ash/common/system/chromeos/palette/palette_ids.h:26: ASH_EXPORT std::string PaletteToolIdToString(PaletteToolId tool_id); On 2016/07/13 18:31:12, Evan Stade ...
4 years, 5 months ago (2016-07-13 19:22:39 UTC) #7
jdufault
oshima@ - PTAL. Thanks!
4 years, 5 months ago (2016-07-13 19:23:03 UTC) #9
oshima
https://codereview.chromium.org/2140343002/diff/40001/ash/common/system/chromeos/palette/palette_ids.cc File ash/common/system/chromeos/palette/palette_ids.cc (right): https://codereview.chromium.org/2140343002/diff/40001/ash/common/system/chromeos/palette/palette_ids.cc#newcode27 ash/common/system/chromeos/palette/palette_ids.cc:27: return ""; std::string() https://codereview.chromium.org/2140343002/diff/40001/ash/common/system/chromeos/palette/palette_ids.cc#newcode39 ash/common/system/chromeos/palette/palette_ids.cc:39: return ""; ditto https://codereview.chromium.org/2140343002/diff/40001/ash/common/system/chromeos/palette/palette_ids.h ...
4 years, 5 months ago (2016-07-14 13:58:32 UTC) #10
jdufault
https://codereview.chromium.org/2140343002/diff/40001/ash/common/system/chromeos/palette/palette_ids.cc File ash/common/system/chromeos/palette/palette_ids.cc (right): https://codereview.chromium.org/2140343002/diff/40001/ash/common/system/chromeos/palette/palette_ids.cc#newcode27 ash/common/system/chromeos/palette/palette_ids.cc:27: return ""; On 2016/07/14 13:58:31, oshima wrote: > std::string() ...
4 years, 5 months ago (2016-07-18 20:39:58 UTC) #12
jdufault
FYI, build failures are caused because a rebase is needed.
4 years, 5 months ago (2016-07-18 20:46:19 UTC) #16
oshima
https://codereview.chromium.org/2140343002/diff/60001/ash/common/system/chromeos/palette/palette_tool.h File ash/common/system/chromeos/palette/palette_tool.h (right): https://codereview.chromium.org/2140343002/diff/60001/ash/common/system/chromeos/palette/palette_tool.h#newcode51 ash/common/system/chromeos/palette/palette_tool.h:51: virtual PaletteGroup group() const = 0; nit: GetGroup() https://codereview.chromium.org/2140343002/diff/60001/ash/common/system/chromeos/palette/palette_tool.h#newcode55 ...
4 years, 5 months ago (2016-07-19 00:08:53 UTC) #17
jdufault
https://codereview.chromium.org/2140343002/diff/60001/ash/common/system/chromeos/palette/palette_tool.h File ash/common/system/chromeos/palette/palette_tool.h (right): https://codereview.chromium.org/2140343002/diff/60001/ash/common/system/chromeos/palette/palette_tool.h#newcode51 ash/common/system/chromeos/palette/palette_tool.h:51: virtual PaletteGroup group() const = 0; On 2016/07/19 00:08:53, ...
4 years, 5 months ago (2016-07-19 18:06:21 UTC) #19
jdufault
Oshima, ping / PTAL. I've also changed a bit of the code around to use ...
4 years, 5 months ago (2016-07-21 23:39:21 UTC) #23
oshima
https://codereview.chromium.org/2140343002/diff/60001/ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc File ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc (right): https://codereview.chromium.org/2140343002/diff/60001/ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc#newcode66 ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc:66: tools_.push_back(tool); On 2016/07/19 18:06:21, jdufault wrote: > On 2016/07/19 ...
4 years, 5 months ago (2016-07-22 19:27:51 UTC) #28
jdufault
https://codereview.chromium.org/2140343002/diff/60001/ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc File ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc (right): https://codereview.chromium.org/2140343002/diff/60001/ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc#newcode66 ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc:66: tools_.push_back(tool); On 2016/07/22 19:27:51, oshima wrote: > On 2016/07/19 ...
4 years, 5 months ago (2016-07-22 19:53:36 UTC) #29
oshima
lgtm https://codereview.chromium.org/2140343002/diff/140001/ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc File ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc (right): https://codereview.chromium.org/2140343002/diff/140001/ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc#newcode69 ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc:69: auto tool = new TestTool(this, group, tool_id); auto* ...
4 years, 5 months ago (2016-07-22 20:43:16 UTC) #32
jdufault
https://codereview.chromium.org/2140343002/diff/140001/ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc File ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc (right): https://codereview.chromium.org/2140343002/diff/140001/ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc#newcode69 ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc:69: auto tool = new TestTool(this, group, tool_id); On 2016/07/22 ...
4 years, 5 months ago (2016-07-22 22:30:06 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2140343002/160001
4 years, 5 months ago (2016-07-22 22:30:37 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/172137)
4 years, 5 months ago (2016-07-22 22:53:24 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2140343002/180001
4 years, 4 months ago (2016-07-25 19:18:18 UTC) #43
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 4 months ago (2016-07-25 19:58:50 UTC) #45
commit-bot: I haz the power
4 years, 4 months ago (2016-07-25 20:01:49 UTC) #47
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/c909f8be1a6cfc6d8d55a67fe46d3ad4e2f4e383
Cr-Commit-Position: refs/heads/master@{#407553}

Powered by Google App Engine
This is Rietveld 408576698