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

Issue 1091703002: Eliminate faux-RTTI code from BrowserView. (Closed)

Created:
5 years, 8 months ago by Peter Kasting
Modified:
5 years, 8 months ago
Reviewers:
sky
CC:
chromium-reviews, yusukes+watch_chromium.org, tfarina, shuchen+watch_chromium.org, penghuang+watch_chromium.org, nona+watch_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Eliminate faux-RTTI code from BrowserView. Use the existing View::AcceleratorPressed() method to invoke a Textfield's clipboard functions from the browser menu. BUG=319035 TEST=none Committed: https://crrev.com/cd3f08bceeac7819208d8f0f1b7b3a3528f4883b Cr-Commit-Position: refs/heads/master@{#325781}

Patch Set 1 #

Patch Set 2 : Try to fix Mac compile #

Total comments: 1

Patch Set 3 : Alternate accelerator dispatch mechanism #

Patch Set 4 : Revert to patch set 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -84 lines) Patch
M chrome/browser/ui/browser_command_controller.cc View 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/ui/browser_commands.h View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/browser_commands.cc View 1 chunk +8 lines, -13 lines 0 comments Download
M chrome/browser/ui/browser_window.h View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 1 chunk +7 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 3 2 chunks +1 line, -9 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 3 2 chunks +29 lines, -35 lines 0 comments Download
M chrome/test/base/test_browser_window.h View 1 chunk +1 line, -3 lines 0 comments Download
M ui/views/controls/textfield/textfield.h View 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/controls/textfield/textfield.cc View 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Peter Kasting
This implementation seems kind of like what we discussed?
5 years, 8 months ago (2015-04-16 01:02:32 UTC) #2
sky
https://codereview.chromium.org/1091703002/diff/20001/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/1091703002/diff/20001/chrome/browser/ui/views/frame/browser_view.cc#newcode1465 chrome/browser/ui/views/frame/browser_view.cc:1465: // If a WebContents is focused, call its member ...
5 years, 8 months ago (2015-04-16 15:47:25 UTC) #3
Peter Kasting
Thanks Rietveld for eating my first draft... Patch set 3 implements what you suggested in ...
5 years, 8 months ago (2015-04-17 21:43:17 UTC) #4
sky
I like this in that it means the accelerators work outside of a browserview window. ...
5 years, 8 months ago (2015-04-17 21:52:32 UTC) #5
Peter Kasting
On 2015/04/17 21:52:32, sky wrote: > I like this in that it means the accelerators ...
5 years, 8 months ago (2015-04-17 22:16:10 UTC) #6
Peter Kasting
After brief discussion offline, I'm going to revert to patch set 2 and land that.
5 years, 8 months ago (2015-04-18 00:55:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091703002/60001
5 years, 8 months ago (2015-04-18 00:59:35 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-18 13:37:28 UTC) #11
commit-bot: I haz the power
5 years, 8 months ago (2015-04-18 13:39:17 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cd3f08bceeac7819208d8f0f1b7b3a3528f4883b
Cr-Commit-Position: refs/heads/master@{#325781}

Powered by Google App Engine
This is Rietveld 408576698