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

Issue 11819008: Refactors building the system menu model into a common place (Closed)

Created:
7 years, 11 months ago by sky
Modified:
7 years, 11 months ago
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Refactors building the system menu model into a common place (SystemMenuModelBuilder) and makes BrowserFrame implementation use it. BrowserFrame also provides support for showing the system menu via views::MenuRunner. This is used everywhere but BrowserFrameWin and BrowserDesktolpRootWindowHostWin. Both of these use the system menu. BUG=none TEST=make sure system menu (right click above tab strip) works on windows and chromeos. R=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175849

Patch Set 1 #

Patch Set 2 : Better comments #

Patch Set 3 : Merge to trunk and fix windows build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+310 lines, -178 lines) Patch
M chrome/browser/ui/browser.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_desktop_root_window_host.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_desktop_root_window_host_linux.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_desktop_root_window_host_linux.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_desktop_root_window_host_win.h View 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_desktop_root_window_host_win.cc View 4 chunks +25 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame.h View 6 chunks +20 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_frame.cc View 1 2 3 chunks +37 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_aura.h View 4 chunks +2 lines, -15 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_aura.cc View 4 chunks +2 lines, -41 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_win.h View 4 chunks +3 lines, -17 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_win.cc View 1 2 6 chunks +14 lines, -78 lines 0 comments Download
M chrome/browser/ui/views/frame/desktop_browser_frame_aura.h View 3 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/desktop_browser_frame_aura.cc View 3 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/native_browser_frame.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
A chrome/browser/ui/views/frame/system_menu_model_builder.h View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/frame/system_menu_model_builder.cc View 1 2 1 chunk +111 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/system_menu_model_delegate.h View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M ui/views/views.gyp View 1 2 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
sky
7 years, 11 months ago (2013-01-08 21:23:59 UTC) #1
Ben Goodger (Google)
lgtm
7 years, 11 months ago (2013-01-08 21:47:31 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/11819008/2001
7 years, 11 months ago (2013-01-09 04:52:09 UTC) #3
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 11 months ago (2013-01-09 05:13:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/11819008/1023
7 years, 11 months ago (2013-01-09 16:44:54 UTC) #5
commit-bot: I haz the power
7 years, 11 months ago (2013-01-09 19:25:15 UTC) #6
Message was sent while issue was closed.
Change committed as 175849

Powered by Google App Engine
This is Rietveld 408576698