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

Issue 1400823003: Creates BrowserTabStripTracker to consolidate common code (Closed)

Created:
5 years, 2 months ago by sky
Modified:
5 years, 2 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, sadrul, kalyank, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Creates BrowserTabStripTracker to consolidate common code There are a handful of places that attach a TabStripModelObserver to a subset of Browsers. This patch consolidates that. BUG=none TEST=none R=pkasting@chromium.org Committed: https://crrev.com/dbc6f296c6661dc416e21194e69a3ee4bae51a6d Cr-Commit-Position: refs/heads/master@{#353532}

Patch Set 1 #

Total comments: 19

Patch Set 2 : review feedback and git cl format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -170 lines) Patch
M chrome/browser/extensions/api/debugger/debugger_api.cc View 6 chunks +8 lines, -28 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_event_router.h View 1 6 chunks +13 lines, -11 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_event_router.cc View 3 chunks +14 lines, -44 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api.h View 4 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api.cc View 2 chunks +5 lines, -17 lines 0 comments Download
M chrome/browser/memory/tab_manager.h View 4 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/memory/tab_manager.cc View 2 chunks +6 lines, -14 lines 0 comments Download
M chrome/browser/ui/ash/launcher/browser_status_monitor.h View 4 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/browser_status_monitor.cc View 6 chunks +11 lines, -24 lines 0 comments Download
M chrome/browser/ui/ash/metrics/chrome_user_metrics_recorder.h View 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/ui/ash/metrics/chrome_user_metrics_recorder.cc View 1 chunk +4 lines, -12 lines 0 comments Download
A chrome/browser/ui/browser_tab_strip_tracker.h View 1 1 chunk +87 lines, -0 lines 0 comments Download
A chrome/browser/ui/browser_tab_strip_tracker.cc View 1 1 chunk +99 lines, -0 lines 0 comments Download
A chrome/browser/ui/browser_tab_strip_tracker_delegate.h View 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
sky
5 years, 2 months ago (2015-10-09 21:23:21 UTC) #1
Peter Kasting
LGTM. Nice, this makes the consumers noticeably cleaner. https://codereview.chromium.org/1400823003/diff/1/chrome/browser/extensions/api/tabs/tabs_event_router.h File chrome/browser/extensions/api/tabs/tabs_event_router.h (right): https://codereview.chromium.org/1400823003/diff/1/chrome/browser/extensions/api/tabs/tabs_event_router.h#newcode52 chrome/browser/extensions/api/tabs/tabs_event_router.h:52: // ...
5 years, 2 months ago (2015-10-10 00:34:40 UTC) #2
sky
https://codereview.chromium.org/1400823003/diff/1/chrome/browser/extensions/api/tabs/tabs_event_router.h File chrome/browser/extensions/api/tabs/tabs_event_router.h (right): https://codereview.chromium.org/1400823003/diff/1/chrome/browser/extensions/api/tabs/tabs_event_router.h#newcode52 chrome/browser/extensions/api/tabs/tabs_event_router.h:52: // chrome::BrowserListObserver On 2015/10/10 00:34:39, Peter Kasting wrote: > ...
5 years, 2 months ago (2015-10-12 15:16:21 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1400823003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1400823003/20001
5 years, 2 months ago (2015-10-12 15:17:50 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-12 16:30:11 UTC) #7
commit-bot: I haz the power
5 years, 2 months ago (2015-10-12 16:31:03 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/dbc6f296c6661dc416e21194e69a3ee4bae51a6d
Cr-Commit-Position: refs/heads/master@{#353532}

Powered by Google App Engine
This is Rietveld 408576698