diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2024-02-22 13:19:49 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2024-03-12 13:45:06 +0000 |
commit | 9c1f44f67466fea2fb20bb6f31fea388d8c65961 (patch) | |
tree | 03e7709aa7ed9a7cf2ec26ca410acd0b4c536666 /chromium/chrome/browser/extensions/api/tabs/tabs_event_router.cc | |
parent | ada9ddbf8c604585ac344b72f7bb63ac27c84726 (diff) |
BASELINE: Update Chromium to 122.0.6261.72
Change-Id: I655fa6da670f5e82a4c0df33630e388663de2a8e
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/542310
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/chrome/browser/extensions/api/tabs/tabs_event_router.cc')
-rw-r--r-- | chromium/chrome/browser/extensions/api/tabs/tabs_event_router.cc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/chromium/chrome/browser/extensions/api/tabs/tabs_event_router.cc b/chromium/chrome/browser/extensions/api/tabs/tabs_event_router.cc index c72256066c8..68378dd0e81 100644 --- a/chromium/chrome/browser/extensions/api/tabs/tabs_event_router.cc +++ b/chromium/chrome/browser/extensions/api/tabs/tabs_event_router.cc @@ -7,6 +7,7 @@ #include <stddef.h> #include <memory> +#include <optional> #include <utility> #include <vector> @@ -28,8 +29,8 @@ #include "content/public/browser/navigation_entry.h" #include "content/public/browser/web_contents.h" #include "extensions/common/features/feature.h" +#include "extensions/common/mojom/context_type.mojom.h" #include "extensions/common/mojom/event_dispatcher.mojom-forward.h" -#include "third_party/abseil-cpp/absl/types/optional.h" #include "third_party/blink/public/common/page/page_zoom.h" using base::Value; @@ -44,10 +45,10 @@ bool WillDispatchTabUpdatedEvent( WebContents* contents, const std::set<std::string> changed_property_names, content::BrowserContext* browser_context, - Feature::Context target_context, + mojom::ContextType target_context, const Extension* extension, const base::Value::Dict* listener_filter, - absl::optional<base::Value::List>& event_args_out, + std::optional<base::Value::List>& event_args_out, mojom::EventFilteringInfoPtr& event_filtering_info_out) { ExtensionTabUtil::ScrubTabBehavior scrub_tab_behavior = ExtensionTabUtil::GetScrubTabBehavior(extension, target_context, @@ -74,10 +75,10 @@ bool WillDispatchTabCreatedEvent( WebContents* contents, bool active, content::BrowserContext* browser_context, - Feature::Context target_context, + mojom::ContextType target_context, const Extension* extension, const base::Value::Dict* listener_filter, - absl::optional<base::Value::List>& event_args_out, + std::optional<base::Value::List>& event_args_out, mojom::EventFilteringInfoPtr& event_filtering_info_out) { ExtensionTabUtil::ScrubTabBehavior scrub_tab_behavior = ExtensionTabUtil::GetScrubTabBehavior(extension, target_context, @@ -263,7 +264,7 @@ void TabsEventRouter::TabPinnedStateChanged(TabStripModel* tab_strip_model, } void TabsEventRouter::TabGroupedStateChanged( - absl::optional<tab_groups::TabGroupId> group, + std::optional<tab_groups::TabGroupId> group, content::WebContents* contents, int index) { std::set<std::string> changed_property_names; |