2021-06-16 21:54:26 +02:00
|
|
|
// Copyright 2021 The Chromium Embedded Framework 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 CEF_LIBCEF_BROWSER_EXTENSIONS_ALLOY_EXTENSIONS_UTIL_H_
|
|
|
|
#define CEF_LIBCEF_BROWSER_EXTENSIONS_ALLOY_EXTENSIONS_UTIL_H_
|
|
|
|
|
|
|
|
namespace content {
|
|
|
|
class WebContents;
|
|
|
|
}
|
|
|
|
|
2024-01-20 23:48:57 +01:00
|
|
|
namespace extensions::alloy {
|
2021-06-16 21:54:26 +02:00
|
|
|
|
|
|
|
// Returns the tabId for |web_contents|, or -1 if not found.
|
|
|
|
int GetTabIdForWebContents(content::WebContents* web_contents);
|
|
|
|
|
2024-01-20 23:48:57 +01:00
|
|
|
} // namespace extensions::alloy
|
2021-06-16 21:54:26 +02:00
|
|
|
|
|
|
|
#endif // CEF_LIBCEF_BROWSER_EXTENSIONS_ALLOY_EXTENSIONS_UTIL_H_
|