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

Issue 12386019: Instant: Use only one hidden WebContents per profile. (Closed)

Created:
7 years, 9 months ago by sreeram
Modified:
7 years, 6 months ago
Reviewers:
CC:
chromium-reviews, dbeam+watch-options_chromium.org, dhollowa+watch_chromium.org, yoshiki+watch_chromium.org, gideonwald, dcheng, arv+watch_chromium.org, melevin, jam, dominich, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, pedrosimonetti+watch_chromium.org, dbeam+watch-ntp_chromium.org, browser-components-watch_chromium.org, oshima+watch_chromium.org, Jered, tfarina, sreeram, sail+watch_chromium.org, Aaron Boodman, David Black, samarth+watch_chromium.org, estade+watch_chromium.org, James Su, samarth
Visibility:
Public.

Description

Instant: Use only one hidden WebContents per profile. Other big changes: + Split up extended and non-extended implementations. + ... TODO(sreeram): Catalog major changes here, in this CL description. BUG=none R=samarth@chromium.org,dhollowa@chromium.org,shishir@chromium.org,sky@chromium.org TEST=none

Patch Set 1 #

Total comments: 26

Patch Set 2 : . #

Total comments: 1

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 21
Unified diffs Side-by-side diffs Delta from patch set Stats (+3354 lines, -6441 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/history/history_tab_helper.cc View 1 3 chunks +1 line, -9 lines 0 comments Download
M chrome/browser/infobars/infobar_container.h View 1 4 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/infobars/infobar_container.cc View 1 5 chunks +10 lines, -14 lines 0 comments Download
M chrome/browser/instant/instant_browsertest.cc View 1 2 3 27 chunks +353 lines, -364 lines 0 comments Download
M chrome/browser/instant/instant_controller.h View 1 1 chunk +93 lines, -405 lines 2 comments Download
M chrome/browser/instant/instant_controller.cc View 1 2 1 chunk +12 lines, -1473 lines 0 comments Download
A chrome/browser/instant/instant_controller_impl.h View 1 2 1 chunk +122 lines, -0 lines 0 comments Download
A chrome/browser/instant/instant_controller_impl.cc View 1 2 1 chunk +409 lines, -0 lines 0 comments Download
A chrome/browser/instant/instant_controller_utils.h View 1 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/instant/instant_controller_utils.cc View 1 chunk +126 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_io_context.h View 1 1 chunk +15 lines, -29 lines 0 comments Download
M chrome/browser/instant/instant_io_context.cc View 1 1 chunk +29 lines, -40 lines 0 comments Download
M chrome/browser/instant/instant_loader.h View 1 1 chunk +0 lines, -134 lines 0 comments Download
D chrome/browser/instant/instant_loader.cc View 1 1 chunk +0 lines, -221 lines 0 comments Download
D chrome/browser/instant/instant_ntp.h View 1 1 chunk +0 lines, -62 lines 0 comments Download
D chrome/browser/instant/instant_ntp.cc View 1 1 chunk +0 lines, -61 lines 0 comments Download
M chrome/browser/instant/instant_overlay.h View 1 2 chunks +25 lines, -77 lines 0 comments Download
M chrome/browser/instant/instant_overlay.cc View 1 2 1 chunk +47 lines, -126 lines 0 comments Download
M chrome/browser/instant/instant_overlay_controller.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/instant/instant_overlay_model.h View 1 2 chunks +7 lines, -20 lines 0 comments Download
M chrome/browser/instant/instant_overlay_model.cc View 1 2 2 chunks +14 lines, -34 lines 0 comments Download
M chrome/browser/instant/instant_page.h View 1 3 chunks +80 lines, -164 lines 2 comments Download
M chrome/browser/instant/instant_page.cc View 1 1 chunk +132 lines, -181 lines 0 comments Download
A chrome/browser/instant/instant_preloader.h View 1 1 chunk +86 lines, -0 lines 0 comments Download
A chrome/browser/instant/instant_preloader.cc View 1 2 1 chunk +154 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_service.h View 1 1 chunk +97 lines, -13 lines 1 comment Download
M chrome/browser/instant/instant_service.cc View 1 2 1 chunk +238 lines, -37 lines 6 comments Download
M chrome/browser/instant/instant_service_factory.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
A chrome/browser/instant/instant_service_observer.h View 1 1 chunk +25 lines, -0 lines 3 comments Download
D chrome/browser/instant/instant_tab.h View 1 1 chunk +0 lines, -34 lines 0 comments Download
D chrome/browser/instant/instant_tab.cc View 1 1 chunk +0 lines, -37 lines 0 comments Download
M chrome/browser/instant/instant_test_utils.h View 1 2 2 chunks +42 lines, -65 lines 0 comments Download
M chrome/browser/instant/instant_test_utils.cc View 1 2 5 chunks +135 lines, -79 lines 0 comments Download
M chrome/browser/instant/instant_unload_handler.cc View 1 chunk +0 lines, -4 lines 0 comments Download
A chrome/browser/instant/instant_web_contents_container.h View 1 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/instant/instant_web_contents_container.cc View 1 1 chunk +103 lines, -0 lines 0 comments Download
M chrome/browser/instant/search.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 3 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/resources/instant/instant.css View 1 1 chunk +2 lines, -41 lines 0 comments Download
M chrome/browser/resources/instant/instant.html View 1 1 chunk +6 lines, -17 lines 0 comments Download
M chrome/browser/resources/instant/instant.js View 1 1 chunk +27 lines, -153 lines 0 comments Download
M chrome/browser/rlz/rlz.cc View 1 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/task_manager/task_manager_resource_providers.cc View 1 4 chunks +22 lines, -6 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 5 chunks +8 lines, -7 lines 1 comment Download
M chrome/browser/ui/browser_instant_controller.h View 1 2 chunks +34 lines, -79 lines 0 comments Download
M chrome/browser/ui/browser_instant_controller.cc View 1 2 6 chunks +47 lines, -215 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 3 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h View 1 3 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 3 chunks +3 lines, -9 lines 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/instant_overlay_controller_mac.mm View 1 1 chunk +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller_browsertest.mm View 1 7 chunks +35 lines, -32 lines 0 comments Download
M chrome/browser/ui/gtk/instant_overlay_controller_gtk.cc View 1 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.h View 1 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/omnibox/location_bar.h View 1 3 chunks +1 line, -6 lines 1 comment Download
M chrome/browser/ui/omnibox/omnibox_edit_model.h View 1 2 chunks +1 line, -27 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/contents_container.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/contents_container.cc View 1 4 chunks +11 lines, -30 lines 0 comments Download
M chrome/browser/ui/views/frame/instant_overlay_controller_views.cc View 1 1 chunk +26 lines, -25 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 5 chunks +5 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/reload_button.cc View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/instant_ui.h View 1 1 chunk +6 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/instant_ui.cc View 1 4 chunks +42 lines, -100 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 2 chunks +11 lines, -6 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 3 chunks +3 lines, -1 line 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M chrome/common/chrome_notification_types.h View 1 2 1 chunk +4 lines, -13 lines 0 comments Download
M chrome/common/common_message_generator.h View 1 3 chunks +2 lines, -2 lines 0 comments Download
A chrome/common/instant_messages.h View 1 1 chunk +203 lines, -0 lines 0 comments Download
M chrome/common/instant_types.h View 1 6 chunks +12 lines, -34 lines 0 comments Download
M chrome/common/instant_types.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download
A chrome/common/omnibox_types.h View 1 1 chunk +34 lines, -0 lines 1 comment Download
M chrome/common/render_messages.h View 1 8 chunks +1 line, -147 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 6 chunks +22 lines, -9 lines 0 comments Download
M chrome/renderer/resources/extensions/OWNERS View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/resources/extensions/searchbox_api.js View 1 1 chunk +28 lines, -332 lines 0 comments Download
M chrome/renderer/resources/renderer_resources.grd View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/searchbox/searchbox.h View 1 2 2 chunks +13 lines, -97 lines 0 comments Download
M chrome/renderer/searchbox/searchbox.cc View 1 2 3 chunks +31 lines, -310 lines 0 comments Download
M chrome/renderer/searchbox/searchbox_extension.h View 2 chunks +11 lines, -24 lines 2 comments Download
M chrome/renderer/searchbox/searchbox_extension.cc View 1 2 chunks +138 lines, -910 lines 2 comments Download
M chrome/test/base/test_location_bar.h View 1 3 chunks +1 line, -4 lines 0 comments Download
M chrome/test/data/instant.html View 1 1 chunk +28 lines, -30 lines 0 comments Download
A chrome/test/data/profiles/instant/Preferences View 1 chunk +8 lines, -0 lines 0 comments Download
M ipc/ipc_message_start.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
samarth
Some initial comments from my first pass. Overall, this is looking good! In terms of ...
7 years, 9 months ago (2013-03-01 17:59:53 UTC) #1
sreeram
Ready for another look. As before, things to note: 1. All the Instant Extended stuff ...
7 years, 9 months ago (2013-03-07 18:18:45 UTC) #2
sreeram
https://codereview.chromium.org/12386019/diff/9001/chrome/renderer/resources/extensions/embedded_searchbox_api.js File chrome/renderer/resources/extensions/embedded_searchbox_api.js (right): https://codereview.chromium.org/12386019/diff/9001/chrome/renderer/resources/extensions/embedded_searchbox_api.js#newcode1 chrome/renderer/resources/extensions/embedded_searchbox_api.js:1: // Copyright 2012 The Chromium Authors. All rights reserved. ...
7 years, 9 months ago (2013-03-07 18:49:22 UTC) #3
samarth
https://codereview.chromium.org/12386019/diff/1/chrome/browser/instant/instant_controller.h File chrome/browser/instant/instant_controller.h (right): https://codereview.chromium.org/12386019/diff/1/chrome/browser/instant/instant_controller.h#newcode55 chrome/browser/instant/instant_controller.h:55: static scoped_ptr<InstantController> GetInstance( On 2013/03/07 18:18:46, sreeram wrote: > ...
7 years, 9 months ago (2013-03-11 19:03:23 UTC) #4
samarth
Couple more comments from our offline discussion. https://codereview.chromium.org/12386019/diff/16001/chrome/browser/instant/instant_service_observer.h File chrome/browser/instant/instant_service_observer.h (right): https://codereview.chromium.org/12386019/diff/16001/chrome/browser/instant/instant_service_observer.h#newcode22 chrome/browser/instant/instant_service_observer.h:22: ~InstantServiceObserver() {} ...
7 years, 9 months ago (2013-03-12 21:31:20 UTC) #5
Jered
Just a few quick drive-by comments, mean to read in more detail... https://codereview.chromium.org/12386019/diff/16001/chrome/browser/instant/instant_controller.h File chrome/browser/instant/instant_controller.h ...
7 years, 9 months ago (2013-03-26 16:36:41 UTC) #6
sreeram
7 years, 6 months ago (2013-06-03 18:30:07 UTC) #7
Closing this issue. This patch is severely obsolete. I'll leave it around as a
reference.

Powered by Google App Engine
This is Rietveld 408576698