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

chore: bump chromium to 121.0.6147.0 (main) #40523

Merged
merged 51 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
50bffd7
chore: bump chromium in DEPS to 121.0.6128.0
electron-roller[bot] Nov 14, 2023
8672e5e
build: update patches
MarshallOfSound Nov 14, 2023
152a332
refactor: remove instrumentation from extensions code
MarshallOfSound Nov 14, 2023
391353e
refactor: modernization of tabs_api
MarshallOfSound Nov 14, 2023
87675f2
fix: add RecordHover and RecordDrag handlers
MarshallOfSound Nov 14, 2023
10b74e1
build: add missing pdf files
MarshallOfSound Nov 14, 2023
220eaaf
chore: bump chromium in DEPS to 121.0.6129.0
electron-roller[bot] Nov 15, 2023
74d2b29
chore: bump chromium in DEPS to 121.0.6131.0
electron-roller[bot] Nov 16, 2023
d2246af
chore: update patches
MarshallOfSound Nov 16, 2023
6ba995e
refactor: remove will_cause_resize from ExitFullscreen
MarshallOfSound Nov 16, 2023
1f96ab2
chore: add missing std converter include
MarshallOfSound Nov 16, 2023
1cbf25b
chore: Unwrap UserScriptList from unique_ptrs
MarshallOfSound Nov 17, 2023
d2be1e1
refactor: add PDF internal id into PDF stream info
MarshallOfSound Nov 17, 2023
7f67061
refactor: add metadata to view classes
MarshallOfSound Nov 17, 2023
22da982
chore: run lint --fix
MarshallOfSound Nov 17, 2023
7b3f43d
chore: update libc++ filenames
MarshallOfSound Nov 17, 2023
9098107
chore: clean up menubar
MarshallOfSound Nov 17, 2023
3d7d812
Merge main into roller/chromium/main
VerteDinde Nov 21, 2023
66e0610
chore: update patches after main merge
VerteDinde Nov 21, 2023
6f7734c
5010979: Replace base::WStringPiece usage with std::wstring_view | ht…
VerteDinde Nov 21, 2023
4082a7e
chore: bump chromium in DEPS to 121.0.6142.0
electron-roller[bot] Nov 22, 2023
e8fe3ca
chore: update patches
VerteDinde Nov 22, 2023
32477d3
4969574: Refactor NativeDesktopMediaList | https://chromium-review.go…
VerteDinde Nov 22, 2023
7f05345
5031192: [blink] Create new blink test suite that doesn't create blin…
VerteDinde Nov 22, 2023
0b02107
chore: update v8/devtools patches
VerteDinde Nov 22, 2023
c55346a
5040722: [base] Replace MakeFixedFlatTreeSorted with tag type overloa…
VerteDinde Nov 22, 2023
fba0674
5026474: Add --generate-pdf-document-outline | https://chromium-revie…
VerteDinde Nov 22, 2023
f9a5a50
5024297: Change parameter of CheckMediaAccessPermission from GURL to …
VerteDinde Nov 22, 2023
3ff95ba
5034217: [RWS] Remove CanonicalCookie::IsSameParty method | https://c…
VerteDinde Nov 22, 2023
801cc54
5037192: Rewrite usage of RenderFrame::GetRoutingID | https://chromiu…
VerteDinde Nov 22, 2023
771174e
5041802: Reland "Incorporate policy override for OOPPD feature" | htt…
VerteDinde Nov 22, 2023
db1511a
chore: bump chromium in DEPS to 121.0.6143.0
electron-roller[bot] Nov 23, 2023
9973997
chore: bump chromium in DEPS to 121.0.6145.0
electron-roller[bot] Nov 24, 2023
24c2623
chore: update chromium patches
VerteDinde Nov 25, 2023
6e3d19c
5049986: Use std::unique_ptr for MenuItemView::submenu_ member. | htt…
VerteDinde Nov 25, 2023
5ed254d
5041595: picture-in-picture: Add PictureInPictureOcclusionTracker | h…
VerteDinde Nov 25, 2023
5db61d1
chore: update all patches
VerteDinde Nov 25, 2023
578ad06
chore: bump chromium in DEPS to 121.0.6147.0
electron-roller[bot] Nov 25, 2023
1acd114
chore: update patches
patchup[bot] Nov 25, 2023
c175573
5051069: Use base::FunctionRef for BrowserPluginGuestManager. | https…
VerteDinde Nov 26, 2023
c7b18ff
5057330: [base] Remove base::Erase()/base::EraseIf() overloads for st…
VerteDinde Nov 26, 2023
2c6270b
fixup! 5041802: Reland "Incorporate policy override for OOPPD feature…
VerteDinde Nov 26, 2023
d3b86df
5017518: Remove PPAPI if NaCl is disabled | https://chromium-review.g…
VerteDinde Nov 26, 2023
2360c96
5002232: [DevTools] Console Insights: move from build flag to Feature…
VerteDinde Nov 27, 2023
0f7a5b3
4970322: [X11] Move utils into x11::Connection | https://chromium-rev…
VerteDinde Nov 27, 2023
99104c6
5048950: Let MenuModelAdapter::CreateMenu return a std::unique_ptr<>.…
VerteDinde Nov 27, 2023
3df1d7f
chore: update libcxx filenames
VerteDinde Nov 27, 2023
01b9c2d
use Context::Scope in RunScriptsAtDocument{Start,End}
nornagon Nov 27, 2023
665bfe0
4775128: content: Reuse CC instance for main frame navigations
nornagon Nov 27, 2023
fdfa889
also wrap WebWorkerObserver::ContextWillDestroy with Context::Scope
nornagon Nov 27, 2023
05bd9a3
set LIBCPP_HARDENING_MODE
nornagon Nov 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: add metadata to view classes
  • Loading branch information
