mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Convert defined(OS_XXX) to BUILDFLAG(IS_XXX) in libcef
See https://crbug.com/1234043 for background.
This commit is contained in:
@@ -361,7 +361,7 @@ base::DictionaryValue* CefExtensionFunctionDetails::OpenTab(
|
||||
create_params.request_context = request_context;
|
||||
create_params.window_info.reset(new CefWindowInfo);
|
||||
|
||||
#if defined(OS_WIN)
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
create_params.window_info->SetAsPopup(nullptr, CefString());
|
||||
#endif
|
||||
|
||||
|
@@ -2,18 +2,16 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "libcef/browser/extensions/chrome_api_registration.h"
|
||||
#include "libcef/browser/extensions/extensions_browser_api_provider.h"
|
||||
#include "libcef/browser/extensions/chrome_api_registration.h"
|
||||
|
||||
//#include "cef/libcef/browser/extensions/api/generated_api_registration.h"
|
||||
#include "extensions/browser/api/generated_api_registration.h"
|
||||
|
||||
namespace extensions {
|
||||
|
||||
CefExtensionsBrowserAPIProvider::CefExtensionsBrowserAPIProvider() =
|
||||
default;
|
||||
CefExtensionsBrowserAPIProvider::~CefExtensionsBrowserAPIProvider() =
|
||||
default;
|
||||
CefExtensionsBrowserAPIProvider::CefExtensionsBrowserAPIProvider() = default;
|
||||
CefExtensionsBrowserAPIProvider::~CefExtensionsBrowserAPIProvider() = default;
|
||||
|
||||
void CefExtensionsBrowserAPIProvider::RegisterExtensionFunctions(
|
||||
ExtensionFunctionRegistry* registry) {
|
||||
|
Reference in New Issue
Block a user