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

Issue 132233003: Adding a menu item to take a screenshot under "More Tools" submenu in the Wrench menu. (Closed)

Created:
6 years, 11 months ago by mfomitchev
Modified:
6 years, 11 months ago
Reviewers:
tdanderson, sadrul, sky
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Adding a menu item to take a screenshot under "More Tools" submenu in the Wrench menu. The behavior is equivalent to taking the screenshot via VKEY_PRINT keyboard shortcut. BUG=196658 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244248

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fixing ifdefs #

Total comments: 2

Patch Set 3 : Moving ifdef in browser_commands.cc #

Total comments: 8

Patch Set 4 : Creating browser_commands_chromeos.* and moving TakeScreenshot() there from brow #

Total comments: 4

Patch Set 5 : Nuking some empty lines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -0 lines) Patch
M ash/accelerators/accelerator_controller.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/app/chrome_command_ids.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_command_controller.cc View 1 2 3 3 chunks +9 lines, -0 lines 0 comments Download
A chrome/browser/ui/browser_commands_chromeos.h View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/browser/ui/browser_commands_chromeos.cc View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
mfomitchev
Can you guys please have a quick look? I will add owners later. Thanks!
6 years, 11 months ago (2014-01-09 19:44:38 UTC) #1
tdanderson
Hi Mikhail, please see my comments below. https://codereview.chromium.org/132233003/diff/1/chrome/browser/ui/browser_command_controller.cc File chrome/browser/ui/browser_command_controller.cc (right): https://codereview.chromium.org/132233003/diff/1/chrome/browser/ui/browser_command_controller.cc#newcode689 chrome/browser/ui/browser_command_controller.cc:689: #if defined(OS_CHROMEOS) ...
6 years, 11 months ago (2014-01-09 20:28:39 UTC) #2
mfomitchev
Fixing ifdefs https://codereview.chromium.org/132233003/diff/1/chrome/browser/ui/browser_command_controller.cc File chrome/browser/ui/browser_command_controller.cc (right): https://codereview.chromium.org/132233003/diff/1/chrome/browser/ui/browser_command_controller.cc#newcode689 chrome/browser/ui/browser_command_controller.cc:689: #if defined(OS_CHROMEOS) On 2014/01/09 20:28:40, tdanderson wrote: ...
6 years, 11 months ago (2014-01-09 21:11:45 UTC) #3
tdanderson
LGTM with one nit. I suggest adding sky@ as an OWNERS reviewer when you're ready. ...
6 years, 11 months ago (2014-01-09 21:25:29 UTC) #4
mfomitchev
sky@chromium.org: Please review changes in Can you please take a look? Thanks!
6 years, 11 months ago (2014-01-09 21:27:59 UTC) #5
mfomitchev
Moving ifdef in browser_commands.cc https://codereview.chromium.org/132233003/diff/90001/chrome/browser/ui/browser_commands.cc File chrome/browser/ui/browser_commands.cc (right): https://codereview.chromium.org/132233003/diff/90001/chrome/browser/ui/browser_commands.cc#newcode11 chrome/browser/ui/browser_commands.cc:11: #endif On 2014/01/09 21:25:29, tdanderson ...
6 years, 11 months ago (2014-01-09 21:32:30 UTC) #6
sadrul
The code LG. A couple of comments: https://codereview.chromium.org/132233003/diff/160001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/132233003/diff/160001/chrome/app/generated_resources.grd#newcode1383 chrome/app/generated_resources.grd:1383: + T&ake ...
6 years, 11 months ago (2014-01-09 21:39:32 UTC) #7
mfomitchev
https://codereview.chromium.org/132233003/diff/160001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/132233003/diff/160001/chrome/app/generated_resources.grd#newcode1383 chrome/app/generated_resources.grd:1383: + T&ake screenshot Agreed. I thought about this as ...
6 years, 11 months ago (2014-01-09 22:07:23 UTC) #8
sky
https://codereview.chromium.org/132233003/diff/160001/ash/accelerators/accelerator_controller.h File ash/accelerators/accelerator_controller.h (right): https://codereview.chromium.org/132233003/diff/160001/ash/accelerators/accelerator_controller.h#newcode114 ash/accelerators/accelerator_controller.h:114: ScreenshotDelegate* screenshot_delegate() const { Generally you want const methods ...
6 years, 11 months ago (2014-01-10 00:02:52 UTC) #9
mfomitchev
https://codereview.chromium.org/132233003/diff/160001/ash/accelerators/accelerator_controller.h File ash/accelerators/accelerator_controller.h (right): https://codereview.chromium.org/132233003/diff/160001/ash/accelerators/accelerator_controller.h#newcode114 ash/accelerators/accelerator_controller.h:114: ScreenshotDelegate* screenshot_delegate() const { On 2014/01/10 00:02:52, sky wrote: ...
6 years, 11 months ago (2014-01-10 18:06:50 UTC) #10
sky
LGTM https://codereview.chromium.org/132233003/diff/280001/chrome/browser/ui/browser_commands_chromeos.cc File chrome/browser/ui/browser_commands_chromeos.cc (right): https://codereview.chromium.org/132233003/diff/280001/chrome/browser/ui/browser_commands_chromeos.cc#newcode28 chrome/browser/ui/browser_commands_chromeos.cc:28: Nuke all these empty lines. https://codereview.chromium.org/132233003/diff/280001/chrome/browser/ui/browser_commands_chromeos.h File chrome/browser/ui/browser_commands_chromeos.h ...
6 years, 11 months ago (2014-01-10 19:12:31 UTC) #11
mfomitchev
https://codereview.chromium.org/132233003/diff/280001/chrome/browser/ui/browser_commands_chromeos.cc File chrome/browser/ui/browser_commands_chromeos.cc (right): https://codereview.chromium.org/132233003/diff/280001/chrome/browser/ui/browser_commands_chromeos.cc#newcode28 chrome/browser/ui/browser_commands_chromeos.cc:28: On 2014/01/10 19:12:32, sky wrote: > Nuke all these ...
6 years, 11 months ago (2014-01-10 19:45:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mfomitchev@chromium.org/132233003/410001
6 years, 11 months ago (2014-01-10 19:49:07 UTC) #13
commit-bot: I haz the power
6 years, 11 months ago (2014-01-10 21:42:52 UTC) #14
Message was sent while issue was closed.
Change committed as 244248

Powered by Google App Engine
This is Rietveld 408576698