• 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_EXTENSIONS_ALLOY_EXTENSIONS_UTIL_H_
6 #define CEF_LIBCEF_BROWSER_EXTENSIONS_ALLOY_EXTENSIONS_UTIL_H_
7 
8 namespace content {
9 class WebContents;
10 }
11 
12 namespace extensions {
13 namespace alloy {
14 
15 // Returns the tabId for |web_contents|, or -1 if not found.
16 int GetTabIdForWebContents(content::WebContents* web_contents);
17 
18 }  // namespace alloy
19 }  // namespace extensions
20 
21 #endif  // CEF_LIBCEF_BROWSER_EXTENSIONS_ALLOY_EXTENSIONS_UTIL_H_
22