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

Issue 1833133002: Disallow paste in readonly omnibox (Closed)

Created:
4 years, 9 months ago by elawrence
Modified:
3 years, 10 months ago
Reviewers:
Tom Anderson
CC:
chromium-reviews, tfarina, James Su, Dirk Pranke, Tom Anderson
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disallow paste in readonly omnibox Paste should not be permitted when the Omnibox is readonly, e.g. because the window was opened via window.open with a location=0 option set. BUG=597382 TEST=window.open with location=0, attempt paste in omnibox

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use specialized IsCommandIdEnabled #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
elawrence
Howdy, Peter-- Adding you as reviewer per the OWNERS file.
4 years, 9 months ago (2016-03-25 16:49:31 UTC) #3
Peter Kasting
Ideally this should have a test -- we should create a read-only location bar and ...
4 years, 9 months ago (2016-03-25 21:28:37 UTC) #4
elawrence
> https://codereview.chromium.org/1833133002/diff/1/chrome/browser/ui/views/omnibox/omnibox_view_views.cc > File chrome/browser/ui/views/omnibox/omnibox_view_views.cc (right): > > https://codereview.chromium.org/1833133002/diff/1/chrome/browser/ui/views/omnibox/omnibox_view_views.cc#newcode373 > chrome/browser/ui/views/omnibox/omnibox_view_views.cc:373: if > (Textfield::IsCommandIdEnabled(command_id)) { ...
4 years, 8 months ago (2016-03-28 19:42:20 UTC) #5
Peter Kasting
On 2016/03/28 19:42:20, elawrence wrote: > > > https://codereview.chromium.org/1833133002/diff/1/chrome/browser/ui/views/omnibox/omnibox_view_views.cc > > File chrome/browser/ui/views/omnibox/omnibox_view_views.cc (right): > ...
4 years, 8 months ago (2016-03-29 01:35:12 UTC) #6
Peter Kasting
On 2016/03/29 01:35:12, Peter Kasting wrote: > On 2016/03/28 19:42:20, elawrence wrote: > > Unfortunately, ...
4 years, 7 months ago (2016-04-29 02:24:37 UTC) #8
Dirk Pranke
+thomasanderson - do you want to take a look at this?
4 years, 7 months ago (2016-04-29 02:27:16 UTC) #10
Tom (Use chromium acct)
On 2016/04/29 02:27:16, Dirk Pranke wrote: > +thomasanderson - do you want to take a ...
4 years, 7 months ago (2016-04-29 04:52:45 UTC) #11
Peter Kasting
4 years, 4 months ago (2016-08-20 02:36:41 UTC) #14
(Changed reviewer to thomasanderson to match previous comment)

Powered by Google App Engine
This is Rietveld 408576698