Revert "Add split view to new tab button context menu"

This reverts commit 629461e9d788c475f946dfd7d2e1beede0dbae2f.

Reason for revert:

New tests consistently fail on linux64-rel-ready:
https://ci.chromium.org/ui/p/chrome/builders/ci/linux64-rel-ready

Example:
https://ci.chromium.org/ui/p/chrome/builders/ci/linux64-rel-ready/56773/overview

TabStripTabGroupMenuMoreEntryPointsEnabled.NewTabButtonContextMenuSplitView:
interactive_test_internal.cc(266): Failed
Interactive test failed on step 7 (EnsurePresent( ElementIdentifier NewTabButtonMenuModel::kNewSplitView )) with reason kElementNotVisibleAtStartOfStep; step type kShown; id ElementIdentifier NewTabButtonMenuModel::kNewSplitView
UI Elements
  ╰─[CURRENT CONTEXT] [ACTIVE] Tabbed browser window, 1 tab(s) (active: 0) profile Default at x:10-1060 y:10-790 (1050x780)
     ├─Pivot element (part of test automation)
     ├─[ACTIVE] Widget "BrowserWidget" at x:10-1060 y:10-790 (1050x780)
     │  ╰─BrowserView - kBrowserViewElementId at x:14-1056 y:10-786 (1042x776)
     │     ├─TopContainerView - kTopContainerElementId at x:14-1056 y:10-97 (1042x87)
     │     │  ├─TabStripRegionView - kTabStripRegionElementId at x:14-960 y:10-51 (946x41)
     │     │  │  ├─TabSearchContainer - kTabSearchContainerElementId at x:20-48 y:10-51 (28x41)
     │     │  │  │  ╰─TabSearchButton - kTabSearchButtonElementId at x:20-48 y:10-51 (28x...

TabStripTabGroupMenuMoreEntryPointsEnabled.NewTabButtonContextMenuSplitViewDisabled:
[ RUN      ] TabStripTabGroupMenuMoreEntryPointsEnabled.NewTabButtonContextMenuSplitViewDisabled
[110633:110633:1010/123719.714320:INFO:components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc:206] No machine level policy manager exists.
[110665:110665:1010/123719.811682:WARNING:ui/gfx/linux/gpu_memory_buffer_support_x11.cc:49] dri3 extension not supported.
[110665:110665:1010/123719.814195:WARNING:sandbox/policy/linux/sandbox_linux.cc:404] InitializeSandbox() called with multiple threads in process gpu-process.
[110633:110633:1010/123719.885051:ERROR:dbus/object_proxy.cc:573] Failed to call method: org.freedesktop.DBus.Properties.GetAll: object_path= /org/freedesktop/UPower/devices/DisplayDevice: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[110633:110633:1010/123719.885077:WARNING:dbus/property.cc:174] GetAll request failed for: org.freedesktop.UPower.Device
[110633:110633:1010/123719.910937:WARNING:ui/base/idle/idle_linux.cc:98] None of the known D-Bus ScreenSaver services could be used.
[110633:110633:1010/123719.940692:FATAL:chrome/browser/ui/views/frame/browser_view.cc:3544] Check failed: multi_contents_view_. 
#0 0x59b062a02eb2 base::debug::CollectStackTrace() [../../base/debug/stack_trace_posix.cc:1052:7]
#1 0x59b0629ef5be base::debug::StackTrace::StackTrace() [../../base/debug/stack_trace.cc:279:20]
#2 0x59b062936d73 logging::LogMessage::Flush() [../../base/logging.cc:705:29]
#3 0x59b062936c3d logging::LogMessage::~LogMessage() [../../base/logging.cc:694:3]
#4 0x59b062923df2 logging::(anonymous namespace)::CheckLogMessage::~CheckLogMessage() [../../base/check.cc:164:3]
#5 0x59b062923adb logging::CheckNoreturnError::~CheckNoreturnError() [../../base/check.cc:321:16]
#6 0x59b061c8aa39 BrowserView::OnSplitTabChanged() [../../chrome/browser/ui/views/frame/browser_view.cc:3544:3]

TabStripTabGroupMenuMoreEntryPointsEnabled.VerifyNewTabButtonContextMenu:
interactive_test_internal.cc(266): Failed
Interactive test failed on step 8 (EnsurePresent( ElementIdentifier NewTabButtonMenuModel::kNewSplitView )) with reason kElementNotVisibleAtStartOfStep; step type kShown; id ElementIdentifier NewTabButtonMenuModel::kNewSplitView
UI Elements
  ╰─[CURRENT CONTEXT] [ACTIVE] Tabbed browser window, 1 tab(s) (active: 0) profile Default at x:10-1060 y:10-790 (1050x780)
     ├─Pivot element (part of test automation)
     ├─[ACTIVE] Widget "BrowserWidget" at x:10-1060 y:10-790 (1050x780)
     │  ╰─BrowserView - kBrowserViewElementId at x:14-1056 y:10-786 (1042x776)
     │     ├─TopContainerView - kTopContainerElementId at x:14-1056 y:10-97 (1042x87)
     │     │  ├─TabStripRegionView - kTabStripRegionElementId at x:14-960 y:10-51 (946x41)
     │     │  │  ├─TabSearchContainer - kTabSearchContainerElementId at x:20-48 y:10-51 (28x41)
     │     │  │  │  ╰─TabSearchButton - kTabSearchButtonElementId at x:20-48 y:10-51 (28x...



Original change's description:
> Add split view to new tab button context menu
>
> This adds another option to the new tab button context menu. It will
> make a split view with the current active tab, and the new split will
> be on the new tab page.
>
> Bug: 450398347
> Change-Id: I04dcf3b5d6d4a1577be781520d78af9780f5008c
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7024472
> Reviewed-by: Eshwar Stalin <estalin@chromium.org>
> Reviewed-by: Yuheng Huang <yuhengh@chromium.org>
> Reviewed-by: Alison Gale <agale@chromium.org>
> Commit-Queue: Dominic Austria <dominicaustria@google.com>
> Cr-Commit-Position: refs/heads/main@{#1528279}

Bug: 450398347
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Change-Id: I4aa77757dd114255a79170c31cf306d582ae5b27
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7032586
Auto-Submit: Mark Pearson <mpearson@chromium.org>
Owners-Override: Mark Pearson <mpearson@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1528337}
6 files changed
tree: 57b0e0e22534ce03b9afa24b4012a0bfebe78684
  1. .gemini/
  2. .github/
  3. agents/
  4. android_webview/
  5. apps/
  6. ash/
  7. base/
  8. build/
  9. build_overrides/
  10. buildtools/
  11. cc/
  12. chrome/
  13. chromecast/
  14. chromeos/
  15. codelabs/
  16. components/
  17. content/
  18. crypto/
  19. dbus/
  20. device/
  21. docs/
  22. extensions/
  23. fuchsia_web/
  24. gin/
  25. google_apis/
  26. gpu/
  27. headless/
  28. infra/
  29. ios/
  30. ipc/
  31. media/
  32. mojo/
  33. net/
  34. pdf/
  35. printing/
  36. remoting/
  37. rlz/
  38. sandbox/
  39. services/
  40. skia/
  41. sql/
  42. storage/
  43. styleguide/
  44. testing/
  45. third_party/
  46. tools/
  47. ui/
  48. url/
  49. webkit/
  50. .clang-format
  51. .clang-tidy
  52. .clangd
  53. .cursorignore
  54. .geminiignore
  55. .git-blame-ignore-revs
  56. .gitallowed
  57. .gitattributes
  58. .gitignore
  59. .gitmodules
  60. .gn
  61. .mailmap
  62. .rustfmt.toml
  63. .vpython3
  64. .yapfignore
  65. ATL_OWNERS
  66. AUTHORS
  67. BUILD.gn
  68. CODE_OF_CONDUCT.md
  69. codereview.settings
  70. CPPLINT.cfg
  71. CRYPTO_OWNERS
  72. DEPS
  73. DIR_METADATA
  74. LICENSE
  75. LICENSE.chromium_os
  76. OWNERS
  77. PRESUBMIT.py
  78. PRESUBMIT_test.py
  79. PRESUBMIT_test_mocks.py
  80. README.md
  81. SECURITY_OWNERS
  82. WATCHLISTS
README.md

Logo Chromium

Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.

The project's web site is https://www.chromium.org.

To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.

Documentation in the source is rooted in docs/README.md.

Learn how to Get Around the Chromium Source Code Directory Structure.

For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.

If you found a bug, please file it at https://crbug.com/new.