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

Issue 21187006: linux_aura: Implement the static part of the dbus menu for Unity. (Closed)

Created:
7 years, 4 months ago by Elliot Glaysher
Modified:
7 years, 4 months ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, tfarina, ben+watch_chromium.org
Visibility:
Public.

Description

linux_aura: Implement the static part of the dbus menu for Unity. In GTK, we get a menu in the Unity bar for free as long as we have a GtkMenuBar object in our GtkWindow. linux_aura doesn't use gtk widgets in the interface. So opportunistically dlopen libdbusmenu-glib and manually construct a hidden DbusmenuMenuItem* object tree. This only ports the static parts of the menus; it doesn't port the History menu, which changes based on user actions. BUG=265560 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215769

Patch Set 1 #

Total comments: 9

Patch Set 2 : sadrul comments #

Total comments: 1

Patch Set 3 : Initialize root_item_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1113 lines, -292 lines) Patch
M chrome/browser/ui/views/frame/browser_desktop_root_window_host_x11.h View 3 chunks +16 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_desktop_root_window_host_x11.cc View 1 3 chunks +30 lines, -5 lines 0 comments Download
A chrome/browser/ui/views/frame/global_menu_bar_registrar_x11.h View 1 chunk +54 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/frame/global_menu_bar_registrar_x11.cc View 1 chunk +139 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/frame/global_menu_bar_x11.h View 1 1 chunk +106 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/frame/global_menu_bar_x11.cc View 1 2 1 chunk +420 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
A ui/views/widget/desktop_aura/desktop_root_window_host_observer_x11.h View 1 chunk +29 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_x11.h View 5 chunks +41 lines, -33 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc View 7 chunks +273 lines, -252 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Elliot Glaysher
7 years, 4 months ago (2013-07-31 20:04:09 UTC) #1
sadrul
I am not really familiar with how the unity thingy works. But the overall approach ...
7 years, 4 months ago (2013-08-01 20:57:45 UTC) #2
Elliot Glaysher
In general, I appear to be the first person other than the original Unity team ...
7 years, 4 months ago (2013-08-01 21:27:18 UTC) #3
sadrul
LGTM
7 years, 4 months ago (2013-08-02 02:56:36 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/21187006/30001
7 years, 4 months ago (2013-08-02 17:11:56 UTC) #5
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=18500
7 years, 4 months ago (2013-08-02 17:27:20 UTC) #6
Elliot Glaysher
+sky for owners c/b/u/v/frame/
7 years, 4 months ago (2013-08-02 17:36:29 UTC) #7
Elliot Glaysher
On 2013/08/02 17:36:29, Elliot Glaysher wrote: > +sky for owners c/b/u/v/frame/ pingity ping, sky!
7 years, 4 months ago (2013-08-05 20:11:04 UTC) #8
sky
LGTM https://codereview.chromium.org/21187006/diff/30001/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/21187006/diff/30001/chrome/browser/ui/views/frame/global_menu_bar_x11.cc#newcode232 chrome/browser/ui/views/frame/global_menu_bar_x11.cc:232: EnsureMethodsLoaded(); member initialize root_item_ too.
7 years, 4 months ago (2013-08-05 20:19:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/21187006/43001
7 years, 4 months ago (2013-08-05 20:26:21 UTC) #10
commit-bot: I haz the power
7 years, 4 months ago (2013-08-06 02:48:59 UTC) #11
Message was sent while issue was closed.
Change committed as 215769

Powered by Google App Engine
This is Rietveld 408576698