refactor: move impl functions into private namespace (#43372)
This commit is contained in:
parent
f366caac84
commit
4fbf18a021
10 changed files with 40 additions and 8 deletions
|
@ -46,6 +46,7 @@
|
|||
#include "ui/base/cocoa/permissions_utils.h"
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
#if BUILDFLAG(IS_LINUX)
|
||||
// Private function in ui/base/x/x11_display_util.cc
|
||||
base::flat_map<x11::RandR::Output, int> GetMonitors(
|
||||
|
@ -142,8 +143,6 @@ base::flat_map<int32_t, uint32_t> MonitorAtomIdToDisplayId() {
|
|||
}
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
std::unique_ptr<ThumbnailCapturer> MakeWindowCapturer() {
|
||||
#if BUILDFLAG(IS_MAC)
|
||||
if (ShouldUseThumbnailCapturerMac(DesktopMediaList::Type::kWindow)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue