diff --git a/filenames.gni b/filenames.gni index 79db012404..6f6a49c020 100644 --- a/filenames.gni +++ b/filenames.gni @@ -24,25 +24,25 @@ filenames = { ] lib_sources_linux = [ + "shell/browser/browser_linux.cc", + "shell/browser/lib/power_observer_linux.cc", + "shell/browser/lib/power_observer_linux.h", + "shell/browser/linux/unity_service.cc", + "shell/browser/linux/unity_service.h", + "shell/browser/notifications/linux/libnotify_notification.cc", + "shell/browser/notifications/linux/libnotify_notification.h", + "shell/browser/notifications/linux/notification_presenter_linux.cc", + "shell/browser/notifications/linux/notification_presenter_linux.h", + "shell/browser/relauncher_linux.cc", "shell/browser/ui/file_dialog_gtk.cc", "shell/browser/ui/message_box_gtk.cc", "shell/browser/ui/tray_icon_gtk.cc", "shell/browser/ui/tray_icon_gtk.h", - "shell/browser/browser_linux.cc", - "shell/browser/lib/power_observer_linux.cc", - "shell/browser/lib/power_observer_linux.h", - "shell/browser/notifications/linux/notification_presenter_linux.cc", - "shell/browser/notifications/linux/notification_presenter_linux.h", - "shell/browser/relauncher_linux.cc", "shell/common/application_info_linux.cc", "shell/common/language_util_linux.cc", "shell/common/node_bindings_linux.cc", "shell/common/node_bindings_linux.h", "shell/common/platform_util_linux.cc", - "shell/browser/linux/unity_service.h", - "shell/browser/notifications/linux/libnotify_notification.cc", - "shell/browser/notifications/linux/libnotify_notification.h", - "shell/browser/linux/unity_service.cc", ] lib_sources_posix = [ @@ -60,6 +60,17 @@ filenames = { "shell/browser/notifications/win/notification_presenter_win.h", "shell/browser/notifications/win/notification_presenter_win7.cc", "shell/browser/notifications/win/notification_presenter_win7.h", + "shell/browser/notifications/win/win32_desktop_notifications/common.h", + "shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.cc", + "shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.h", + "shell/browser/notifications/win/win32_desktop_notifications/toast_uia.cc", + "shell/browser/notifications/win/win32_desktop_notifications/toast_uia.h", + "shell/browser/notifications/win/win32_desktop_notifications/toast.cc", + "shell/browser/notifications/win/win32_desktop_notifications/toast.h", + "shell/browser/notifications/win/win32_notification.cc", + "shell/browser/notifications/win/win32_notification.h", + "shell/browser/notifications/win/windows_toast_notification.cc", + "shell/browser/notifications/win/windows_toast_notification.h", "shell/browser/relauncher_win.cc", "shell/browser/ui/certificate_trust_win.cc", "shell/browser/ui/file_dialog_win.cc", @@ -68,39 +79,28 @@ filenames = { "shell/browser/ui/views/electron_views_delegate_win.cc", "shell/browser/ui/views/win_frame_view.cc", "shell/browser/ui/views/win_frame_view.h", + "shell/browser/ui/win/dialog_thread.cc", + "shell/browser/ui/win/dialog_thread.h", + "shell/browser/ui/win/electron_desktop_native_widget_aura.cc", + "shell/browser/ui/win/electron_desktop_native_widget_aura.h", "shell/browser/ui/win/electron_desktop_window_tree_host_win.cc", "shell/browser/ui/win/electron_desktop_window_tree_host_win.h", + "shell/browser/ui/win/jump_list.cc", + "shell/browser/ui/win/jump_list.h", + "shell/browser/ui/win/notify_icon_host.cc", + "shell/browser/ui/win/notify_icon_host.h", + "shell/browser/ui/win/notify_icon.cc", + "shell/browser/ui/win/notify_icon.h", + "shell/browser/ui/win/taskbar_host.cc", + "shell/browser/ui/win/taskbar_host.h", + "shell/browser/win/scoped_hstring.cc", + "shell/browser/win/scoped_hstring.h", "shell/common/api/electron_api_native_image_win.cc", "shell/common/application_info_win.cc", "shell/common/language_util_win.cc", "shell/common/node_bindings_win.cc", "shell/common/node_bindings_win.h", "shell/common/platform_util_win.cc", - "shell/browser/notifications/win/win32_desktop_notifications/common.h", - "shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.cc", - "shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.h", - "shell/browser/notifications/win/win32_desktop_notifications/toast.cc", - "shell/browser/notifications/win/win32_desktop_notifications/toast.h", - "shell/browser/notifications/win/win32_desktop_notifications/toast_uia.cc", - "shell/browser/notifications/win/win32_desktop_notifications/toast_uia.h", - "shell/browser/notifications/win/win32_notification.cc", - "shell/browser/notifications/win/win32_notification.h", - "shell/browser/notifications/win/windows_toast_notification.cc", - "shell/browser/notifications/win/windows_toast_notification.h", - "shell/browser/ui/win/dialog_thread.cc", - "shell/browser/ui/win/dialog_thread.h", - "shell/browser/ui/win/electron_desktop_native_widget_aura.cc", - "shell/browser/ui/win/electron_desktop_native_widget_aura.h", - "shell/browser/ui/win/jump_list.cc", - "shell/browser/ui/win/jump_list.h", - "shell/browser/ui/win/notify_icon.cc", - "shell/browser/ui/win/notify_icon.h", - "shell/browser/ui/win/notify_icon_host.cc", - "shell/browser/ui/win/notify_icon_host.h", - "shell/browser/ui/win/taskbar_host.cc", - "shell/browser/ui/win/taskbar_host.h", - "shell/browser/win/scoped_hstring.cc", - "shell/browser/win/scoped_hstring.h", ] lib_sources_mac = [ @@ -116,22 +116,56 @@ filenames = { "shell/browser/api/electron_api_web_contents_mac.mm", "shell/browser/auto_updater_mac.mm", "shell/browser/browser_mac.mm", - "shell/browser/notifications/mac/notification_center_delegate.h", - "shell/browser/notifications/mac/notification_center_delegate.mm", - "shell/common/mac/main_application_bundle.h", - "shell/common/mac/main_application_bundle.mm", "shell/browser/common_web_contents_delegate_mac.mm", "shell/browser/electron_browser_main_parts_mac.mm", + "shell/browser/mac/dict_util.h", + "shell/browser/mac/dict_util.mm", + "shell/browser/mac/electron_application_delegate.h", + "shell/browser/mac/electron_application_delegate.mm", + "shell/browser/mac/electron_application.h", + "shell/browser/mac/electron_application.mm", + "shell/browser/mac/in_app_purchase_observer.h", + "shell/browser/mac/in_app_purchase_observer.mm", + "shell/browser/mac/in_app_purchase_product.h", + "shell/browser/mac/in_app_purchase_product.mm", + "shell/browser/mac/in_app_purchase.h", + "shell/browser/mac/in_app_purchase.mm", "shell/browser/native_browser_view_mac.h", "shell/browser/native_browser_view_mac.mm", "shell/browser/native_window_mac.h", "shell/browser/native_window_mac.mm", + "shell/browser/notifications/mac/cocoa_notification.h", + "shell/browser/notifications/mac/cocoa_notification.mm", + "shell/browser/notifications/mac/notification_center_delegate.h", + "shell/browser/notifications/mac/notification_center_delegate.mm", "shell/browser/notifications/mac/notification_presenter_mac.h", "shell/browser/notifications/mac/notification_presenter_mac.mm", "shell/browser/relauncher_mac.cc", "shell/browser/ui/certificate_trust_mac.mm", + "shell/browser/ui/cocoa/delayed_native_view_host.cc", + "shell/browser/ui/cocoa/delayed_native_view_host.h", + "shell/browser/ui/cocoa/electron_bundle_mover.h", + "shell/browser/ui/cocoa/electron_bundle_mover.mm", + "shell/browser/ui/cocoa/electron_inspectable_web_contents_view.h", + "shell/browser/ui/cocoa/electron_inspectable_web_contents_view.mm", + "shell/browser/ui/cocoa/electron_menu_controller.h", + "shell/browser/ui/cocoa/electron_menu_controller.mm", "shell/browser/ui/cocoa/electron_native_widget_mac.h", "shell/browser/ui/cocoa/electron_native_widget_mac.mm", + "shell/browser/ui/cocoa/electron_ns_window_delegate.h", + "shell/browser/ui/cocoa/electron_ns_window_delegate.mm", + "shell/browser/ui/cocoa/electron_ns_window.h", + "shell/browser/ui/cocoa/electron_ns_window.mm", + "shell/browser/ui/cocoa/electron_preview_item.h", + "shell/browser/ui/cocoa/electron_preview_item.mm", + "shell/browser/ui/cocoa/electron_touch_bar.h", + "shell/browser/ui/cocoa/electron_touch_bar.mm", + "shell/browser/ui/cocoa/event_dispatching_window.h", + "shell/browser/ui/cocoa/event_dispatching_window.mm", + "shell/browser/ui/cocoa/NSColor+Hex.h", + "shell/browser/ui/cocoa/NSColor+Hex.mm", + "shell/browser/ui/cocoa/NSString+ANSI.h", + "shell/browser/ui/cocoa/NSString+ANSI.mm", "shell/browser/ui/cocoa/root_view_mac.h", "shell/browser/ui/cocoa/root_view_mac.mm", "shell/browser/ui/cocoa/views_delegate_mac.h", @@ -141,51 +175,17 @@ filenames = { "shell/browser/ui/inspectable_web_contents_view_mac.h", "shell/browser/ui/inspectable_web_contents_view_mac.mm", "shell/browser/ui/message_box_mac.mm", + "shell/browser/ui/tray_icon_cocoa.h", + "shell/browser/ui/tray_icon_cocoa.mm", "shell/common/api/electron_api_clipboard_mac.mm", "shell/common/api/electron_api_native_image_mac.mm", "shell/common/application_info_mac.mm", "shell/common/language_util_mac.mm", + "shell/common/mac/main_application_bundle.h", + "shell/common/mac/main_application_bundle.mm", "shell/common/node_bindings_mac.cc", "shell/common/node_bindings_mac.h", "shell/common/platform_util_mac.mm", - "shell/browser/notifications/mac/cocoa_notification.h", - "shell/browser/notifications/mac/cocoa_notification.mm", - "shell/browser/ui/cocoa/NSColor+Hex.h", - "shell/browser/ui/cocoa/NSColor+Hex.mm", - "shell/browser/ui/cocoa/NSString+ANSI.h", - "shell/browser/ui/cocoa/NSString+ANSI.mm", - "shell/browser/ui/cocoa/delayed_native_view_host.cc", - "shell/browser/ui/cocoa/delayed_native_view_host.h", - "shell/browser/ui/cocoa/electron_bundle_mover.h", - "shell/browser/ui/cocoa/electron_bundle_mover.mm", - "shell/browser/ui/cocoa/electron_inspectable_web_contents_view.h", - "shell/browser/ui/cocoa/electron_inspectable_web_contents_view.mm", - "shell/browser/ui/cocoa/electron_menu_controller.h", - "shell/browser/ui/cocoa/electron_menu_controller.mm", - "shell/browser/ui/cocoa/electron_ns_window.h", - "shell/browser/ui/cocoa/electron_ns_window.mm", - "shell/browser/ui/cocoa/electron_ns_window_delegate.h", - "shell/browser/ui/cocoa/electron_ns_window_delegate.mm", - "shell/browser/ui/cocoa/electron_preview_item.h", - "shell/browser/ui/cocoa/electron_preview_item.mm", - "shell/browser/ui/cocoa/electron_touch_bar.h", - "shell/browser/ui/cocoa/electron_touch_bar.mm", - "shell/browser/ui/cocoa/event_dispatching_window.h", - "shell/browser/ui/cocoa/event_dispatching_window.mm", - "shell/browser/ui/tray_icon_cocoa.h", - "shell/browser/ui/tray_icon_cocoa.mm", - "shell/browser/mac/dict_util.h", - "shell/browser/mac/dict_util.mm", - "shell/browser/mac/electron_application.h", - "shell/browser/mac/electron_application.mm", - "shell/browser/mac/electron_application_delegate.h", - "shell/browser/mac/electron_application_delegate.mm", - "shell/browser/mac/in_app_purchase.h", - "shell/browser/mac/in_app_purchase.mm", - "shell/browser/mac/in_app_purchase_observer.h", - "shell/browser/mac/in_app_purchase_observer.mm", - "shell/browser/mac/in_app_purchase_product.h", - "shell/browser/mac/in_app_purchase_product.mm", ] lib_sources_views = [ @@ -198,14 +198,14 @@ filenames = { "shell/browser/native_window_views.cc", "shell/browser/native_window_views.h", "shell/browser/ui/drag_util_views.cc", - "shell/browser/ui/views/inspectable_web_contents_view_views.cc", - "shell/browser/ui/views/inspectable_web_contents_view_views.h", "shell/browser/ui/views/autofill_popup_view.cc", "shell/browser/ui/views/autofill_popup_view.h", "shell/browser/ui/views/electron_views_delegate.cc", "shell/browser/ui/views/electron_views_delegate.h", "shell/browser/ui/views/frameless_view.cc", "shell/browser/ui/views/frameless_view.h", + "shell/browser/ui/views/inspectable_web_contents_view_views.cc", + "shell/browser/ui/views/inspectable_web_contents_view_views.h", "shell/browser/ui/views/menu_bar.cc", "shell/browser/ui/views/menu_bar.h", "shell/browser/ui/views/menu_delegate.cc", @@ -657,16 +657,16 @@ filenames = { lib_sources_extensions = [ "shell/browser/extensions/api/i18n/i18n_api.cc", "shell/browser/extensions/api/i18n/i18n_api.h", + "shell/browser/extensions/api/management/electron_management_api_delegate.cc", + "shell/browser/extensions/api/management/electron_management_api_delegate.h", "shell/browser/extensions/api/resources_private/resources_private_api.cc", "shell/browser/extensions/api/resources_private/resources_private_api.h", "shell/browser/extensions/api/runtime/electron_runtime_api_delegate.cc", "shell/browser/extensions/api/runtime/electron_runtime_api_delegate.h", - "shell/browser/extensions/api/management/electron_management_api_delegate.cc", - "shell/browser/extensions/api/management/electron_management_api_delegate.h", - "shell/browser/extensions/api/tabs/tabs_api.cc", - "shell/browser/extensions/api/tabs/tabs_api.h", "shell/browser/extensions/api/streams_private/streams_private_api.cc", "shell/browser/extensions/api/streams_private/streams_private_api.h", + "shell/browser/extensions/api/tabs/tabs_api.cc", + "shell/browser/extensions/api/tabs/tabs_api.h", "shell/browser/extensions/electron_browser_context_keyed_service_factories.cc", "shell/browser/extensions/electron_browser_context_keyed_service_factories.h", "shell/browser/extensions/electron_component_extension_resource_manager.cc", @@ -679,10 +679,10 @@ filenames = { "shell/browser/extensions/electron_extension_loader.h", "shell/browser/extensions/electron_extension_message_filter.cc", "shell/browser/extensions/electron_extension_message_filter.h", - "shell/browser/extensions/electron_extension_system.cc", - "shell/browser/extensions/electron_extension_system.h", "shell/browser/extensions/electron_extension_system_factory.cc", "shell/browser/extensions/electron_extension_system_factory.h", + "shell/browser/extensions/electron_extension_system.cc", + "shell/browser/extensions/electron_extension_system.h", "shell/browser/extensions/electron_extension_web_contents_observer.cc", "shell/browser/extensions/electron_extension_web_contents_observer.h", "shell/browser/extensions/electron_extensions_api_client.cc",