MarshallOfSound committed Nov 17, 2023
commit 7f670615b6fc627d8aa96586ed12ff326f74a3d3
3 changes: 3 additions & 0 deletions shell/browser/ui/views/autofill_popup_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ void AutofillPopupChildView::GetAccessibleNodeData(ui::AXNodeData* node_data) {
node_data->SetName(suggestion_);
}

BEGIN_METADATA(AutofillPopupChildView)
END_METADATA

AutofillPopupView::AutofillPopupView(AutofillPopup* popup,
views::Widget* parent_widget)
: popup_(popup), parent_widget_(parent_widget) {
Expand Down
4 changes: 4 additions & 0 deletions shell/browser/ui/views/autofill_popup_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#include "shell/browser/osr/osr_view_proxy.h"
#include "third_party/abseil-cpp/absl/types/optional.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/views/drag_controller.h"
#include "ui/views/focus/widget_focus_manager.h"
#include "ui/views/widget/widget_delegate.h"
Expand All @@ -34,6 +36,8 @@ class AutofillPopup;
// Child view only for triggering accessibility events. Rendering is handled
// by |AutofillPopupViewViews|.
class AutofillPopupChildView : public views::View {
METADATA_HEADER(AutofillPopupChildView, views::View)

public:
explicit AutofillPopupChildView(const std::u16string& suggestion)
: suggestion_(suggestion) {
Expand Down
3 changes: 3 additions & 0 deletions shell/browser/ui/views/menu_bar.cc
Original file line number Diff line number Diff line change
Expand Up @@ -270,4 +270,7 @@ void MenuBar::UpdateViewColors() {
#endif
}

BEGIN_METADATA(MenuBar)
END_METADATA

} // namespace electron
4 changes: 4 additions & 0 deletions shell/browser/ui/views/menu_bar.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#include "shell/browser/ui/electron_menu_model.h"
#include "shell/browser/ui/views/menu_delegate.h"
#include "shell/browser/ui/views/root_view.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/views/accessible_pane_view.h"

namespace views {
Expand All @@ -21,6 +23,8 @@ namespace electron {
class MenuBar : public views::AccessiblePaneView,
public MenuDelegate::Observer,
public NativeWindowObserver {
METADATA_HEADER(MenuBar, views::AccessiblePaneView)

public:
static const char kViewClassName[];

Expand Down
3 changes: 3 additions & 0 deletions shell/browser/ui/views/submenu_button.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,7 @@ void SubmenuButton::GetCharacterPosition(const std::u16string& text,
&height, 0, 0);
}

BEGIN_METADATA(SubmenuButton)
END_METADATA

} // namespace electron
4 changes: 4 additions & 0 deletions shell/browser/ui/views/submenu_button.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@
#include <string>

#include "ui/accessibility/ax_node_data.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/views/animation/ink_drop_highlight.h"
#include "ui/views/controls/button/menu_button.h"

namespace electron {

// Special button that used by menu bar to show submenus.
class SubmenuButton : public views::MenuButton {
METADATA_HEADER(SubmenuButton, views::MenuButton)

public:
SubmenuButton(PressedCallback callback,
const std::u16string& title,
Expand Down
4 changes: 4 additions & 0 deletions shell/browser/ui/views/win_caption_button.cc
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,8 @@ void WinCaptionButton::PaintSymbol(gfx::Canvas* canvas) {
return;
}
}

BEGIN_METADATA(WinCaptionButton)
END_METADATA

} // namespace electron
3 changes: 3 additions & 0 deletions shell/browser/ui/views/win_caption_button.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "chrome/browser/ui/view_ids.h"
#include "shell/browser/ui/views/win_icon_painter.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/gfx/canvas.h"
#include "ui/views/controls/button/button.h"

Expand All @@ -22,6 +23,8 @@ namespace electron {
class WinFrameView;

class WinCaptionButton : public views::Button {
METADATA_HEADER(WinCaptionButton, views::Button)

public:
WinCaptionButton(PressedCallback callback,
WinFrameView* frame_view,
Expand Down
4 changes: 4 additions & 0 deletions shell/browser/ui/views/win_caption_button_container.cc
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,8 @@ void WinCaptionButtonContainer::UpdateButtons() {

InvalidateLayout();
}

BEGIN_METADATA(WinCaptionButtonContainer)
END_METADATA

} // namespace electron
3 changes: 3 additions & 0 deletions shell/browser/ui/views/win_caption_button_container.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "base/memory/raw_ptr.h"
#include "base/scoped_observation.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/pointer/touch_ui_controller.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/view.h"
Expand All @@ -27,6 +28,8 @@ class WinCaptionButton;
// grab bar for moving the window.
class WinCaptionButtonContainer : public views::View,
public views::WidgetObserver {
METADATA_HEADER(WinCaptionButtonContainer, views::View)

public:
explicit WinCaptionButtonContainer(WinFrameView* frame_view);
~WinCaptionButtonContainer() override;
Expand Down