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

Issue 2722693002: [ios] Creates ToolsMenuConstants file (Closed)

Created:
3 years, 9 months ago by sczs
Modified:
3 years, 9 months ago
CC:
chromium-reviews, tfarina, pkl (ping after 24h if needed), noyau+watch_chromium.org, asvitkine+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios] Creates ToolsMenuConstants file Since many tests depend on just these constants, I think is better to create a separate file for these since the Model classes might change again and we don't wan't to keep updating these tests. This CL removes the model code from ToolsMenuVC and fixes a bug in ToolsMenuModel Downstream tests compile and run successfully against these changes. BUG=682880 Review-Url: https://codereview.chromium.org/2722693002 Cr-Commit-Position: refs/heads/master@{#455949} Committed: https://chromium.googlesource.com/chromium/src/+/d4523043de7614ef55438aaa42fadafb905a0e56

Patch Set 1 #

Total comments: 8

Patch Set 2 : Move constants to shared #

Patch Set 3 : Reverts to PatchSet 1 #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -253 lines) Patch
M ios/chrome/browser/metrics/tab_usage_recorder_egtest.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/bookmarks/bookmarks_egtest.mm View 2 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/dialogs/javascript_dialog_egtest.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/find_bar/find_in_page_egtest.mm View 2 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/history/history_ui_egtest.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/keyboard_commands_egtest.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/ntp/recent_tabs/recent_tabs_panel_controller_egtest.mm View 2 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/accounts_collection_egtest.mm View 2 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/autofill_settings_egtest.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/block_popups_egtest.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/clear_browsing_data_egtest.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/settings_egtest.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/translate_ui_egtest.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/stack_view/stack_view_egtest.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/sync/sync_fake_server_egtest.mm View 2 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/tab_switcher/tab_switcher_controller_egtest.mm View 2 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/toolbar/toolbar_egtest.mm View 2 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/tools_menu/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/tools_menu/tools_menu_constants.h View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/tools_menu/tools_menu_constants.mm View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/tools_menu/tools_menu_model.h View 1 2 3 2 chunks +4 lines, -33 lines 0 comments Download
M ios/chrome/browser/ui/tools_menu/tools_menu_model.mm View 1 2 3 3 chunks +31 lines, -7 lines 0 comments Download
M ios/chrome/browser/ui/tools_menu/tools_menu_view_controller.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/ui/tools_menu/tools_menu_view_controller.mm View 1 2 3 11 chunks +15 lines, -193 lines 0 comments Download
M ios/chrome/browser/ui/tools_menu/tools_popup_menu_egtest.mm View 2 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/test/earl_grey/chrome_earl_grey_ui.mm View 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 39 (27 generated)
sczs
PTAL
3 years, 9 months ago (2017-02-27 22:41:06 UTC) #4
edchin
https://codereview.chromium.org/2722693002/diff/1/ios/chrome/browser/metrics/tab_usage_recorder_egtest.mm File ios/chrome/browser/metrics/tab_usage_recorder_egtest.mm (right): https://codereview.chromium.org/2722693002/diff/1/ios/chrome/browser/metrics/tab_usage_recorder_egtest.mm#newcode20 ios/chrome/browser/metrics/tab_usage_recorder_egtest.mm:20: #include "ios/chrome/browser/ui/tools_menu/tools_menu_constants.h" Just out of curiosity, why #include instead ...
3 years, 9 months ago (2017-02-27 23:02:41 UTC) #5
edchin
lgtm % double check the change on ios/chrome/browser/ui/tools_menu/tools_menu_model.mm:96.
3 years, 9 months ago (2017-02-27 23:05:11 UTC) #6
marq (ping after 24h)
lgtm
3 years, 9 months ago (2017-03-02 06:09:48 UTC) #15
sczs
Moved all constants to shared folder, updated the eg tests and their respective BUILD.gn files ...
3 years, 9 months ago (2017-03-02 22:56:11 UTC) #18
sczs
Rohit, Baxley, Could you please take a look, I need your lgtm as owner of ...
3 years, 9 months ago (2017-03-02 23:55:12 UTC) #20
baxley
//ios/chrome/test LGTM
3 years, 9 months ago (2017-03-03 16:51:11 UTC) #21
sczs
Hi Sylvain, Could you please take a look at the changes at DEPS and BUILD.gn ...
3 years, 9 months ago (2017-03-03 22:36:05 UTC) #23
sdefresne
code lgtm I'm personally okay moving those files in ios/shared, but rohitrao is not happy ...
3 years, 9 months ago (2017-03-03 22:51:51 UTC) #24
sczs
On 2017/03/03 22:51:51, sdefresne wrote: > code lgtm > > I'm personally okay moving those ...
3 years, 9 months ago (2017-03-10 00:07:48 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2722693002/100001
3 years, 9 months ago (2017-03-10 01:24:39 UTC) #36
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 01:30:22 UTC) #39
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/d4523043de7614ef55438aaa42fa...

Powered by Google App Engine
This is Rietveld 408576698