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

Issue 3675002: Add network_menu_ui.cc and network_menu.js (Closed)

Created:
10 years, 2 months ago by stevenjb
Modified:
9 years, 7 months ago
Reviewers:
dhg, oshima, xiyuan
CC:
chromium-reviews, arv (Not doing code reviews), davemoore+watch_chromium.org, ben+cc_chromium.org, Charlie Lee
Visibility:
Public.

Description

Add network_menu_ui.cc and network_menu.js Implement the network menu as a subclass of MenuUI (c++) and Menu (js). BUG=chromium-os:7343 TEST=Test that the network menu is still functional. NOTE: With this CL, the menu won't look pretty, and it still has the old behavior. There will be a followup CL that will fix the UI. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=62266

Patch Set 1 #

Patch Set 2 : Use proper localized messages. #

Total comments: 28

Patch Set 3 : Moved HandleAction to network_menu_ui.cc + small changes #

Patch Set 4 : . #

Patch Set 5 : . #

Total comments: 3

Patch Set 6 : Minor menu change. #

Patch Set 7 : Merge with trunk #

Patch Set 8 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+419 lines, -20 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/cros/network_library.h View 1 2 3 4 5 2 chunks +1 line, -2 lines 0 comments Download
A chrome/browser/chromeos/dom_ui/network_menu_ui.h View 1 2 3 4 5 6 1 chunk +49 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/dom_ui/network_menu_ui.cc View 1 2 3 4 5 6 1 chunk +125 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/status/network_menu.h View 1 2 3 4 4 chunks +26 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/status/network_menu.cc View 1 2 3 4 6 chunks +110 lines, -15 lines 0 comments Download
M chrome/browser/dom_ui/dom_ui_factory.cc View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
A chrome/browser/resources/network_menu.js View 1 2 3 4 5 1 chunk +99 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/url_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
stevenjb
Menu doesn't look pretty yet, but the info is there. The hook for HandleAction() is ...
10 years, 2 months ago (2010-10-11 19:06:08 UTC) #1
stevenjb
Update with localized messages.
10 years, 2 months ago (2010-10-11 22:54:14 UTC) #2
xiyuan
http://codereview.chromium.org/3675002/diff/3001/4001 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/3675002/diff/3001/4001#newcode9852 chrome/app/generated_resources.grd:9852: Connected nit: remove the "tab" char. http://codereview.chromium.org/3675002/diff/3001/4006 File chrome/browser/chromeos/dom_ui/network_menu_ui.cc ...
10 years, 2 months ago (2010-10-11 23:19:26 UTC) #3
oshima
http://codereview.chromium.org/3675002/diff/3001/4004 File chrome/browser/chromeos/dom_ui/menu_ui.cc (right): http://codereview.chromium.org/3675002/diff/3001/4004#newcode422 chrome/browser/chromeos/dom_ui/menu_ui.cc:422: &MenuHandler::HandleAction)); please move subclass specific JS action to subclass. ...
10 years, 2 months ago (2010-10-12 00:14:37 UTC) #4
stevenjb
http://codereview.chromium.org/3675002/diff/3001/4001 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/3675002/diff/3001/4001#newcode9852 chrome/app/generated_resources.grd:9852: Connected On 2010/10/11 23:19:27, xiyuan wrote: > nit: remove ...
10 years, 2 months ago (2010-10-12 02:45:57 UTC) #5
oshima
lgtm c++ side. http://codereview.chromium.org/3675002/diff/38001/39004 File chrome/browser/chromeos/dom_ui/network_menu_ui.cc (right): http://codereview.chromium.org/3675002/diff/38001/39004#newcode60 chrome/browser/chromeos/dom_ui/network_menu_ui.cc:60: } // namespace 2 space between ...
10 years, 2 months ago (2010-10-12 03:37:48 UTC) #6
xiyuan
10 years, 2 months ago (2010-10-12 16:28:53 UTC) #7
LGTM

I'll touch up the html/js part once this change gets in.

Powered by Google App Engine
This is Rietveld 408576698