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

Issue 500030: Factor tab context menu into a shared model and fix mac and win to use it. Im... (Closed)

Created:
11 years ago by pink (ping after 24hrs)
Modified:
9 years, 7 months ago
Reviewers:
viettrungluu
CC:
chromium-reviews_googlegroups.com, John Grabowski, Paweł Hajdan Jr., pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Factor tab context menu into a shared model and fix mac and win to use it. Improve a couple of model unit tests. Remove unused members in the models. BUG=28977 TEST=context menus on tabs should work and enable/disable properly Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34718

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+300 lines, -1161 lines) Patch
M chrome/app/nibs/TabView.xib View 1 22 chunks +32 lines, -1088 lines 0 comments Download
M chrome/browser/app_menu_model.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/app_menu_model_unittest.cc View 1 2 chunks +26 lines, -10 lines 0 comments Download
M chrome/browser/cocoa/menu_controller.mm View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/cocoa/tab_controller.h View 1 5 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/cocoa/tab_controller.mm View 1 5 chunks +61 lines, -28 lines 0 comments Download
M chrome/browser/cocoa/tab_controller_unittest.mm View 1 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/tab_view.mm View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/tab_view_unittest.mm View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/page_menu_model.h View 1 1 chunk +3 lines, -4 lines 0 comments Download
A chrome/browser/tab_menu_model.h View 1 chunk +25 lines, -0 lines 0 comments Download
A chrome/browser/tab_menu_model.cc View 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/tab_menu_model_unittest.cc View 1 chunk +68 lines, -0 lines 6 comments Download
M chrome/browser/views/tabs/tab.cc View 1 3 chunks +5 lines, -24 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
pink (ping after 24hrs)
Trybots are being flaky, I'm still working through them, though everything compiles.
11 years ago (2009-12-15 22:36:52 UTC) #1
viettrungluu
LGTM on the code itself. Could we come up with a common framework for testing ...
11 years ago (2009-12-15 23:18:45 UTC) #2
pink (ping after 24hrs)
http://codereview.chromium.org/500030/diff/4001/4007 File chrome/browser/tab_menu_model_unittest.cc (right): http://codereview.chromium.org/500030/diff/4001/4007#newcode9 chrome/browser/tab_menu_model_unittest.cc:9: #include "testing/gtest/include/gtest/gtest.h" On 2009/12/15 23:18:45, viettrungluu wrote: > g ...
11 years ago (2009-12-16 14:52:49 UTC) #3
viettrungluu
11 years ago (2009-12-16 15:01:38 UTC) #4
Fair enough. LGTM.

Powered by Google App Engine
This is Rietveld 408576698