chore: add ELECTRON_ prefix to C++ include guards (#31925)
This commit is contained in:
parent
0865267387
commit
c4ea33d1bf
358 changed files with 1080 additions and 1079 deletions
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_ACCELERATOR_UTIL_H_
|
||||
#define SHELL_BROWSER_UI_ACCELERATOR_UTIL_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_ACCELERATOR_UTIL_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_ACCELERATOR_UTIL_H_
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
@ -33,4 +33,4 @@ bool TriggerAcceleratorTableCommand(AcceleratorTable* table,
|
|||
|
||||
} // namespace accelerator_util
|
||||
|
||||
#endif // SHELL_BROWSER_UI_ACCELERATOR_UTIL_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_ACCELERATOR_UTIL_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_AUTOFILL_POPUP_H_
|
||||
#define SHELL_BROWSER_UI_AUTOFILL_POPUP_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_AUTOFILL_POPUP_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_AUTOFILL_POPUP_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
@ -90,4 +90,4 @@ class AutofillPopup : public views::ViewObserver {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_AUTOFILL_POPUP_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_AUTOFILL_POPUP_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_CERTIFICATE_TRUST_H_
|
||||
#define SHELL_BROWSER_UI_CERTIFICATE_TRUST_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_CERTIFICATE_TRUST_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_CERTIFICATE_TRUST_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -25,4 +25,4 @@ v8::Local<v8::Promise> ShowCertificateTrust(
|
|||
|
||||
} // namespace certificate_trust
|
||||
|
||||
#endif // SHELL_BROWSER_UI_CERTIFICATE_TRUST_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_CERTIFICATE_TRUST_H_
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_COCOA_NSCOLOR_HEX_H_
|
||||
#define SHELL_BROWSER_UI_COCOA_NSCOLOR_HEX_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_NSCOLOR_HEX_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_COCOA_NSCOLOR_HEX_H_
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
|
@ -15,4 +15,4 @@
|
|||
+ (NSColor*)colorWithHexColorString:(NSString*)hex;
|
||||
@end
|
||||
|
||||
#endif // SHELL_BROWSER_UI_COCOA_NSCOLOR_HEX_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_NSCOLOR_HEX_H_
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_
|
||||
#define SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
|
@ -14,4 +14,4 @@
|
|||
- (NSMutableAttributedString*)attributedStringParsingANSICodes;
|
||||
@end
|
||||
|
||||
#endif // SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_COCOA_DELAYED_NATIVE_VIEW_HOST_H_
|
||||
#define SHELL_BROWSER_UI_COCOA_DELAYED_NATIVE_VIEW_HOST_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_DELAYED_NATIVE_VIEW_HOST_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_COCOA_DELAYED_NATIVE_VIEW_HOST_H_
|
||||
|
||||
#include "ui/views/controls/native/native_view_host.h"
|
||||
|
||||
|
@ -30,4 +30,4 @@ class DelayedNativeViewHost : public views::NativeViewHost {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_COCOA_DELAYED_NATIVE_VIEW_HOST_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_DELAYED_NATIVE_VIEW_HOST_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_COCOA_ELECTRON_BUNDLE_MOVER_H_
|
||||
#define SHELL_BROWSER_UI_COCOA_ELECTRON_BUNDLE_MOVER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_BUNDLE_MOVER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_BUNDLE_MOVER_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -43,4 +43,4 @@ class ElectronBundleMover {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_BUNDLE_MOVER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_BUNDLE_MOVER_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE-CHROMIUM file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_COCOA_ELECTRON_INSPECTABLE_WEB_CONTENTS_VIEW_H_
|
||||
#define SHELL_BROWSER_UI_COCOA_ELECTRON_INSPECTABLE_WEB_CONTENTS_VIEW_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_INSPECTABLE_WEB_CONTENTS_VIEW_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_INSPECTABLE_WEB_CONTENTS_VIEW_H_
|
||||
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
|
@ -52,4 +52,4 @@ using electron::InspectableWebContentsViewMac;
|
|||
|
||||
@end
|
||||
|
||||
#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_INSPECTABLE_WEB_CONTENTS_VIEW_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_INSPECTABLE_WEB_CONTENTS_VIEW_H_
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_COCOA_ELECTRON_MENU_CONTROLLER_H_
|
||||
#define SHELL_BROWSER_UI_COCOA_ELECTRON_MENU_CONTROLLER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_MENU_CONTROLLER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_MENU_CONTROLLER_H_
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
|
@ -66,4 +66,4 @@ class ElectronMenuModel;
|
|||
|
||||
@end
|
||||
|
||||
#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_MENU_CONTROLLER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_MENU_CONTROLLER_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_COCOA_ELECTRON_NATIVE_WIDGET_MAC_H_
|
||||
#define SHELL_BROWSER_UI_COCOA_ELECTRON_NATIVE_WIDGET_MAC_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NATIVE_WIDGET_MAC_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NATIVE_WIDGET_MAC_H_
|
||||
|
||||
#include "ui/views/widget/native_widget_mac.h"
|
||||
|
||||
|
@ -34,4 +34,4 @@ class ElectronNativeWidgetMac : public views::NativeWidgetMac {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_NATIVE_WIDGET_MAC_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NATIVE_WIDGET_MAC_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_H_
|
||||
#define SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_H_
|
||||
|
||||
#include "components/remote_cocoa/app_shim/native_widget_mac_nswindow.h"
|
||||
#include "shell/browser/ui/cocoa/event_dispatching_window.h"
|
||||
|
@ -46,4 +46,4 @@ class ScopedDisableResize {
|
|||
- (NSImage*)_cornerMask;
|
||||
@end
|
||||
|
||||
#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_DELEGATE_H_
|
||||
#define SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_DELEGATE_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_DELEGATE_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_DELEGATE_H_
|
||||
|
||||
#include <Quartz/Quartz.h>
|
||||
|
||||
|
@ -30,4 +30,4 @@ class NativeWindowMac;
|
|||
- (id)initWithShell:(electron::NativeWindowMac*)shell;
|
||||
@end
|
||||
|
||||
#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_DELEGATE_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_DELEGATE_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_COCOA_ELECTRON_PREVIEW_ITEM_H_
|
||||
#define SHELL_BROWSER_UI_COCOA_ELECTRON_PREVIEW_ITEM_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_PREVIEW_ITEM_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_PREVIEW_ITEM_H_
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Quartz/Quartz.h>
|
||||
|
@ -14,4 +14,4 @@
|
|||
- (id)initWithURL:(NSURL*)url title:(NSString*)title;
|
||||
@end
|
||||
|
||||
#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_PREVIEW_ITEM_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_PREVIEW_ITEM_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_COCOA_ELECTRON_TOUCH_BAR_H_
|
||||
#define SHELL_BROWSER_UI_COCOA_ELECTRON_TOUCH_BAR_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_TOUCH_BAR_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_TOUCH_BAR_H_
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
|
@ -96,4 +96,4 @@
|
|||
|
||||
@end
|
||||
|
||||
#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_TOUCH_BAR_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_TOUCH_BAR_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_COCOA_EVENT_DISPATCHING_WINDOW_H_
|
||||
#define SHELL_BROWSER_UI_COCOA_EVENT_DISPATCHING_WINDOW_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_EVENT_DISPATCHING_WINDOW_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_COCOA_EVENT_DISPATCHING_WINDOW_H_
|
||||
|
||||
#import "ui/base/cocoa/underlay_opengl_hosting_window.h"
|
||||
|
||||
|
@ -16,4 +16,4 @@
|
|||
|
||||
@end
|
||||
|
||||
#endif // SHELL_BROWSER_UI_COCOA_EVENT_DISPATCHING_WINDOW_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_EVENT_DISPATCHING_WINDOW_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_COCOA_ROOT_VIEW_MAC_H_
|
||||
#define SHELL_BROWSER_UI_COCOA_ROOT_VIEW_MAC_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ROOT_VIEW_MAC_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_COCOA_ROOT_VIEW_MAC_H_
|
||||
|
||||
#include "ui/views/view.h"
|
||||
|
||||
|
@ -32,4 +32,4 @@ class RootViewMac : public views::View {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_COCOA_ROOT_VIEW_MAC_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ROOT_VIEW_MAC_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_COCOA_VIEWS_DELEGATE_MAC_H_
|
||||
#define SHELL_BROWSER_UI_COCOA_VIEWS_DELEGATE_MAC_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_VIEWS_DELEGATE_MAC_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_COCOA_VIEWS_DELEGATE_MAC_H_
|
||||
|
||||
#include "ui/views/views_delegate.h"
|
||||
|
||||
|
@ -27,4 +27,4 @@ class ViewsDelegateMac : public views::ViewsDelegate {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_COCOA_VIEWS_DELEGATE_MAC_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_VIEWS_DELEGATE_MAC_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_COCOA_WINDOW_BUTTONS_PROXY_H_
|
||||
#define SHELL_BROWSER_UI_COCOA_WINDOW_BUTTONS_PROXY_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_WINDOW_BUTTONS_PROXY_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_COCOA_WINDOW_BUTTONS_PROXY_H_
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
|
@ -56,4 +56,4 @@
|
|||
- (void)updateTrackingAreas;
|
||||
@end
|
||||
|
||||
#endif // SHELL_BROWSER_UI_COCOA_WINDOW_BUTTONS_PROXY_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_WINDOW_BUTTONS_PROXY_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE-CHROMIUM file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_DEVTOOLS_MANAGER_DELEGATE_H_
|
||||
#define SHELL_BROWSER_UI_DEVTOOLS_MANAGER_DELEGATE_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_MANAGER_DELEGATE_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_MANAGER_DELEGATE_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -36,4 +36,4 @@ class DevToolsManagerDelegate : public content::DevToolsManagerDelegate {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_DEVTOOLS_MANAGER_DELEGATE_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_MANAGER_DELEGATE_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE-CHROMIUM file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_DEVTOOLS_UI_H_
|
||||
#define SHELL_BROWSER_UI_DEVTOOLS_UI_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_UI_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_UI_H_
|
||||
|
||||
#include "base/compiler_specific.h"
|
||||
#include "content/public/browser/browser_context.h"
|
||||
|
@ -23,4 +23,4 @@ class DevToolsUI : public content::WebUIController {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_DEVTOOLS_UI_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_UI_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_DRAG_UTIL_H_
|
||||
#define SHELL_BROWSER_UI_DRAG_UTIL_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_DRAG_UTIL_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_DRAG_UTIL_H_
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
@ -34,4 +34,4 @@ std::unique_ptr<SkRegion> DraggableRegionsToSkRegion(
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_DRAG_UTIL_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_DRAG_UTIL_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_ELECTRON_MENU_MODEL_H_
|
||||
#define SHELL_BROWSER_UI_ELECTRON_MENU_MODEL_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_ELECTRON_MENU_MODEL_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_ELECTRON_MENU_MODEL_H_
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
@ -128,4 +128,4 @@ class ElectronMenuModel : public ui::SimpleMenuModel {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_ELECTRON_MENU_MODEL_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_ELECTRON_MENU_MODEL_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_FILE_DIALOG_H_
|
||||
#define SHELL_BROWSER_UI_FILE_DIALOG_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_FILE_DIALOG_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_FILE_DIALOG_H_
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
@ -74,4 +74,4 @@ void ShowSaveDialog(const DialogSettings& settings,
|
|||
|
||||
} // namespace file_dialog
|
||||
|
||||
#endif // SHELL_BROWSER_UI_FILE_DIALOG_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_FILE_DIALOG_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_
|
||||
#define SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -114,4 +114,4 @@ class AppIndicatorIcon : public views::StatusIconLinux {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_
|
||||
#define SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_
|
||||
|
||||
#include "base/callback.h"
|
||||
#include "ui/base/glib/glib_signal.h"
|
||||
|
@ -74,4 +74,4 @@ class AppIndicatorIconMenu {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_
|
||||
#define SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -62,4 +62,4 @@ class GtkStatusIcon : public views::StatusIconLinux {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_GTK_MENU_UTIL_H_
|
||||
#define SHELL_BROWSER_UI_GTK_MENU_UTIL_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_MENU_UTIL_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_GTK_MENU_UTIL_H_
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
|
@ -60,4 +60,4 @@ void SetMenuItemInfo(GtkWidget* widget, void* block_activation_ptr);
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_GTK_MENU_UTIL_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_GTK_MENU_UTIL_H_
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_GTK_STATUS_ICON_H_
|
||||
#define SHELL_BROWSER_UI_GTK_STATUS_ICON_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_STATUS_ICON_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_GTK_STATUS_ICON_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -29,4 +29,4 @@ std::unique_ptr<views::StatusIconLinux> CreateLinuxStatusIcon(
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_GTK_STATUS_ICON_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_GTK_STATUS_ICON_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_GTK_UTIL_H_
|
||||
#define SHELL_BROWSER_UI_GTK_UTIL_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_UTIL_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_GTK_UTIL_H_
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
|
@ -25,4 +25,4 @@ GdkPixbuf* GdkPixbufFromSkBitmap(const SkBitmap& bitmap);
|
|||
|
||||
} // namespace gtk_util
|
||||
|
||||
#endif // SHELL_BROWSER_UI_GTK_UTIL_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_GTK_UTIL_H_
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE-CHROMIUM file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_H_
|
||||
#define SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_H_
|
||||
|
||||
#include <list>
|
||||
#include <map>
|
||||
|
@ -246,4 +246,4 @@ class InspectableWebContents
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_H_
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE-CHROMIUM file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_
|
||||
#define SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -40,4 +40,4 @@ class InspectableWebContentsDelegate {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE-CHROMIUM file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_H_
|
||||
#define SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -60,4 +60,4 @@ class InspectableWebContentsView {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_H_
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE-CHROMIUM file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_
|
||||
#define SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -33,4 +33,4 @@ class InspectableWebContentsViewDelegate {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE-CHROMIUM file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_MAC_H_
|
||||
#define SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_MAC_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_MAC_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_MAC_H_
|
||||
|
||||
#include "shell/browser/ui/inspectable_web_contents_view.h"
|
||||
|
||||
|
@ -48,4 +48,4 @@ class InspectableWebContentsViewMac : public InspectableWebContentsView {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_MAC_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_MAC_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_MESSAGE_BOX_H_
|
||||
#define SHELL_BROWSER_UI_MESSAGE_BOX_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_MESSAGE_BOX_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_MESSAGE_BOX_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -61,4 +61,4 @@ void ShowErrorBox(const std::u16string& title, const std::u16string& content);
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_MESSAGE_BOX_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_MESSAGE_BOX_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_TRAY_ICON_H_
|
||||
#define SHELL_BROWSER_UI_TRAY_ICON_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -137,4 +137,4 @@ class TrayIcon {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_TRAY_ICON_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_TRAY_ICON_COCOA_H_
|
||||
#define SHELL_BROWSER_UI_TRAY_ICON_COCOA_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_COCOA_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_COCOA_H_
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
|
@ -48,4 +48,4 @@ class TrayIconCocoa : public TrayIcon {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_TRAY_ICON_COCOA_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_COCOA_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_TRAY_ICON_GTK_H_
|
||||
#define SHELL_BROWSER_UI_TRAY_ICON_GTK_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_GTK_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_GTK_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -42,4 +42,4 @@ class TrayIconGtk : public TrayIcon, public views::StatusIconLinux::Delegate {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_TRAY_ICON_GTK_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_GTK_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_TRAY_ICON_OBSERVER_H_
|
||||
#define SHELL_BROWSER_UI_TRAY_ICON_OBSERVER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_OBSERVER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_OBSERVER_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -45,4 +45,4 @@ class TrayIconObserver : public base::CheckedObserver {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_TRAY_ICON_OBSERVER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_OBSERVER_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_VIEWS_AUTOFILL_POPUP_VIEW_H_
|
||||
#define SHELL_BROWSER_UI_VIEWS_AUTOFILL_POPUP_VIEW_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_AUTOFILL_POPUP_VIEW_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_AUTOFILL_POPUP_VIEW_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -154,4 +154,4 @@ class AutofillPopupView : public views::WidgetDelegateView,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_VIEWS_AUTOFILL_POPUP_VIEW_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_AUTOFILL_POPUP_VIEW_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE-CHROMIUM file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_VIEWS_ELECTRON_VIEWS_DELEGATE_H_
|
||||
#define SHELL_BROWSER_UI_VIEWS_ELECTRON_VIEWS_DELEGATE_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_ELECTRON_VIEWS_DELEGATE_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_ELECTRON_VIEWS_DELEGATE_H_
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
@ -79,4 +79,4 @@ class ViewsDelegate : public views::ViewsDelegate {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_VIEWS_ELECTRON_VIEWS_DELEGATE_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_ELECTRON_VIEWS_DELEGATE_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_VIEWS_FRAMELESS_VIEW_H_
|
||||
#define SHELL_BROWSER_UI_VIEWS_FRAMELESS_VIEW_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_FRAMELESS_VIEW_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_FRAMELESS_VIEW_H_
|
||||
|
||||
#include "ui/views/window/non_client_view.h"
|
||||
|
||||
|
@ -57,4 +57,4 @@ class FramelessView : public views::NonClientFrameView {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_VIEWS_FRAMELESS_VIEW_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_FRAMELESS_VIEW_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_REGISTRAR_X11_H_
|
||||
#define SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_REGISTRAR_X11_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_REGISTRAR_X11_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_REGISTRAR_X11_H_
|
||||
|
||||
#include <gio/gio.h>
|
||||
|
||||
|
@ -60,4 +60,4 @@ class GlobalMenuBarRegistrarX11 {
|
|||
std::set<x11::Window> live_windows_;
|
||||
};
|
||||
|
||||
#endif // SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_REGISTRAR_X11_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_REGISTRAR_X11_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_X11_H_
|
||||
#define SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_X11_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_X11_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_X11_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -80,4 +80,4 @@ class GlobalMenuBarX11 {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_X11_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_X11_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE-CHROMIUM file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_VIEWS_INSPECTABLE_WEB_CONTENTS_VIEW_VIEWS_H_
|
||||
#define SHELL_BROWSER_UI_VIEWS_INSPECTABLE_WEB_CONTENTS_VIEW_VIEWS_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_INSPECTABLE_WEB_CONTENTS_VIEW_VIEWS_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_INSPECTABLE_WEB_CONTENTS_VIEW_VIEWS_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -67,4 +67,4 @@ class InspectableWebContentsViewViews : public InspectableWebContentsView,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_VIEWS_INSPECTABLE_WEB_CONTENTS_VIEW_VIEWS_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_INSPECTABLE_WEB_CONTENTS_VIEW_VIEWS_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_VIEWS_MENU_BAR_H_
|
||||
#define SHELL_BROWSER_UI_VIEWS_MENU_BAR_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_BAR_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_BAR_H_
|
||||
|
||||
#include "shell/browser/native_window_observer.h"
|
||||
#include "shell/browser/ui/electron_menu_model.h"
|
||||
|
@ -92,4 +92,4 @@ class MenuBar : public views::AccessiblePaneView,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_VIEWS_MENU_BAR_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_BAR_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_VIEWS_MENU_DELEGATE_H_
|
||||
#define SHELL_BROWSER_UI_VIEWS_MENU_DELEGATE_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_DELEGATE_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_DELEGATE_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -80,4 +80,4 @@ class MenuDelegate : public views::MenuDelegate {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_VIEWS_MENU_DELEGATE_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_DELEGATE_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_VIEWS_MENU_MODEL_ADAPTER_H_
|
||||
#define SHELL_BROWSER_UI_VIEWS_MENU_MODEL_ADAPTER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_MODEL_ADAPTER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_MODEL_ADAPTER_H_
|
||||
|
||||
#include "shell/browser/ui/electron_menu_model.h"
|
||||
#include "ui/views/controls/menu/menu_model_adapter.h"
|
||||
|
@ -28,4 +28,4 @@ class MenuModelAdapter : public views::MenuModelAdapter {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_VIEWS_MENU_MODEL_ADAPTER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_MODEL_ADAPTER_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_VIEWS_NATIVE_FRAME_VIEW_H_
|
||||
#define SHELL_BROWSER_UI_VIEWS_NATIVE_FRAME_VIEW_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_NATIVE_FRAME_VIEW_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_NATIVE_FRAME_VIEW_H_
|
||||
|
||||
#include "ui/views/window/native_frame_view.h"
|
||||
|
||||
|
@ -34,4 +34,4 @@ class NativeFrameView : public views::NativeFrameView {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_VIEWS_NATIVE_FRAME_VIEW_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_NATIVE_FRAME_VIEW_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_VIEWS_ROOT_VIEW_H_
|
||||
#define SHELL_BROWSER_UI_VIEWS_ROOT_VIEW_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_ROOT_VIEW_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_ROOT_VIEW_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -69,4 +69,4 @@ class RootView : public views::View {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_VIEWS_ROOT_VIEW_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_ROOT_VIEW_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_VIEWS_SUBMENU_BUTTON_H_
|
||||
#define SHELL_BROWSER_UI_VIEWS_SUBMENU_BUTTON_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_SUBMENU_BUTTON_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_SUBMENU_BUTTON_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -58,4 +58,4 @@ class SubmenuButton : public views::MenuButton {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_VIEWS_SUBMENU_BUTTON_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_SUBMENU_BUTTON_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_H_
|
||||
#define SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_H_
|
||||
|
||||
#include "chrome/browser/ui/view_ids.h"
|
||||
#include "ui/base/metadata/metadata_header_macros.h"
|
||||
|
@ -51,4 +51,4 @@ class WinCaptionButton : public views::Button {
|
|||
};
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_CONTAINER_H_
|
||||
#define SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_CONTAINER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_CONTAINER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_CONTAINER_H_
|
||||
|
||||
#include "base/scoped_observation.h"
|
||||
#include "ui/base/metadata/metadata_header_macros.h"
|
||||
|
@ -67,4 +67,4 @@ class WinCaptionButtonContainer : public views::View,
|
|||
};
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_CONTAINER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_CONTAINER_H_
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
// Copyright (c) 2012 The Chromium Authors,
|
||||
// which is governed by a BSD-style license
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_VIEWS_WIN_FRAME_VIEW_H_
|
||||
#define SHELL_BROWSER_UI_VIEWS_WIN_FRAME_VIEW_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_FRAME_VIEW_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_FRAME_VIEW_H_
|
||||
|
||||
#include "shell/browser/native_window_views.h"
|
||||
#include "shell/browser/ui/views/frameless_view.h"
|
||||
|
@ -85,4 +85,4 @@ class WinFrameView : public FramelessView {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_VIEWS_WIN_FRAME_VIEW_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_FRAME_VIEW_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_
|
||||
#define SHELL_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_
|
||||
|
||||
#include "chrome/browser/accessibility/accessibility_ui.h"
|
||||
#include "content/public/browser/web_ui_controller.h"
|
||||
|
@ -35,4 +35,4 @@ class ElectronAccessibilityUIMessageHandler
|
|||
void RequestNativeUITree(const base::ListValue* args);
|
||||
};
|
||||
|
||||
#endif // SHELL_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_WIN_DIALOG_THREAD_H_
|
||||
#define SHELL_BROWSER_UI_WIN_DIALOG_THREAD_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_WIN_DIALOG_THREAD_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_WIN_DIALOG_THREAD_H_
|
||||
|
||||
#include <utility>
|
||||
|
||||
|
@ -77,4 +77,4 @@ void Run(base::OnceCallback<bool(R*)> execute,
|
|||
|
||||
} // namespace dialog_thread
|
||||
|
||||
#endif // SHELL_BROWSER_UI_WIN_DIALOG_THREAD_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_WIN_DIALOG_THREAD_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_NATIVE_WIDGET_AURA_H_
|
||||
#define SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_NATIVE_WIDGET_AURA_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_NATIVE_WIDGET_AURA_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_NATIVE_WIDGET_AURA_H_
|
||||
|
||||
#include "shell/browser/native_window_views.h"
|
||||
#include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
|
||||
|
@ -44,4 +44,4 @@ class ElectronDesktopNativeWidgetAura : public views::DesktopNativeWidgetAura {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_NATIVE_WIDGET_AURA_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_NATIVE_WIDGET_AURA_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_WINDOW_TREE_HOST_WIN_H_
|
||||
#define SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_WINDOW_TREE_HOST_WIN_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_WINDOW_TREE_HOST_WIN_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_WINDOW_TREE_HOST_WIN_H_
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
|
@ -43,4 +43,4 @@ class ElectronDesktopWindowTreeHostWin
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_WINDOW_TREE_HOST_WIN_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_WINDOW_TREE_HOST_WIN_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_WIN_JUMP_LIST_H_
|
||||
#define SHELL_BROWSER_UI_WIN_JUMP_LIST_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_WIN_JUMP_LIST_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_WIN_JUMP_LIST_H_
|
||||
|
||||
#include <atlbase.h>
|
||||
#include <shobjidl.h>
|
||||
|
@ -120,4 +120,4 @@ class JumpList {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_WIN_JUMP_LIST_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_WIN_JUMP_LIST_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_WIN_NOTIFY_ICON_H_
|
||||
#define SHELL_BROWSER_UI_WIN_NOTIFY_ICON_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_WIN_NOTIFY_ICON_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_WIN_NOTIFY_ICON_H_
|
||||
|
||||
#include <windows.h> // windows.h must be included first
|
||||
|
||||
|
@ -107,4 +107,4 @@ class NotifyIcon : public TrayIcon {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_WIN_NOTIFY_ICON_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_WIN_NOTIFY_ICON_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_WIN_NOTIFY_ICON_HOST_H_
|
||||
#define SHELL_BROWSER_UI_WIN_NOTIFY_ICON_HOST_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_WIN_NOTIFY_ICON_HOST_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_WIN_NOTIFY_ICON_HOST_H_
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
|
@ -68,4 +68,4 @@ class NotifyIconHost {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_WIN_NOTIFY_ICON_HOST_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_WIN_NOTIFY_ICON_HOST_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_WIN_TASKBAR_HOST_H_
|
||||
#define SHELL_BROWSER_UI_WIN_TASKBAR_HOST_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_WIN_TASKBAR_HOST_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_WIN_TASKBAR_HOST_H_
|
||||
|
||||
#include <shobjidl.h>
|
||||
#include <wrl/client.h>
|
||||
|
@ -84,4 +84,4 @@ class TaskbarHost {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_WIN_TASKBAR_HOST_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_WIN_TASKBAR_HOST_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_X_EVENT_DISABLER_H_
|
||||
#define SHELL_BROWSER_UI_X_EVENT_DISABLER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_X_EVENT_DISABLER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_X_EVENT_DISABLER_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -31,4 +31,4 @@ class EventDisabler : public ui::EventRewriter {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_X_EVENT_DISABLER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_X_EVENT_DISABLER_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_X_WINDOW_STATE_WATCHER_H_
|
||||
#define SHELL_BROWSER_UI_X_WINDOW_STATE_WATCHER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_X_WINDOW_STATE_WATCHER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_X_WINDOW_STATE_WATCHER_H_
|
||||
|
||||
#include "ui/events/platform/x11/x11_event_source.h"
|
||||
#include "ui/gfx/x/event.h"
|
||||
|
@ -39,4 +39,4 @@ class WindowStateWatcher : public x11::EventObserver {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_X_WINDOW_STATE_WATCHER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_X_WINDOW_STATE_WATCHER_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_X_X_WINDOW_UTILS_H_
|
||||
#define SHELL_BROWSER_UI_X_X_WINDOW_UTILS_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_X_X_WINDOW_UTILS_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_X_X_WINDOW_UTILS_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -32,4 +32,4 @@ bool IsWindowValid(x11::Window window);
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_X_X_WINDOW_UTILS_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_X_X_WINDOW_UTILS_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue