refactor: replace USE_X11 with OS_LINUX for sharing code with Ozone (#25522)
This commit is contained in:
parent
137fc65e2f
commit
efd003d277
9 changed files with 18 additions and 18 deletions
|
@ -11,7 +11,7 @@
|
|||
#include "shell/browser/web_contents_preferences.h"
|
||||
#include "ui/events/keycodes/keyboard_codes.h"
|
||||
|
||||
#if defined(USE_X11)
|
||||
#if defined(OS_LINUX)
|
||||
#include "shell/browser/browser.h"
|
||||
#endif
|
||||
|
||||
|
@ -49,7 +49,7 @@ gfx::ImageSkia CommonWebContentsDelegate::GetDevToolsWindowIcon() {
|
|||
->GetWindowAppIcon();
|
||||
}
|
||||
|
||||
#if defined(USE_X11)
|
||||
#if defined(OS_LINUX)
|
||||
void CommonWebContentsDelegate::GetDevToolsWindowWMClass(
|
||||
std::string* name,
|
||||
std::string* class_name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue