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

Issue 22562005: linux_aura: Implement the dynamic History menu in the dbusmenu. (Closed)

Created:
7 years, 4 months ago by Elliot Glaysher
Modified:
7 years, 4 months ago
Reviewers:
James Cook, sadrul
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

linux_aura: Implement the dynamic History menu in the dbusmenu. This merges and reimplements what was the GlobalHistoryMenu class from the GTK+ port into linux_aura's GlobalMenuBarX11 class. BUG=265560 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216868

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 5

Patch Set 3 : fixes for jamescook #

Patch Set 4 : Reupload #

Patch Set 5 : Reupload part 2 #

Total comments: 14

Patch Set 6 : Redo how HistoryItems are stored. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+499 lines, -75 lines) Patch
M chrome/browser/ui/views/frame/global_menu_bar_x11.h View 1 2 3 4 5 5 chunks +75 lines, -13 lines 0 comments Download
M chrome/browser/ui/views/frame/global_menu_bar_x11.cc View 1 2 3 4 5 17 chunks +424 lines, -62 lines 3 comments Download

Messages

Total messages: 15 (0 generated)
Elliot Glaysher
sadrul: more of the same review jamescook: owners stamp
7 years, 4 months ago (2013-08-07 20:41:51 UTC) #1
James Cook
Is this code being ported/converted from somewhere else, or is it all new?
7 years, 4 months ago (2013-08-07 21:25:36 UTC) #2
Elliot Glaysher
On 2013/08/07 21:25:36, James Cook wrote: > Is this code being ported/converted from somewhere else, ...
7 years, 4 months ago (2013-08-07 21:28:08 UTC) #3
Elliot Glaysher
On 2013/08/07 21:28:08, Elliot Glaysher wrote: > On 2013/08/07 21:25:36, James Cook wrote: > > ...
7 years, 4 months ago (2013-08-08 17:45:52 UTC) #4
James Cook
A few small comments/questions https://codereview.chromium.org/22562005/diff/3001/chrome/browser/ui/views/frame/global_menu_bar_x11.cc File chrome/browser/ui/views/frame/global_menu_bar_x11.cc (right): https://codereview.chromium.org/22562005/diff/3001/chrome/browser/ui/views/frame/global_menu_bar_x11.cc#newcode483 chrome/browser/ui/views/frame/global_menu_bar_x11.cc:483: if (command_id == MENU_DISABLED_LABEL) { ...
7 years, 4 months ago (2013-08-08 18:42:16 UTC) #5
Elliot Glaysher
ptal https://codereview.chromium.org/22562005/diff/3001/chrome/browser/ui/views/frame/global_menu_bar_x11.cc File chrome/browser/ui/views/frame/global_menu_bar_x11.cc (right): https://codereview.chromium.org/22562005/diff/3001/chrome/browser/ui/views/frame/global_menu_bar_x11.cc#newcode636 chrome/browser/ui/views/frame/global_menu_bar_x11.cc:636: menuitem_foreach( On 2013/08/08 18:42:16, James Cook wrote: > ...
7 years, 4 months ago (2013-08-08 21:13:08 UTC) #6
James Cook
LGTM but please let Sadrul make a pass
7 years, 4 months ago (2013-08-08 22:22:08 UTC) #7
sadrul
https://codereview.chromium.org/22562005/diff/63002/chrome/browser/ui/views/frame/global_menu_bar_x11.cc File chrome/browser/ui/views/frame/global_menu_bar_x11.cc (right): https://codereview.chromium.org/22562005/diff/63002/chrome/browser/ui/views/frame/global_menu_bar_x11.cc#newcode276 chrome/browser/ui/views/frame/global_menu_bar_x11.cc:276: class GlobalMenuBarX11::HistoryItem { This should probably be struct? https://codereview.chromium.org/22562005/diff/63002/chrome/browser/ui/views/frame/global_menu_bar_x11.cc#newcode515 ...
7 years, 4 months ago (2013-08-09 06:38:53 UTC) #8
Elliot Glaysher
So I've redone a lot of stuff about memory. - HistoryItems are now stored on ...
7 years, 4 months ago (2013-08-09 20:19:25 UTC) #9
sadrul
LGTM https://codereview.chromium.org/22562005/diff/63002/chrome/browser/ui/views/frame/global_menu_bar_x11.h File chrome/browser/ui/views/frame/global_menu_bar_x11.h (right): https://codereview.chromium.org/22562005/diff/63002/chrome/browser/ui/views/frame/global_menu_bar_x11.h#newcode118 chrome/browser/ui/views/frame/global_menu_bar_x11.h:118: int GetIndexOfMenuItemWithTag(DbusmenuMenuitem* menu, int tag_id); On 2013/08/09 20:19:25, ...
7 years, 4 months ago (2013-08-09 20:31:33 UTC) #10
Elliot Glaysher
https://codereview.chromium.org/22562005/diff/28003/chrome/browser/ui/views/frame/global_menu_bar_x11.cc File chrome/browser/ui/views/frame/global_menu_bar_x11.cc (right): https://codereview.chromium.org/22562005/diff/28003/chrome/browser/ui/views/frame/global_menu_bar_x11.cc#newcode532 chrome/browser/ui/views/frame/global_menu_bar_x11.cc:532: DeleteHistoryItem); On 2013/08/09 20:31:34, sadrul wrote: > Is it ...
7 years, 4 months ago (2013-08-09 20:45:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/22562005/28003
7 years, 4 months ago (2013-08-09 20:47:55 UTC) #12
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 4 months ago (2013-08-09 23:38:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/22562005/28003
7 years, 4 months ago (2013-08-09 23:43:40 UTC) #14
commit-bot: I haz the power
7 years, 4 months ago (2013-08-10 15:21:13 UTC) #15
Message was sent while issue was closed.
Change committed as 216868

Powered by Google App Engine
This is Rietveld 408576698