Repository navigation
refactor: don't use AppIndicatorIcon directly - #15536
Merged
Merged
Conversation
deepak1556
requested changes
Nov 2, 2018
deepak1556
left a comment
Member
There was a problem hiding this comment.
Not sure but can you confirm if the kAppIndicatorIdPrefix used for the indicator starting with this PR collide with chrome ? Probably a way to customize the id in upstream would be better.
| icon_.reset(new libgtkui::Gtk2StatusIcon(image.AsImageSkia(), toolTip)); | ||
| } | ||
| icon_.reset( | ||
| LinuxUI::instance()->CreateLinuxStatusIcon(image.AsImageSkia(), toolTip)); |
Contributor
Author
|
ah, yes, you're right, i think those will collide. I'll look into making it customizable upstream. |
Contributor
Author
|
Merged a change to make this customizable upstream https://chromium-review.googlesource.com/c/chromium/src/+/1315840, will backport and build on top of that. |
Contributor
Author
|
Merging even though MAS failure because a) it's flake and b) this PR doesn't touch any mac code. |
|
No Release Notes |
3 tasks done
1 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
This code is identical to what Chromium has: https://chromium.googlesource.com/chromium/src/+/69.0.3497.128/chrome/browser/ui/libgtkui/gtk_ui.cc#646
and it gets us closer to removing/upstreaming the libgtkui_export patch :)
I'm not totally sure why this was done the way it was previously, though I do see #6145 which changed it to the way it is now.
Checklist
Release Notes
Notes: no-notes