diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-09-29 16:16:15 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-11-09 10:04:06 +0000 |
commit | a95a7417ad456115a1ef2da4bb8320531c0821f1 (patch) | |
tree | edcd59279e486d2fd4a8f88a7ed025bcf925c6e6 /chromium/chrome/browser/ui/webui/tab_strip/tab_strip_ui.h | |
parent | 33fc33aa94d4add0878ec30dc818e34e1dd3cc2a (diff) |
BASELINE: Update Chromium to 106.0.5249.126
Change-Id: Ib0bb21c437a7d1686e21c33f2d329f2ac425b7ab
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/438936
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/chrome/browser/ui/webui/tab_strip/tab_strip_ui.h')
-rw-r--r-- | chromium/chrome/browser/ui/webui/tab_strip/tab_strip_ui.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chromium/chrome/browser/ui/webui/tab_strip/tab_strip_ui.h b/chromium/chrome/browser/ui/webui/tab_strip/tab_strip_ui.h index d28ce8e76d7..d053986cc0f 100644 --- a/chromium/chrome/browser/ui/webui/tab_strip/tab_strip_ui.h +++ b/chromium/chrome/browser/ui/webui/tab_strip/tab_strip_ui.h @@ -14,8 +14,10 @@ #include "mojo/public/cpp/bindings/pending_remote.h" #include "mojo/public/cpp/bindings/receiver.h" #include "ui/webui/mojo_web_ui_controller.h" +#include "ui/webui/resources/cr_components/color_change_listener/color_change_listener.mojom.h" class Browser; +class ColorChangeHandler; class TabStripPageHandler; class TabStripUIEmbedder; @@ -39,6 +41,12 @@ class TabStripUI : public ui::MojoWebUIController, void BindInterface( mojo::PendingReceiver<tab_strip::mojom::PageHandlerFactory> receiver); + // Instantiates the implementor of the mojom::PageHandler mojo interface + // passing the pending receiver that will be internally bound. + void BindInterface( + mojo::PendingReceiver<color_change_listener::mojom::PageHandler> + receiver); + // Initialize TabStripUI with its embedder and the Browser it's running in. // Must be called exactly once. The WebUI won't work until this is called. // |Deinitialize| is called during |embedder|'s destructor. It release the @@ -66,6 +74,8 @@ class TabStripUI : public ui::MojoWebUIController, std::unique_ptr<TabStripPageHandler> page_handler_; + std::unique_ptr<ColorChangeHandler> color_provider_handler_; + mojo::Receiver<tab_strip::mojom::PageHandlerFactory> page_factory_receiver_{ this}; |