Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions appshell/appshell_extensions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "appshell_extensions_platform.h"
#include "native_menu_model.h"
#include "appshell_node_process.h"
#include "config.h"

#include <algorithm>

Expand Down
2 changes: 2 additions & 0 deletions appshell/appshell_extensions_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@

#include <string>

#include "config.h"

// Extension error codes. These MUST be in sync with the error
// codes in appshell_extensions.js
#if !defined(OS_WIN) // NO_ERROR is defined on windows
Expand Down
3 changes: 0 additions & 3 deletions appshell/appshell_node_process_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@
#include <sys/wait.h>


#ifndef OS_LINUX
#define OS_LINUX 1
#endif
#include "config.h"

#define BRACKETS_NODE_BUFFER_SIZE 4096
Expand Down
3 changes: 0 additions & 3 deletions appshell/appshell_node_process_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@

#include <strsafe.h> // must be included after STL headers

#ifndef OS_WIN
#define OS_WIN 1
#endif
#include "config.h"

#define BRACKETS_NODE_BUFFER_SIZE 4096
Expand Down
1 change: 0 additions & 1 deletion appshell/cef_dark_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include <Uxtheme.h>
#include <Shlwapi.h>

#define OS_WIN
#include "config.h"

// With VS2015 including the gdiplus.h header results in many C4458 warnings.
Expand Down
4 changes: 0 additions & 4 deletions appshell/cef_registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
*/
#include <windows.h>

#ifndef OS_WIN
#define OS_WIN 1
#endif

#include "config.h"
#include "include/base/cef_logging.h"

Expand Down
1 change: 0 additions & 1 deletion appshell/cefclient.rc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS

#define OS_WIN
#include "config.h"

/////////////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion appshell/client_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "appshell/browser/resource_util.h"
#include "appshell/appshell_extensions.h"
#include "appshell/command_callbacks.h"

#include "config.h"

// Custom menu command Ids.
enum client_menu_ids {
Expand Down
1 change: 0 additions & 1 deletion appshell/client_handler_mac.mm
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) 2011 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.
#define OS_MAC

#import <Cocoa/Cocoa.h>
#import <objc/runtime.h>
Expand Down
2 changes: 1 addition & 1 deletion appshell/client_handler_win.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2011 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.
#define OS_WIN

#include "config.h"
#include "client_handler.h"
#include <string>
Expand Down
1 change: 1 addition & 0 deletions appshell/command_callbacks.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "include/cef_browser.h"
#include "appshell_extensions_platform.h"
#include "config.h"

// Command names. These MUST be in sync with the command names in
// brackets/src/command/Commands.js
Expand Down
1 change: 1 addition & 0 deletions appshell/native_menu_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/
#include "native_menu_model.h"
#include "command_callbacks.h"
#include "config.h"

#if defined(OS_WIN)
const ExtensionString WINDOW_COMMAND = L"window";
Expand Down
1 change: 0 additions & 1 deletion appshell/version.rc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS

#define OS_WIN
#include "config.h"

/////////////////////////////////////////////////////////////////////////////
Expand Down