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

Issue 2587293002: DevTools: teach TabbedPane.setTabIcon to accept UI.Icon instances (Closed)

Created:
4 years ago by lushnikov
Modified:
4 years ago
Reviewers:
dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: teach TabbedPane.setTabIcon to accept UI.Icon instances This patch is a preparation for a "badged icons" instead of green checkmarks in the "persistence2" experiment. Currently, TabbedPane.setTabIcon method accepts icon type and icon titles. This works fine, but we'd like to pass in a more complex objects - badged icons. For this to work, the TabbedPane.setTabIcon has to accept general instances of UI.Icon class. BUG=675856 R=dgozman Committed: https://crrev.com/911cf4b74f6dbce780c83e31b51358bb2c849416 Cr-Commit-Position: refs/heads/master@{#439828}

Patch Set 1 #

Total comments: 3

Patch Set 2 : formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -67 lines) Patch
M third_party/WebKit/Source/devtools/front_end/main/Main.js View 1 2 chunks +15 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js View 1 chunk +6 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js View 1 5 chunks +21 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js View 1 1 chunk +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js View 5 chunks +26 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/tabbedPane.css View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (7 generated)
lushnikov
please, take a look https://codereview.chromium.org/2587293002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/tabbedPane.css File third_party/WebKit/Source/devtools/front_end/ui/tabbedPane.css (right): https://codereview.chromium.org/2587293002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/tabbedPane.css#newcode76 third_party/WebKit/Source/devtools/front_end/ui/tabbedPane.css:76: margin-right: 6px; 6px = 2px ...
4 years ago (2016-12-20 05:36:05 UTC) #1
dgozman
lgtm https://codereview.chromium.org/2587293002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js File third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js (right): https://codereview.chromium.org/2587293002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js#newcode175 third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js:175: setPanelIcon(panelName, iconType, iconTooltip) { Let's change this one ...
4 years ago (2016-12-20 05:42:04 UTC) #2
lushnikov
https://codereview.chromium.org/2587293002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js File third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js (right): https://codereview.chromium.org/2587293002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js#newcode175 third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js:175: setPanelIcon(panelName, iconType, iconTooltip) { On 2016/12/20 05:42:04, dgozman wrote: ...
4 years ago (2016-12-20 06:52:10 UTC) #3
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/2587293002/20001
4 years ago (2016-12-20 06:52:35 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/202340)
4 years ago (2016-12-20 07:50:38 UTC) #8
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/2587293002/20001
4 years ago (2016-12-20 15:45:38 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-20 16:58:27 UTC) #13
commit-bot: I haz the power
4 years ago (2016-12-20 17:01:32 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/911cf4b74f6dbce780c83e31b51358bb2c849416
Cr-Commit-Position: refs/heads/master@{#439828}

Powered by Google App Engine
This is Rietveld 408576698