• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2021 The Chromium Embedded Framework Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be found
3 // in the LICENSE file.
4 
5 #ifndef CEF_LIBCEF_BROWSER_CHROME_VIEWS_TOOLBAR_VIEW_VIEW_H_
6 #define CEF_LIBCEF_BROWSER_CHROME_VIEWS_TOOLBAR_VIEW_VIEW_H_
7 #pragma once
8 
9 #include "libcef/browser/views/view_view.h"
10 
11 #include "chrome/browser/ui/views/toolbar/toolbar_view.h"
12 
13 class CefToolbarViewView : public CefViewView<ToolbarView, CefViewDelegate> {
14  public:
15   using ParentClass = CefViewView<ToolbarView, CefViewDelegate>;
16 
17   // |cef_delegate| may be nullptr.
18   explicit CefToolbarViewView(CefViewDelegate* cef_delegate,
19                               Browser* browser,
20                               BrowserView* browser_view,
21                               absl::optional<DisplayMode> display_mode);
22 
23   CefToolbarViewView(const CefToolbarViewView&) = delete;
24   CefToolbarViewView& operator=(const CefToolbarViewView&) = delete;
25 };
26 
27 #endif  // CEF_LIBCEF_BROWSER_CHROME_VIEWS_TOOLBAR_VIEW_VIEW_H_
28