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

Issue 2035033003: Split RenderViewContextMenu code into functions (Closed)

Created:
4 years, 6 months ago by brettw
Modified:
4 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split RenderViewContextMenu code into functions This should be a behavior no-op. The nontrivial "is enabled" and "execute" commands are now split into helper functions using a consistent style. This helps make the multi-hundred-line-long switch statements more manageable. Committed: https://crrev.com/49542531ab22beff15960f60d6b8c9398234d4ce Cr-Commit-Position: refs/heads/master@{#398094}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+537 lines, -430 lines) Patch
M chrome/browser/renderer_context_menu/render_view_context_menu.h View 1 2 chunks +38 lines, -15 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 1 2 19 chunks +499 lines, -415 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2035033003/1
4 years, 6 months ago (2016-06-03 23:07:10 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-04 00:43:58 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2035033003/40001
4 years, 6 months ago (2016-06-06 17:59:35 UTC) #6
brettw
Low priority. I had to change this code for an OOPIF patch and I was ...
4 years, 6 months ago (2016-06-06 18:00:11 UTC) #8
please use gerrit instead
lgtm this huge mostly mechanical patch. +1 the file is more readable now.
4 years, 6 months ago (2016-06-06 18:18:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2035033003/40001
4 years, 6 months ago (2016-06-06 19:06:02 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-06 19:38:46 UTC) #15
commit-bot: I haz the power
4 years, 6 months ago (2016-06-06 19:41:49 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/49542531ab22beff15960f60d6b8c9398234d4ce
Cr-Commit-Position: refs/heads/master@{#398094}

Powered by Google App Engine
This is Rietveld 408576698