Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NOT FOR MERGE] Most recently used tab with Ctrl-Tab cycling #5546

Merged
merged 50 commits into from
Oct 7, 2020

Conversation

simonhong
Copy link
Member

@simonhong simonhong commented May 14, 2020

PR for running CI instead of #4671

Resolves brave/brave-browser#913

Submitter Checklist:

Test Plan:

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

After-merge Checklist:

  • The associated issue milestone is set to the smallest version that the
    changes has landed on.
  • All relevant documentation has been updated.

@simonhong simonhong requested a review from bridiver as a code owner May 14, 2020 06:47
@simonhong simonhong changed the title [NOT FOR MERGE] clycling ctrl tab [NOT FOR MERGE] Most recently used tab with Ctrl-Tab cycling May 14, 2020
@simonhong simonhong force-pushed the guifel-1/mru-clycling-ctrl-tab branch from 1ff0e68 to 620e74a Compare September 27, 2020 03:12
@simonhong simonhong self-assigned this Sep 27, 2020
@simonhong simonhong force-pushed the guifel-1/mru-clycling-ctrl-tab branch 4 times, most recently from f4ec4e2 to a03d739 Compare October 5, 2020 02:34
@simonhong simonhong force-pushed the guifel-1/mru-clycling-ctrl-tab branch 2 times, most recently from cd18bdb to 28da6b5 Compare October 7, 2020 02:26
@simonhong simonhong added CI/skip-android Do not run CI builds for Android CI/skip-ios Do not run CI builds for iOS CI/skip-linux CI/skip-macos-x64 Do not run CI builds for macOS x64 and removed CI/skip-android Do not run CI builds for Android CI/skip-ios Do not run CI builds for iOS CI/skip-linux CI/skip-macos-x64 Do not run CI builds for macOS x64 labels Oct 7, 2020
guifel added 11 commits October 7, 2020 13:46
Communication from tab_strip_model to controllers is acheived by have the controllers implementing TabStripModelObserver.
I chosed to add a virtual empty function on TabStripModelObserver with chromium_src. I did not do a simple sub-classing because it would have required patching/change all the controllers that rely on TabStripObserver (many). I also considered the rename and extend in chromium_src method but that doesn't work because of TabStripObserver static methods.
@simonhong simonhong force-pushed the guifel-1/mru-clycling-ctrl-tab branch from 28da6b5 to 9a91afa Compare October 7, 2020 04:46
@simonhong simonhong merged commit c15b8ce into master Oct 7, 2020
@simonhong simonhong deleted the guifel-1/mru-clycling-ctrl-tab branch October 7, 2020 07:20
@bsclifton
Copy link
Member

bsclifton commented Oct 7, 2020

weird - @simonhong I wonder why this one shows as merged on GitHub? Maybe because it has the same HEAD as the #4671?

@simonhong
Copy link
Member Author

I assume that the reason is both have same commits?

@simonhong simonhong added this to the 1.17.x - Nightly milestone Oct 12, 2020
@simonhong
Copy link
Member Author

Although this is not the directly merged PR, milestone is set because Release Boss complains about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ctrl-tab to switch from most-to-least recently used tab
3 participants