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

Issue 443073002: Added code to disable 'paste' if nothing is present in clipboard to paste. (Closed)

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

Description

Added code to disable 'paste' if nothing is present in clipboard to paste. On right click in editable node context menu was always having 'paste' option as enabled. Added check that if clipboard is not empty then only show 'paste' option. BUG=396616 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288461

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 1 chunk +7 lines, -3 lines 1 comment Download

Messages

Total messages: 18 (0 generated)
ankit
Raising this CL as per discussion https://codereview.chromium.org/410873005/. @avi @groby PTAL
6 years, 4 months ago (2014-08-06 08:23:42 UTC) #1
Avi (use Gerrit)
Why are you asking me? This is a continuation of https://codereview.chromium.org/410873005/ for technical reasons. Let's ...
6 years, 4 months ago (2014-08-06 14:59:29 UTC) #2
darin (slow to review)
https://codereview.chromium.org/443073002/diff/1/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/443073002/diff/1/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode1376 chrome/browser/renderer_context_menu/render_view_context_menu.cc:1376: ui::Clipboard::GetForCurrentThread()->ReadAvailableTypes( This is potentially an expensive call, right? Should ...
6 years, 4 months ago (2014-08-06 16:31:33 UTC) #3
darin (slow to review)
How important is it to solve this bug? How often do users clear their clipboard?
6 years, 4 months ago (2014-08-06 16:32:25 UTC) #4
ankit
On 2014/08/06 14:59:29, Avi wrote: > Why are you asking me? > > This is ...
6 years, 4 months ago (2014-08-06 16:40:06 UTC) #5
ankit
On 2014/08/06 16:32:25, darin wrote: > How important is it to solve this bug? How ...
6 years, 4 months ago (2014-08-06 16:42:56 UTC) #6
ankit
On 2014/08/06 16:31:33, darin wrote: > https://codereview.chromium.org/443073002/diff/1/chrome/browser/renderer_context_menu/render_view_context_menu.cc > File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): > > https://codereview.chromium.org/443073002/diff/1/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode1376 > ...
6 years, 4 months ago (2014-08-06 16:44:38 UTC) #7
Avi (use Gerrit)
Yes, I'm an owner, but by the time you added me as a reviewer you ...
6 years, 4 months ago (2014-08-06 18:03:36 UTC) #8
groby-ooo-7-16
Avi: You're the only owner on here. Ankit: As I suggested on previous CL, please ...
6 years, 4 months ago (2014-08-06 18:36:03 UTC) #9
Avi (use Gerrit)
On the previous bug incarnation Ankit got a NAK. That at least needs to be ...
6 years, 4 months ago (2014-08-06 18:38:11 UTC) #10
darin (slow to review)
On 2014/08/06 16:31:33, darin wrote: > https://codereview.chromium.org/443073002/diff/1/chrome/browser/renderer_context_menu/render_view_context_menu.cc > File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): > > https://codereview.chromium.org/443073002/diff/1/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode1376 > ...
6 years, 4 months ago (2014-08-06 23:54:48 UTC) #11
ankit
On 2014/08/06 23:54:48, darin wrote: > On 2014/08/06 16:31:33, darin wrote: > > > https://codereview.chromium.org/443073002/diff/1/chrome/browser/renderer_context_menu/render_view_context_menu.cc ...
6 years, 4 months ago (2014-08-07 04:21:10 UTC) #12
ankit
On 2014/08/07 04:21:10, ankit wrote: > On 2014/08/06 23:54:48, darin wrote: > > On 2014/08/06 ...
6 years, 4 months ago (2014-08-08 15:23:36 UTC) #13
darin (slow to review)
lgtm
6 years, 4 months ago (2014-08-08 18:18:13 UTC) #14
Avi (use Gerrit)
I understand abarth's objection now, and that it was for a previous version. This version ...
6 years, 4 months ago (2014-08-08 18:18:32 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ankit2.kumar@samsung.com/443073002/1
6 years, 4 months ago (2014-08-08 18:22:22 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-08 21:51:00 UTC) #17
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 23:03:48 UTC) #18
Message was sent while issue was closed.
Change committed as 288461

Powered by Google App Engine
This is Rietveld 408576698