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

Issue 3387008: linux: Add support for undo in the omnibox. (Closed)

Created:
10 years, 3 months ago by sadrul
Modified:
6 years, 4 months ago
CC:
chromium-reviews, ben+cc_chromium.org
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

linux: Add support for undo in the omnibox. GtkTextView does not support undo. So borrow the relevant code from GtkSourceView. Fixes issue #18210. BUG=18210 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60744

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved LGPL code into third_party module. #

Total comments: 10

Patch Set 3 : Fixed some whitespace issues in third_party/undoview #

Total comments: 2

Patch Set 4 : Addressed Evan's comments on patchsets 2 and 3. #

Total comments: 7

Patch Set 5 : Removed entry from all.gyp, and added comments to note generation of boilerplate code. #

Patch Set 6 : Entry in DEPS to pass checkdeps. #

Patch Set 7 : Corrected entry in DEPS. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1504 lines, -1 line) Patch
M DEPS View 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A third_party/undoview/LICENSE View 1 chunk +165 lines, -0 lines 0 comments Download
A third_party/undoview/README.chromium View 2 3 1 chunk +9 lines, -0 lines 0 comments Download
A third_party/undoview/undo_manager.h View 1 chunk +86 lines, -0 lines 0 comments Download
A third_party/undoview/undo_manager.c View 2 3 4 1 chunk +1084 lines, -0 lines 0 comments Download
A third_party/undoview/undo_view.h View 2 3 4 1 chunk +51 lines, -0 lines 0 comments Download
A third_party/undoview/undo_view.c View 2 3 4 1 chunk +83 lines, -0 lines 0 comments Download
A third_party/undoview/undoview.gyp View 2 3 4 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Evan Martin
I'm not sure we can use LGPL code in Chrome like this. Maybe it'd be ...
10 years, 3 months ago (2010-09-17 19:17:24 UTC) #1
sadrul
> I'm not sure we can use LGPL code in Chrome like this. > > ...
10 years, 3 months ago (2010-09-21 21:04:26 UTC) #2
sadrul
http://codereview.chromium.org/3387008/diff/1/2 File chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc (right): http://codereview.chromium.org/3387008/diff/1/2#newcode6 chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc:6: #include "chrome/browser/autocomplete/undo_view.h" On 2010/09/17 19:17:24, Evan Martin wrote: > ...
10 years, 3 months ago (2010-09-21 21:08:11 UTC) #3
Evan Martin
Can you make the readme mention more about why this module exists? e.g. say "copied ...
10 years, 3 months ago (2010-09-21 21:14:26 UTC) #4
tfarina
http://codereview.chromium.org/3387008/diff/17001/18005 File third_party/undoview/README.chromium (right): http://codereview.chromium.org/3387008/diff/17001/18005#newcode1 third_party/undoview/README.chromium:1: Name: undo_view nit: undoview? http://codereview.chromium.org/3387008/diff/17001/18005#newcode4 third_party/undoview/README.chromium:4: This cotains GtkUndoView, ...
10 years, 3 months ago (2010-09-21 21:30:31 UTC) #5
sadrul
http://codereview.chromium.org/3387008/diff/5001/6001 File build/all.gyp (right): http://codereview.chromium.org/3387008/diff/5001/6001#newcode92 build/all.gyp:92: '../third_party/undoview/undoview.gyp:*', On 2010/09/21 21:14:26, Evan Martin wrote: > why ...
10 years, 3 months ago (2010-09-21 21:45:55 UTC) #6
Evan Martin
LGTM, feel free to submit after fixing these minor comments http://codereview.chromium.org/3387008/diff/22001/23001 File build/all.gyp (right): http://codereview.chromium.org/3387008/diff/22001/23001#newcode92 ...
10 years, 3 months ago (2010-09-21 21:57:46 UTC) #7
sadrul
http://codereview.chromium.org/3387008/diff/22001/23001 File build/all.gyp (right): http://codereview.chromium.org/3387008/diff/22001/23001#newcode92 build/all.gyp:92: '../third_party/undoview/undoview.gyp:*', On 2010/09/21 21:57:47, Evan Martin wrote: > Yes, ...
10 years, 3 months ago (2010-09-21 22:14:26 UTC) #8
sadrul
Also, I was wondering if GtkViewsTextView (in views/controls/textfield/gtk_views_textview) should inherit this new GtkUndoView instead of ...
10 years, 3 months ago (2010-09-22 16:44:36 UTC) #9
Evan Martin
LGTM++ I'm not sure about the views question, maybe ask someone closer to that code.
10 years, 3 months ago (2010-09-22 16:55:49 UTC) #10
tfarina
On 2010/09/22 16:55:49, Evan Martin wrote: > LGTM++ > > I'm not sure about the ...
10 years, 3 months ago (2010-09-23 19:37:22 UTC) #11
rjkroege
On 2010/09/23 19:37:22, tfarina wrote: > On 2010/09/22 16:55:49, Evan Martin wrote: > > LGTM++ ...
10 years, 3 months ago (2010-09-23 21:39:06 UTC) #12
tfarina
On 2010/09/23 21:39:06, rjkroege wrote: > I had offered to do it. Are you going ...
10 years, 3 months ago (2010-09-24 00:36:19 UTC) #13
rjkroege
On Thursday, September 23, 2010, <tfarina@chromium.org> wrote: > On 2010/09/23 21:39:06, rjkroege wrote: > > ...
10 years, 3 months ago (2010-09-24 01:11:21 UTC) #14
tfarina
On 2010/09/24 01:11:21, rjkroege wrote: > Please go ahead and land it. Thanks. I will ...
10 years, 3 months ago (2010-09-24 01:26:43 UTC) #15
tfarina
sadurl/Evan check deps failed: http://build.chromium.org/buildbot/try-server/builders/linux/builds/47553/steps/check%20deps/logs/stdio
10 years, 3 months ago (2010-09-24 01:45:16 UTC) #16
sadrul
On 2010/09/24 01:45:16, tfarina wrote: > sadurl/Evan check deps failed: > > http://build.chromium.org/buildbot/try-server/builders/linux/builds/47553/steps/check%2520deps/logs/stdio I believe ...
10 years, 3 months ago (2010-09-24 14:27:59 UTC) #17
Evan Martin
check_deps is a separate thing, actually. you can run it: ./tools/checkdeps/checkdeps.py the top of the ...
10 years, 3 months ago (2010-09-24 20:01:37 UTC) #18
sadrul-g
> ./tools/checkdeps/checkdeps.py > > the top of the script has info about how to fix ...
10 years, 2 months ago (2010-09-27 13:41:18 UTC) #19
tfarina
On 2010/09/27 13:41:18, sadrul-g wrote: > > ./tools/checkdeps/checkdeps.py > > > > the top of ...
10 years, 2 months ago (2010-09-27 14:00:28 UTC) #20
tfarina
On 2010/09/27 13:41:18, sadrul-g wrote: > I have removed the entry I had added, and ...
10 years, 2 months ago (2010-09-27 14:27:12 UTC) #21
tfarina
10 years, 2 months ago (2010-09-28 02:43:57 UTC) #22
Sorry for the delay, landed in r60744.

Powered by Google App Engine
This is Rietveld 408576698