summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/ui/webui/tab_strip/tab_strip_ui.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-01-20 13:40:20 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-01-22 12:41:23 +0000
commit7961cea6d1041e3e454dae6a1da660b453efd238 (patch)
treec0eeb4a9ff9ba32986289c1653d9608e53ccb444 /chromium/chrome/browser/ui/webui/tab_strip/tab_strip_ui.h
parentb7034d0803538058e5c9d904ef03cf5eab34f6ef (diff)
BASELINE: Update Chromium to 78.0.3904.130
Change-Id: If185e0c0061b3437531c97c9c8c78f239352a68b 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.h25
1 files changed, 25 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
new file mode 100644
index 00000000000..8e8b31d9ddf
--- /dev/null
+++ b/chromium/chrome/browser/ui/webui/tab_strip/tab_strip_ui.h
@@ -0,0 +1,25 @@
+// Copyright 2019 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_WEBUI_TAB_STRIP_TAB_STRIP_UI_H_
+#define CHROME_BROWSER_UI_WEBUI_TAB_STRIP_TAB_STRIP_UI_H_
+
+#include "base/macros.h"
+#include "chrome/browser/ui/webui/tab_strip/thumbnail_tracker.h"
+#include "content/public/browser/web_ui_controller.h"
+
+// The WebUI version of the tab strip in the browser. It is currently only
+// supported on ChromeOS in tablet mode.
+class TabStripUI : public content::WebUIController {
+ public:
+ explicit TabStripUI(content::WebUI* web_ui);
+ ~TabStripUI() override;
+
+ private:
+ void HandleThumbnailUpdate(int extension_tab_id, gfx::ImageSkia image);
+
+ DISALLOW_COPY_AND_ASSIGN(TabStripUI);
+};
+
+#endif // CHROME_BROWSER_UI_WEBUI_TAB_STRIP_TAB_STRIP_UI_H_