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

Issue 11734015: Fix clipboard operations through the wrench menu not working in the find bar or other controls. (Closed)

Created:
7 years, 11 months ago by jam
Modified:
7 years, 11 months ago
CC:
chromium-reviews, tfarina, James Su
Visibility:
Public.

Description

Fix clipboard operations through the wrench menu not working in the find bar or devtools. The previous approach to fix the omnibox was specific to it and that's why it didn't handle other widgets. To fix this, generalize looking for the widget by asking the FocusManager for the focused views::Textfield. I had to add a special case for devtools since the way it worked before is that it gets the synthesized keyboard shortcut and in the renderer it translates it to a clipboard operation. BUG=164235 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175409

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : make work with devtools #

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

Messages

Total messages: 3 (0 generated)
jam
7 years, 11 months ago (2013-01-03 06:50:22 UTC) #1
jam
7 years, 11 months ago (2013-01-03 20:07:54 UTC) #2
Ben Goodger (Google)
7 years, 11 months ago (2013-01-07 21:21:43 UTC) #3
lgtm

Powered by Google App Engine
This is Rietveld 408576698