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

Issue 146138: Refactor the win KeywordEditorView for cross platform friendliness. (Closed)

Created:
11 years, 6 months ago by mattm
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

Refactor the win KeywordEditorView for cross platform friendliness. The TableModel is moved to search_engines/template_url_table_model.* The shared logic, and ownership of the url_model_ and table_model_, is moved to search_engines/keyword_editor_controller.* BUG=13326 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19421

Patch Set 1 #

Patch Set 2 : build fixes #

Patch Set 3 : Move the unittest to search_engines/keyword_editor_controller_unittest.cc #

Total comments: 2

Patch Set 4 : Refactor the win KeywordEditorView for cross platform friendliness.... #

Patch Set 5 : '' #

Total comments: 22

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -1969 lines) Patch
A + chrome/browser/search_engines/keyword_editor_controller.h View 1 2 3 4 5 6 2 chunks +35 lines, -177 lines 0 comments Download
A + chrome/browser/search_engines/keyword_editor_controller.cc View 1 2 3 4 5 6 3 chunks +34 lines, -596 lines 0 comments Download
A + chrome/browser/search_engines/keyword_editor_controller_unittest.cc View 3 4 5 6 8 chunks +19 lines, -18 lines 0 comments Download
A + chrome/browser/search_engines/template_url_table_model.h View 1 2 3 4 5 6 6 chunks +22 lines, -126 lines 0 comments Download
A + chrome/browser/search_engines/template_url_table_model.cc View 1 2 3 4 5 6 8 chunks +75 lines, -364 lines 0 comments Download
M chrome/browser/views/keyword_editor_view.h View 1 2 3 4 5 6 chunks +3 lines, -114 lines 0 comments Download
M chrome/browser/views/keyword_editor_view.cc View 1 2 3 4 5 9 chunks +28 lines, -428 lines 0 comments Download
M chrome/browser/views/keyword_editor_view_unittest.cc View 3 1 chunk +0 lines, -145 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
mattm
Think this is good but I've only been using trybot for testing. Would one of ...
11 years, 6 months ago (2009-06-25 21:43:53 UTC) #1
sky
To make this easier to review, and so keep history can you copy the controller ...
11 years, 6 months ago (2009-06-25 22:10:32 UTC) #2
mattm
Patched it into an svn checkout and did that (for the relevant other files too.) ...
11 years, 6 months ago (2009-06-25 22:44:47 UTC) #3
sky
http://codereview.chromium.org/146138/diff/2029/2034 File chrome/browser/search_engines/keyword_editor_controller.cc (right): http://codereview.chromium.org/146138/diff/2029/2034#newcode14 Line 14: : profile_(profile), url_model_(profile->GetTemplateURLModel()) { each of these should ...
11 years, 6 months ago (2009-06-26 16:00:18 UTC) #4
mattm
http://codereview.chromium.org/146138/diff/2029/2034 File chrome/browser/search_engines/keyword_editor_controller.cc (right): http://codereview.chromium.org/146138/diff/2029/2034#newcode14 Line 14: : profile_(profile), url_model_(profile->GetTemplateURLModel()) { On 2009/06/26 16:00:18, sky ...
11 years, 6 months ago (2009-06-26 18:01:40 UTC) #5
sky
> http://codereview.chromium.org/146138/diff/2029/2034#newcode16 > Line 16: url_model_->AddObserver(this); > On 2009/06/26 16:00:18, sky wrote: > > With ...
11 years, 6 months ago (2009-06-26 18:15:55 UTC) #6
mattm
On 2009/06/26 18:15:55, sky wrote: > > http://codereview.chromium.org/146138/diff/2029/2034#newcode16 > > Line 16: url_model_->AddObserver(this); > > ...
11 years, 6 months ago (2009-06-26 20:51:36 UTC) #7
sky
11 years, 6 months ago (2009-06-26 21:01:51 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698