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

Issue 320503004: Refactored the ShortcutLocations.hidden flag on linux (Closed)

Created:
6 years, 6 months ago by tmdiep
Modified:
6 years, 6 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Refactored the ShortcutLocations.hidden flag on linux Linux uses the web_app::ShortcutLocations.hidden flag to create hidden shortcuts. This patch changes this flag into enum value APP_MENU_LOCATION_HIDDEN in order to simplify shortcut creation code. BUG=None TEST=unit_tests (ShellIntegrationTest.*) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276297

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -68 lines) Patch
M chrome/browser/shell_integration_linux.cc View 3 chunks +46 lines, -47 lines 0 comments Download
M chrome/browser/shell_integration_linux_unittest.cc View 5 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/web_applications/web_app.h View 1 3 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/web_applications/web_app.cc View 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/web_applications/web_app_linux.cc View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
tmdiep
I refactored the hidden flag to make the shortcut creation code easier to follow. Please ...
6 years, 6 months ago (2014-06-06 08:34:14 UTC) #1
Matt Giuca
Great idea to simplify the data structure. Nice refactor. LGTM. https://codereview.chromium.org/320503004/diff/1/chrome/browser/web_applications/web_app.h File chrome/browser/web_applications/web_app.h (right): https://codereview.chromium.org/320503004/diff/1/chrome/browser/web_applications/web_app.h#newcode64 ...
6 years, 6 months ago (2014-06-10 01:00:47 UTC) #2
Matt Giuca
+erg for OWNERS on shell_integration_linux.
6 years, 6 months ago (2014-06-10 01:01:19 UTC) #3
benwells
On 2014/06/10 01:01:19, Matt Giuca wrote: > +erg for OWNERS on shell_integration_linux. stamp lgtm
6 years, 6 months ago (2014-06-10 01:32:42 UTC) #4
Elliot Glaysher
lgtm owners stamp
6 years, 6 months ago (2014-06-10 18:04:50 UTC) #5
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 6 months ago (2014-06-10 22:12:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/320503004/20001
6 years, 6 months ago (2014-06-10 22:15:02 UTC) #7
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 07:38:31 UTC) #8
Message was sent while issue was closed.
Change committed as 276297

Powered by Google App Engine
This is Rietveld 408576698