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

Issue 3332022: Bunch of match preview tweaks: (Closed)

Created:
10 years, 3 months ago by sky
Modified:
9 years, 7 months ago
Reviewers:
jcivelli, Jay Civelli
CC:
chromium-reviews, brettw-cc_chromium.org, ben+cc_chromium.org, jshin+watch_chromium.org, Paweł Hajdan Jr., pam+watch_chromium.org
Visibility:
Public.

Description

Bunch of match preview tweaks: . Makes MatchPreview owned by Browser rather than each TabContents. . Makes MatchPreview dismiss when the omnibox closes. . Supports the ability to send script to the page rather than reloading on every keystroke. . Supports receiving results from the page that drives the suggest text in the omnbox. BUG=54833 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=59428

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Cleanup #

Patch Set 4 : Cleanup #

Total comments: 10

Patch Set 5 : Addresses review feedback #

Patch Set 6 : make BrowserWindow change not specific to views #

Patch Set 7 : Make LocationBar change on all platforms and fix merge #

Patch Set 8 : Fix test_location_bar #

Patch Set 9 : Add string16 include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1085 lines, -294 lines) Patch
M base/string_util.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit.h View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/browser.h View 1 2 3 4 5 6 8 chunks +17 lines, -2 lines 0 comments Download
M chrome/browser/browser.cc View 1 2 3 4 5 6 5 chunks +46 lines, -10 lines 0 comments Download
M chrome/browser/browser_window.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/browser_window_cocoa.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/browser_window_cocoa.mm View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/location_bar/location_bar_view_mac.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/cocoa/location_bar/location_bar_view_mac.mm View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/gtk/browser_window_gtk.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/gtk/browser_window_gtk.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/gtk/location_bar_view_gtk.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/gtk/location_bar_view_gtk.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/location_bar.h View 3 4 5 6 7 8 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/search_engines/template_url.h View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/match_preview.h View 1 2 3 4 3 chunks +65 lines, -23 lines 0 comments Download
M chrome/browser/tab_contents/match_preview.cc View 1 2 3 4 5 6 7 chunks +370 lines, -38 lines 0 comments Download
A chrome/browser/tab_contents/match_preview_delegate.h View 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.h View 1 2 3 4 5 6 3 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 2 3 4 5 6 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_delegate.h View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_delegate.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/views/app_launcher.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/views/frame/browser_view.h View 1 6 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/views/frame/browser_view.cc View 1 6 chunks +21 lines, -114 lines 0 comments Download
M chrome/browser/views/frame/browser_view_layout.h View 1 4 chunks +16 lines, -8 lines 0 comments Download
M chrome/browser/views/frame/browser_view_layout.cc View 5 chunks +43 lines, -9 lines 0 comments Download
A chrome/browser/views/frame/contents_container.h View 1 2 1 chunk +82 lines, -0 lines 0 comments Download
A chrome/browser/views/frame/contents_container.cc View 1 2 3 4 1 chunk +194 lines, -0 lines 0 comments Download
M chrome/browser/views/location_bar/location_bar_view.h View 1 2 5 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/views/location_bar/location_bar_view.cc View 1 2 3 4 8 chunks +98 lines, -37 lines 0 comments Download
M chrome/browser/views/toolbar_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/views/toolbar_view.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/common/notification_type.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/test/test_browser_window.h View 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/test/test_location_bar.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
sky
10 years, 3 months ago (2010-09-14 00:05:29 UTC) #1
Jay Civelli
http://codereview.chromium.org/3332022/diff/9001/10007 File chrome/browser/browser.h (right): http://codereview.chromium.org/3332022/diff/9001/10007#newcode40 chrome/browser/browser.h:40: class MatchPreview; You don't need this if you keep ...
10 years, 3 months ago (2010-09-14 01:10:30 UTC) #2
sky
Almost all addressed. New snapshot uploaded. -Scott http://codereview.chromium.org/3332022/diff/9001/10020 File chrome/browser/views/frame/browser_view_layout.cc (right): http://codereview.chromium.org/3332022/diff/9001/10020#newcode214 chrome/browser/views/frame/browser_view_layout.cc:214: contents_container_ = ...
10 years, 3 months ago (2010-09-14 04:03:05 UTC) #3
Jay Civelli
10 years, 3 months ago (2010-09-14 16:25:02 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698