]> khamidou — GitHub mirrors - electron.git/commitdiff
Move all sources under atom/.
authorCheng Zhao <zcbenz@gmail.com>
Sun, 16 Mar 2014 00:30:26 +0000 (08:30 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sun, 16 Mar 2014 00:30:26 +0000 (08:30 +0800)
217 files changed:
atom.gyp
atom/app/atom_library_main.cc [moved from app/atom_library_main.cc with 82% similarity]
atom/app/atom_library_main.h [moved from app/atom_library_main.h with 100% similarity]
atom/app/atom_main.cc [moved from app/atom_main.cc with 94% similarity]
atom/app/atom_main.h [moved from app/atom_main.h with 100% similarity]
atom/app/atom_main_delegate.cc [moved from app/atom_main_delegate.cc with 95% similarity]
atom/app/atom_main_delegate.h [moved from app/atom_main_delegate.h with 100% similarity]
atom/app/atom_main_delegate_mac.mm [moved from app/atom_main_delegate_mac.mm with 97% similarity]
atom/browser/api/atom_api_app.cc [moved from browser/api/atom_api_app.cc with 97% similarity]
atom/browser/api/atom_api_app.h [moved from browser/api/atom_api_app.h with 96% similarity]
atom/browser/api/atom_api_auto_updater.cc [moved from browser/api/atom_api_auto_updater.cc with 93% similarity]
atom/browser/api/atom_api_auto_updater.h [moved from browser/api/atom_api_auto_updater.h with 94% similarity]
atom/browser/api/atom_api_browser_ipc.cc [moved from browser/api/atom_api_browser_ipc.cc with 86% similarity]
atom/browser/api/atom_api_browser_ipc.h [moved from browser/api/atom_api_browser_ipc.h with 100% similarity]
atom/browser/api/atom_api_dialog.cc [moved from browser/api/atom_api_dialog.cc with 93% similarity]
atom/browser/api/atom_api_dialog.h [moved from browser/api/atom_api_dialog.h with 100% similarity]
atom/browser/api/atom_api_event.cc [moved from browser/api/atom_api_event.cc with 91% similarity]
atom/browser/api/atom_api_event.h [moved from browser/api/atom_api_event.h with 94% similarity]
atom/browser/api/atom_api_menu.cc [moved from browser/api/atom_api_menu.cc with 98% similarity]
atom/browser/api/atom_api_menu.h [moved from browser/api/atom_api_menu.h with 98% similarity]
atom/browser/api/atom_api_menu_gtk.cc [moved from browser/api/atom_api_menu_gtk.cc with 89% similarity]
atom/browser/api/atom_api_menu_gtk.h [moved from browser/api/atom_api_menu_gtk.h with 88% similarity]
atom/browser/api/atom_api_menu_mac.h [moved from browser/api/atom_api_menu_mac.h with 89% similarity]
atom/browser/api/atom_api_menu_mac.mm [moved from browser/api/atom_api_menu_mac.mm with 95% similarity]
atom/browser/api/atom_api_menu_win.cc [moved from browser/api/atom_api_menu_win.cc with 83% similarity]
atom/browser/api/atom_api_menu_win.h [moved from browser/api/atom_api_menu_win.h with 93% similarity]
atom/browser/api/atom_api_power_monitor.cc [moved from browser/api/atom_api_power_monitor.cc with 94% similarity]
atom/browser/api/atom_api_power_monitor.h [moved from browser/api/atom_api_power_monitor.h with 95% similarity]
atom/browser/api/atom_api_protocol.cc [moved from browser/api/atom_api_protocol.cc with 97% similarity]
atom/browser/api/atom_api_protocol.h [moved from browser/api/atom_api_protocol.h with 100% similarity]
atom/browser/api/atom_api_window.cc [moved from browser/api/atom_api_window.cc with 99% similarity]
atom/browser/api/atom_api_window.h [moved from browser/api/atom_api_window.h with 97% similarity]
atom/browser/api/atom_browser_bindings.cc [moved from browser/api/atom_browser_bindings.cc with 93% similarity]
atom/browser/api/atom_browser_bindings.h [moved from browser/api/atom_browser_bindings.h with 93% similarity]
atom/browser/api/lib/app.coffee [moved from browser/api/lib/app.coffee with 100% similarity]
atom/browser/api/lib/atom-delegate.coffee [moved from browser/api/lib/atom-delegate.coffee with 100% similarity]
atom/browser/api/lib/auto-updater.coffee [moved from browser/api/lib/auto-updater.coffee with 100% similarity]
atom/browser/api/lib/browser-window.coffee [moved from browser/api/lib/browser-window.coffee with 100% similarity]
atom/browser/api/lib/dialog.coffee [moved from browser/api/lib/dialog.coffee with 100% similarity]
atom/browser/api/lib/ipc.coffee [moved from browser/api/lib/ipc.coffee with 100% similarity]
atom/browser/api/lib/menu-item.coffee [moved from browser/api/lib/menu-item.coffee with 100% similarity]
atom/browser/api/lib/menu.coffee [moved from browser/api/lib/menu.coffee with 100% similarity]
atom/browser/api/lib/power-monitor.coffee [moved from browser/api/lib/power-monitor.coffee with 100% similarity]
atom/browser/api/lib/protocol.coffee [moved from browser/api/lib/protocol.coffee with 100% similarity]
atom/browser/atom_application_delegate_mac.h [moved from browser/atom_application_delegate_mac.h with 100% similarity]
atom/browser/atom_application_delegate_mac.mm [moved from browser/atom_application_delegate_mac.mm with 90% similarity]
atom/browser/atom_application_mac.h [moved from browser/atom_application_mac.h with 100% similarity]
atom/browser/atom_application_mac.mm [moved from browser/atom_application_mac.mm with 93% similarity]
atom/browser/atom_browser_client.cc [moved from browser/atom_browser_client.cc with 93% similarity]
atom/browser/atom_browser_client.h [moved from browser/atom_browser_client.h with 100% similarity]
atom/browser/atom_browser_context.cc [moved from browser/atom_browser_context.cc with 93% similarity]
atom/browser/atom_browser_context.h [moved from browser/atom_browser_context.h with 100% similarity]
atom/browser/atom_browser_main_parts.cc [moved from browser/atom_browser_main_parts.cc with 89% similarity]
atom/browser/atom_browser_main_parts.h [moved from browser/atom_browser_main_parts.h with 100% similarity]
atom/browser/atom_browser_main_parts_mac.mm [moved from browser/atom_browser_main_parts_mac.mm with 90% similarity]
atom/browser/atom_javascript_dialog_manager.cc [moved from browser/atom_javascript_dialog_manager.cc with 94% similarity]
atom/browser/atom_javascript_dialog_manager.h [moved from browser/atom_javascript_dialog_manager.h with 100% similarity]
atom/browser/auto_updater.cc [moved from browser/auto_updater.cc with 91% similarity]
atom/browser/auto_updater.h [moved from browser/auto_updater.h with 100% similarity]
atom/browser/auto_updater_delegate.h [moved from browser/auto_updater_delegate.h with 100% similarity]
atom/browser/auto_updater_linux.cc [moved from browser/auto_updater_linux.cc with 89% similarity]
atom/browser/auto_updater_mac.mm [moved from browser/auto_updater_mac.mm with 97% similarity]
atom/browser/auto_updater_win.cc [moved from browser/auto_updater_win.cc with 89% similarity]
atom/browser/browser.cc [moved from browser/browser.cc with 95% similarity]
atom/browser/browser.h [moved from browser/browser.h with 96% similarity]
atom/browser/browser_linux.cc [moved from browser/browser_linux.cc with 84% similarity]
atom/browser/browser_mac.mm [moved from browser/browser_mac.mm with 95% similarity]
atom/browser/browser_observer.h [moved from browser/browser_observer.h with 100% similarity]
atom/browser/browser_win.cc [moved from browser/browser_win.cc with 96% similarity]
atom/browser/default_app/default_app.js [moved from browser/default_app/default_app.js with 100% similarity]
atom/browser/default_app/index.html [moved from browser/default_app/index.html with 100% similarity]
atom/browser/default_app/main.js [moved from browser/default_app/main.js with 100% similarity]
atom/browser/default_app/package.json [moved from browser/default_app/package.json with 100% similarity]
atom/browser/devtools_delegate.cc [moved from browser/devtools_delegate.cc with 97% similarity]
atom/browser/devtools_delegate.h [moved from browser/devtools_delegate.h with 98% similarity]
atom/browser/lib/init.coffee [moved from browser/lib/init.coffee with 100% similarity]
atom/browser/lib/objects-registry.coffee [moved from browser/lib/objects-registry.coffee with 100% similarity]
atom/browser/lib/rpc-server.coffee [moved from browser/lib/rpc-server.coffee with 100% similarity]
atom/browser/native_window.cc [moved from browser/native_window.cc with 97% similarity]
atom/browser/native_window.h [moved from browser/native_window.h with 99% similarity]
atom/browser/native_window_gtk.cc [moved from browser/native_window_gtk.cc with 98% similarity]
atom/browser/native_window_gtk.h [moved from browser/native_window_gtk.h with 97% similarity]
atom/browser/native_window_mac.h [moved from browser/native_window_mac.h with 98% similarity]
atom/browser/native_window_mac.mm [moved from browser/native_window_mac.mm with 98% similarity]
atom/browser/native_window_observer.h [moved from browser/native_window_observer.h with 100% similarity]
atom/browser/native_window_win.cc [moved from browser/native_window_win.cc with 98% similarity]
atom/browser/native_window_win.h [moved from browser/native_window_win.h with 98% similarity]
atom/browser/net/adapter_request_job.cc [moved from browser/net/adapter_request_job.cc with 97% similarity]
atom/browser/net/adapter_request_job.h [moved from browser/net/adapter_request_job.h with 100% similarity]
atom/browser/net/atom_url_request_context_getter.cc [moved from browser/net/atom_url_request_context_getter.cc with 98% similarity]
atom/browser/net/atom_url_request_context_getter.h [moved from browser/net/atom_url_request_context_getter.h with 100% similarity]
atom/browser/net/atom_url_request_job_factory.cc [moved from browser/net/atom_url_request_job_factory.cc with 98% similarity]
atom/browser/net/atom_url_request_job_factory.h [moved from browser/net/atom_url_request_job_factory.h with 100% similarity]
atom/browser/net/url_request_string_job.cc [moved from browser/net/url_request_string_job.cc with 94% similarity]
atom/browser/net/url_request_string_job.h [moved from browser/net/url_request_string_job.h with 100% similarity]
atom/browser/resources/mac/Info.plist [moved from browser/resources/mac/Info.plist with 100% similarity]
atom/browser/resources/mac/atom.icns [moved from browser/resources/mac/atom.icns with 100% similarity]
atom/browser/resources/win/atom.ico [moved from browser/resources/win/atom.ico with 100% similarity]
atom/browser/resources/win/atom.rc [moved from browser/resources/win/atom.rc with 100% similarity]
atom/browser/resources/win/resource.h [moved from browser/resources/win/resource.h with 100% similarity]
atom/browser/ui/accelerator_util.cc [moved from browser/ui/accelerator_util.cc with 99% similarity]
atom/browser/ui/accelerator_util.h [moved from browser/ui/accelerator_util.h with 100% similarity]
atom/browser/ui/accelerator_util_gtk.cc [moved from browser/ui/accelerator_util_gtk.cc with 93% similarity]
atom/browser/ui/accelerator_util_mac.mm [moved from browser/ui/accelerator_util_mac.mm with 96% similarity]
atom/browser/ui/accelerator_util_win.cc [moved from browser/ui/accelerator_util_win.cc with 87% similarity]
atom/browser/ui/cocoa/atom_menu_controller.h [moved from browser/ui/cocoa/atom_menu_controller.h with 100% similarity]
atom/browser/ui/cocoa/atom_menu_controller.mm [moved from browser/ui/cocoa/atom_menu_controller.mm with 99% similarity]
atom/browser/ui/cocoa/event_processing_window.h [moved from browser/ui/cocoa/event_processing_window.h with 100% similarity]
atom/browser/ui/cocoa/event_processing_window.mm [moved from browser/ui/cocoa/event_processing_window.mm with 98% similarity]
atom/browser/ui/file_dialog.h [moved from browser/ui/file_dialog.h with 100% similarity]
atom/browser/ui/file_dialog_gtk.cc [moved from browser/ui/file_dialog_gtk.cc with 98% similarity]
atom/browser/ui/file_dialog_mac.mm [moved from browser/ui/file_dialog_mac.mm with 98% similarity]
atom/browser/ui/file_dialog_win.cc [moved from browser/ui/file_dialog_win.cc with 99% similarity]
atom/browser/ui/gtk/event_utils.cc [moved from browser/ui/gtk/event_utils.cc with 97% similarity]
atom/browser/ui/gtk/event_utils.h [moved from browser/ui/gtk/event_utils.h with 100% similarity]
atom/browser/ui/gtk/gtk_custom_menu.cc [moved from browser/ui/gtk/gtk_custom_menu.cc with 98% similarity]
atom/browser/ui/gtk/gtk_custom_menu.h [moved from browser/ui/gtk/gtk_custom_menu.h with 100% similarity]
atom/browser/ui/gtk/gtk_custom_menu_item.cc [moved from browser/ui/gtk/gtk_custom_menu_item.cc with 99% similarity]
atom/browser/ui/gtk/gtk_custom_menu_item.h [moved from browser/ui/gtk/gtk_custom_menu_item.h with 100% similarity]
atom/browser/ui/gtk/gtk_util.cc [moved from browser/ui/gtk/gtk_util.cc with 98% similarity]
atom/browser/ui/gtk/gtk_util.h [moved from browser/ui/gtk/gtk_util.h with 100% similarity]
atom/browser/ui/gtk/gtk_window_util.cc [moved from browser/ui/gtk/gtk_window_util.cc with 99% similarity]
atom/browser/ui/gtk/gtk_window_util.h [moved from browser/ui/gtk/gtk_window_util.h with 100% similarity]
atom/browser/ui/gtk/menu_gtk.cc [moved from browser/ui/gtk/menu_gtk.cc with 99% similarity]
atom/browser/ui/gtk/menu_gtk.h [moved from browser/ui/gtk/menu_gtk.h with 100% similarity]
atom/browser/ui/message_box.h [moved from browser/ui/message_box.h with 100% similarity]
atom/browser/ui/message_box_gtk.cc [moved from browser/ui/message_box_gtk.cc with 97% similarity]
atom/browser/ui/message_box_mac.mm [moved from browser/ui/message_box_mac.mm with 98% similarity]
atom/browser/ui/message_box_win.cc [moved from browser/ui/message_box_win.cc with 99% similarity]
atom/browser/ui/win/menu_2.cc [moved from browser/ui/win/menu_2.cc with 97% similarity]
atom/browser/ui/win/menu_2.h [moved from browser/ui/win/menu_2.h with 98% similarity]
atom/browser/ui/win/native_menu_win.cc [moved from browser/ui/win/native_menu_win.cc with 99% similarity]
atom/browser/ui/win/native_menu_win.h [moved from browser/ui/win/native_menu_win.h with 100% similarity]
atom/browser/window_list.cc [moved from browser/window_list.cc with 94% similarity]
atom/browser/window_list.h [moved from browser/window_list.h with 100% similarity]
atom/browser/window_list_observer.h [moved from browser/window_list_observer.h with 100% similarity]
atom/common/api/api_messages.cc [moved from common/api/api_messages.cc with 73% similarity]
atom/common/api/api_messages.h [moved from common/api/api_messages.h with 97% similarity]
atom/common/api/atom_api_clipboard.cc [moved from common/api/atom_api_clipboard.cc with 94% similarity]
atom/common/api/atom_api_clipboard.h [moved from common/api/atom_api_clipboard.h with 100% similarity]
atom/common/api/atom_api_crash_reporter.cc [moved from common/api/atom_api_crash_reporter.cc with 82% similarity]
atom/common/api/atom_api_crash_reporter.h [moved from common/api/atom_api_crash_reporter.h with 100% similarity]
atom/common/api/atom_api_event_emitter.cc [moved from common/api/atom_api_event_emitter.cc with 91% similarity]
atom/common/api/atom_api_event_emitter.h [moved from common/api/atom_api_event_emitter.h with 100% similarity]
atom/common/api/atom_api_id_weak_map.cc [moved from common/api/atom_api_id_weak_map.cc with 96% similarity]
atom/common/api/atom_api_id_weak_map.h [moved from common/api/atom_api_id_weak_map.h with 96% similarity]
atom/common/api/atom_api_screen.cc [moved from common/api/atom_api_screen.cc with 94% similarity]
atom/common/api/atom_api_screen.h [moved from common/api/atom_api_screen.h with 94% similarity]
atom/common/api/atom_api_shell.cc [moved from common/api/atom_api_shell.cc with 91% similarity]
atom/common/api/atom_api_shell.h [moved from common/api/atom_api_shell.h with 100% similarity]
atom/common/api/atom_api_v8_util.cc [moved from common/api/atom_api_v8_util.cc with 92% similarity]
atom/common/api/atom_bindings.cc [moved from common/api/atom_bindings.cc with 97% similarity]
atom/common/api/atom_bindings.h [moved from common/api/atom_bindings.h with 100% similarity]
atom/common/api/atom_extensions.cc [moved from common/api/atom_extensions.cc with 91% similarity]
atom/common/api/atom_extensions.h [moved from common/api/atom_extensions.h with 100% similarity]
atom/common/api/lib/callbacks-registry.coffee [moved from common/api/lib/callbacks-registry.coffee with 100% similarity]
atom/common/api/lib/clipboard.coffee [moved from common/api/lib/clipboard.coffee with 100% similarity]
atom/common/api/lib/crash-reporter.coffee [moved from common/api/lib/crash-reporter.coffee with 100% similarity]
atom/common/api/lib/id-weak-map.coffee [moved from common/api/lib/id-weak-map.coffee with 100% similarity]
atom/common/api/lib/screen.coffee [moved from common/api/lib/screen.coffee with 100% similarity]
atom/common/api/lib/shell.coffee [moved from common/api/lib/shell.coffee with 100% similarity]
atom/common/api/object_life_monitor.cc [moved from common/api/object_life_monitor.cc with 95% similarity]
atom/common/api/object_life_monitor.h [moved from common/api/object_life_monitor.h with 94% similarity]
atom/common/atom_version.h [moved from common/atom_version.h with 100% similarity]
atom/common/crash_reporter/crash_reporter.cc [moved from common/crash_reporter/crash_reporter.cc with 91% similarity]
atom/common/crash_reporter/crash_reporter.h [moved from common/crash_reporter/crash_reporter.h with 100% similarity]
atom/common/crash_reporter/crash_reporter_linux.cc [moved from common/crash_reporter/crash_reporter_linux.cc with 98% similarity]
atom/common/crash_reporter/crash_reporter_linux.h [moved from common/crash_reporter/crash_reporter_linux.h with 93% similarity]
atom/common/crash_reporter/crash_reporter_mac.h [moved from common/crash_reporter/crash_reporter_mac.h with 95% similarity]
atom/common/crash_reporter/crash_reporter_mac.mm [moved from common/crash_reporter/crash_reporter_mac.mm with 97% similarity]
atom/common/crash_reporter/crash_reporter_win.cc [moved from common/crash_reporter/crash_reporter_win.cc with 98% similarity]
atom/common/crash_reporter/crash_reporter_win.h [moved from common/crash_reporter/crash_reporter_win.h with 97% similarity]
atom/common/crash_reporter/linux/crash_dump_handler.cc [moved from common/crash_reporter/linux/crash_dump_handler.cc with 99% similarity]
atom/common/crash_reporter/linux/crash_dump_handler.h [moved from common/crash_reporter/linux/crash_dump_handler.h with 100% similarity]
atom/common/crash_reporter/win/crash_service.cc [moved from common/crash_reporter/win/crash_service.cc with 99% similarity]
atom/common/crash_reporter/win/crash_service.h [moved from common/crash_reporter/win/crash_service.h with 100% similarity]
atom/common/crash_reporter/win/crash_service_main.cc [moved from common/crash_reporter/win/crash_service_main.cc with 96% similarity]
atom/common/crash_reporter/win/crash_service_main.h [moved from common/crash_reporter/win/crash_service_main.h with 100% similarity]
atom/common/draggable_region.cc [moved from common/draggable_region.cc with 86% similarity]
atom/common/draggable_region.h [moved from common/draggable_region.h with 100% similarity]
atom/common/lib/init.coffee [moved from common/lib/init.coffee with 100% similarity]
atom/common/linux/application_info.cc [moved from common/linux/application_info.cc with 90% similarity]
atom/common/node_bindings.cc [moved from common/node_bindings.cc with 98% similarity]
atom/common/node_bindings.h [moved from common/node_bindings.h with 100% similarity]
atom/common/node_bindings_linux.cc [moved from common/node_bindings_linux.cc with 97% similarity]
atom/common/node_bindings_linux.h [moved from common/node_bindings_linux.h with 95% similarity]
atom/common/node_bindings_mac.cc [moved from common/node_bindings_mac.cc with 95% similarity]
atom/common/node_bindings_mac.h [moved from common/node_bindings_mac.h with 95% similarity]
atom/common/node_bindings_win.cc [moved from common/node_bindings_win.cc with 97% similarity]
atom/common/node_bindings_win.h [moved from common/node_bindings_win.h with 93% similarity]
atom/common/options_switches.cc [moved from common/options_switches.cc with 96% similarity]
atom/common/options_switches.h [moved from common/options_switches.h with 100% similarity]
atom/common/platform_util.h [moved from common/platform_util.h with 100% similarity]
atom/common/platform_util_linux.cc [moved from common/platform_util_linux.cc with 98% similarity]
atom/common/platform_util_mac.mm [moved from common/platform_util_mac.mm with 99% similarity]
atom/common/platform_util_win.cc [moved from common/platform_util_win.cc with 99% similarity]
atom/common/resources/mac/Info.plist [moved from common/resources/mac/Info.plist with 100% similarity]
atom/common/resources/mac/MainMenu.xib [moved from common/resources/mac/MainMenu.xib with 100% similarity]
atom/common/swap_or_assign.h [moved from common/swap_or_assign.h with 100% similarity]
atom/common/v8/native_type_conversions.h [moved from common/v8/native_type_conversions.h with 98% similarity]
atom/common/v8/node_common.h [moved from common/v8/node_common.h with 100% similarity]
atom/common/v8/scoped_persistent.h [moved from common/v8/scoped_persistent.h with 100% similarity]
atom/common/v8/v8_value_converter.cc [moved from common/v8/v8_value_converter.cc with 99% similarity]
atom/common/v8/v8_value_converter.h [moved from common/v8/v8_value_converter.h with 100% similarity]
atom/renderer/api/atom_api_renderer_ipc.cc [moved from renderer/api/atom_api_renderer_ipc.cc with 92% similarity]
atom/renderer/api/atom_api_renderer_ipc.h [moved from renderer/api/atom_api_renderer_ipc.h with 100% similarity]
atom/renderer/api/atom_renderer_bindings.cc [moved from renderer/api/atom_renderer_bindings.cc with 93% similarity]
atom/renderer/api/atom_renderer_bindings.h [moved from renderer/api/atom_renderer_bindings.h with 95% similarity]
atom/renderer/api/lib/ipc.coffee [moved from renderer/api/lib/ipc.coffee with 100% similarity]
atom/renderer/api/lib/remote.coffee [moved from renderer/api/lib/remote.coffee with 100% similarity]
atom/renderer/atom_render_view_observer.cc [moved from renderer/atom_render_view_observer.cc with 89% similarity]
atom/renderer/atom_render_view_observer.h [moved from renderer/atom_render_view_observer.h with 100% similarity]
atom/renderer/atom_renderer_client.cc [moved from renderer/atom_renderer_client.cc with 95% similarity]
atom/renderer/atom_renderer_client.h [moved from renderer/atom_renderer_client.h with 100% similarity]
atom/renderer/lib/init.coffee [moved from renderer/lib/init.coffee with 100% similarity]
atom/renderer/lib/override.coffee [moved from renderer/lib/override.coffee with 100% similarity]
atom/renderer/resources/mac/Info.plist [moved from renderer/resources/mac/Info.plist with 100% similarity]

index 84d2fb9108053e4900349d1c1f824b7fda8b7d2a..a6ca448d78d52acf9cdf8c17e597234d17159de4 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
     'product_name': 'Atom',
     'framework_name': 'Atom Framework',
     'app_sources': [
-      'app/atom_main.cc',
-      'app/atom_main.h',
+      'atom/app/atom_main.cc',
+      'atom/app/atom_main.h',
     ],
     'bundle_sources': [
-      'browser/resources/mac/atom.icns',
+      'atom/browser/resources/mac/atom.icns',
     ],
     'coffee_sources': [
-      'browser/api/lib/app.coffee',
-      'browser/api/lib/atom-delegate.coffee',
-      'browser/api/lib/auto-updater.coffee',
-      'browser/api/lib/browser-window.coffee',
-      'browser/api/lib/dialog.coffee',
-      'browser/api/lib/ipc.coffee',
-      'browser/api/lib/menu.coffee',
-      'browser/api/lib/menu-item.coffee',
-      'browser/api/lib/power-monitor.coffee',
-      'browser/api/lib/protocol.coffee',
-      'browser/lib/init.coffee',
-      'browser/lib/objects-registry.coffee',
-      'browser/lib/rpc-server.coffee',
-      'common/api/lib/callbacks-registry.coffee',
-      'common/api/lib/clipboard.coffee',
-      'common/api/lib/crash-reporter.coffee',
-      'common/api/lib/id-weak-map.coffee',
-      'common/api/lib/screen.coffee',
-      'common/api/lib/shell.coffee',
-      'common/lib/init.coffee',
-      'renderer/lib/init.coffee',
-      'renderer/lib/override.coffee',
-      'renderer/api/lib/ipc.coffee',
-      'renderer/api/lib/remote.coffee',
+      'atom/browser/api/lib/app.coffee',
+      'atom/browser/api/lib/atom-delegate.coffee',
+      'atom/browser/api/lib/auto-updater.coffee',
+      'atom/browser/api/lib/browser-window.coffee',
+      'atom/browser/api/lib/dialog.coffee',
+      'atom/browser/api/lib/ipc.coffee',
+      'atom/browser/api/lib/menu.coffee',
+      'atom/browser/api/lib/menu-item.coffee',
+      'atom/browser/api/lib/power-monitor.coffee',
+      'atom/browser/api/lib/protocol.coffee',
+      'atom/browser/lib/init.coffee',
+      'atom/browser/lib/objects-registry.coffee',
+      'atom/browser/lib/rpc-server.coffee',
+      'atom/common/api/lib/callbacks-registry.coffee',
+      'atom/common/api/lib/clipboard.coffee',
+      'atom/common/api/lib/crash-reporter.coffee',
+      'atom/common/api/lib/id-weak-map.coffee',
+      'atom/common/api/lib/screen.coffee',
+      'atom/common/api/lib/shell.coffee',
+      'atom/common/lib/init.coffee',
+      'atom/renderer/lib/init.coffee',
+      'atom/renderer/lib/override.coffee',
+      'atom/renderer/api/lib/ipc.coffee',
+      'atom/renderer/api/lib/remote.coffee',
     ],
     'lib_sources': [
-      'app/atom_main_delegate.cc',
-      'app/atom_main_delegate.h',
-      'app/atom_main_delegate_mac.mm',
-      'browser/api/atom_api_app.cc',
-      'browser/api/atom_api_app.h',
-      'browser/api/atom_api_auto_updater.cc',
-      'browser/api/atom_api_auto_updater.h',
-      'browser/api/atom_api_browser_ipc.cc',
-      'browser/api/atom_api_browser_ipc.h',
-      'browser/api/atom_api_dialog.cc',
-      'browser/api/atom_api_dialog.h',
-      'browser/api/atom_api_event.cc',
-      'browser/api/atom_api_event.h',
-      'browser/api/atom_api_menu.cc',
-      'browser/api/atom_api_menu.h',
-      'browser/api/atom_api_menu_gtk.cc',
-      'browser/api/atom_api_menu_gtk.h',
-      'browser/api/atom_api_menu_mac.h',
-      'browser/api/atom_api_menu_mac.mm',
-      'browser/api/atom_api_menu_win.cc',
-      'browser/api/atom_api_menu_win.h',
-      'browser/api/atom_api_power_monitor.cc',
-      'browser/api/atom_api_power_monitor.h',
-      'browser/api/atom_api_protocol.cc',
-      'browser/api/atom_api_protocol.h',
-      'browser/api/atom_api_window.cc',
-      'browser/api/atom_api_window.h',
-      'browser/api/atom_browser_bindings.cc',
-      'browser/api/atom_browser_bindings.h',
-      'browser/auto_updater.cc',
-      'browser/auto_updater.h',
-      'browser/auto_updater_delegate.h',
-      'browser/auto_updater_linux.cc',
-      'browser/auto_updater_mac.mm',
-      'browser/auto_updater_win.cc',
-      'browser/atom_application_mac.h',
-      'browser/atom_application_mac.mm',
-      'browser/atom_application_delegate_mac.h',
-      'browser/atom_application_delegate_mac.mm',
-      'browser/atom_browser_client.cc',
-      'browser/atom_browser_client.h',
-      'browser/atom_browser_context.cc',
-      'browser/atom_browser_context.h',
-      'browser/atom_browser_main_parts.cc',
-      'browser/atom_browser_main_parts.h',
-      'browser/atom_browser_main_parts_mac.mm',
-      'browser/atom_javascript_dialog_manager.cc',
-      'browser/atom_javascript_dialog_manager.h',
-      'browser/browser.cc',
-      'browser/browser.h',
-      'browser/browser_linux.cc',
-      'browser/browser_mac.mm',
-      'browser/browser_win.cc',
-      'browser/browser_observer.h',
-      'browser/devtools_delegate.cc',
-      'browser/devtools_delegate.h',
-      'browser/native_window.cc',
-      'browser/native_window.h',
-      'browser/native_window_gtk.cc',
-      'browser/native_window_gtk.h',
-      'browser/native_window_mac.h',
-      'browser/native_window_mac.mm',
-      'browser/native_window_win.cc',
-      'browser/native_window_win.h',
-      'browser/native_window_observer.h',
-      'browser/net/adapter_request_job.cc',
-      'browser/net/adapter_request_job.h',
-      'browser/net/atom_url_request_context_getter.cc',
-      'browser/net/atom_url_request_context_getter.h',
-      'browser/net/atom_url_request_job_factory.cc',
-      'browser/net/atom_url_request_job_factory.h',
-      'browser/net/url_request_string_job.cc',
-      'browser/net/url_request_string_job.h',
-      'browser/ui/accelerator_util.cc',
-      'browser/ui/accelerator_util.h',
-      'browser/ui/accelerator_util_gtk.cc',
-      'browser/ui/accelerator_util_mac.mm',
-      'browser/ui/accelerator_util_win.cc',
-      'browser/ui/cocoa/atom_menu_controller.h',
-      'browser/ui/cocoa/atom_menu_controller.mm',
-      'browser/ui/cocoa/event_processing_window.h',
-      'browser/ui/cocoa/event_processing_window.mm',
-      'browser/ui/file_dialog.h',
-      'browser/ui/file_dialog_gtk.cc',
-      'browser/ui/file_dialog_mac.mm',
-      'browser/ui/file_dialog_win.cc',
-      'browser/ui/gtk/gtk_custom_menu.cc',
-      'browser/ui/gtk/gtk_custom_menu.h',
-      'browser/ui/gtk/gtk_custom_menu_item.cc',
-      'browser/ui/gtk/gtk_custom_menu_item.h',
-      'browser/ui/gtk/gtk_util.cc',
-      'browser/ui/gtk/gtk_util.h',
-      'browser/ui/gtk/gtk_window_util.cc',
-      'browser/ui/gtk/gtk_window_util.h',
-      'browser/ui/gtk/event_utils.cc',
-      'browser/ui/gtk/event_utils.h',
-      'browser/ui/gtk/menu_gtk.cc',
-      'browser/ui/gtk/menu_gtk.h',
-      'browser/ui/message_box.h',
-      'browser/ui/message_box_gtk.cc',
-      'browser/ui/message_box_mac.mm',
-      'browser/ui/message_box_win.cc',
-      'browser/ui/win/menu_2.cc',
-      'browser/ui/win/menu_2.h',
-      'browser/ui/win/native_menu_win.cc',
-      'browser/ui/win/native_menu_win.h',
-      'browser/window_list.cc',
-      'browser/window_list.h',
-      'browser/window_list_observer.h',
-      'common/api/api_messages.cc',
-      'common/api/api_messages.h',
-      'common/api/atom_api_clipboard.cc',
-      'common/api/atom_api_clipboard.h',
-      'common/api/atom_api_crash_reporter.cc',
-      'common/api/atom_api_crash_reporter.h',
-      'common/api/atom_api_event_emitter.cc',
-      'common/api/atom_api_event_emitter.h',
-      'common/api/atom_api_id_weak_map.cc',
-      'common/api/atom_api_id_weak_map.h',
-      'common/api/atom_api_screen.cc',
-      'common/api/atom_api_screen.h',
-      'common/api/atom_api_shell.cc',
-      'common/api/atom_api_shell.h',
-      'common/api/atom_api_v8_util.cc',
-      'common/api/atom_bindings.cc',
-      'common/api/atom_bindings.h',
-      'common/api/atom_extensions.cc',
-      'common/api/atom_extensions.h',
-      'common/api/object_life_monitor.cc',
-      'common/api/object_life_monitor.h',
-      'common/crash_reporter/crash_reporter.cc',
-      'common/crash_reporter/crash_reporter.h',
-      'common/crash_reporter/crash_reporter_linux.cc',
-      'common/crash_reporter/crash_reporter_linux.h',
-      'common/crash_reporter/crash_reporter_mac.h',
-      'common/crash_reporter/crash_reporter_mac.mm',
-      'common/crash_reporter/crash_reporter_win.cc',
-      'common/crash_reporter/crash_reporter_win.h',
-      'common/crash_reporter/linux/crash_dump_handler.cc',
-      'common/crash_reporter/linux/crash_dump_handler.h',
-      'common/crash_reporter/win/crash_service.cc',
-      'common/crash_reporter/win/crash_service.h',
-      'common/crash_reporter/win/crash_service_main.cc',
-      'common/crash_reporter/win/crash_service_main.h',
-      'common/draggable_region.cc',
-      'common/draggable_region.h',
-      'common/linux/application_info.cc',
-      'common/node_bindings.cc',
-      'common/node_bindings.h',
-      'common/node_bindings_linux.cc',
-      'common/node_bindings_linux.h',
-      'common/node_bindings_mac.cc',
-      'common/node_bindings_mac.h',
-      'common/node_bindings_win.cc',
-      'common/node_bindings_win.h',
-      'common/options_switches.cc',
-      'common/options_switches.h',
-      'common/platform_util.h',
-      'common/platform_util_linux.cc',
-      'common/platform_util_mac.mm',
-      'common/platform_util_win.cc',
-      'common/swap_or_assign.h',
-      'common/v8/node_common.h',
-      'common/v8/scoped_persistent.h',
-      'common/v8/native_type_conversions.h',
-      'common/v8/v8_value_converter.cc',
-      'common/v8/v8_value_converter.h',
-      'renderer/api/atom_api_renderer_ipc.cc',
-      'renderer/api/atom_api_renderer_ipc.h',
-      'renderer/api/atom_renderer_bindings.cc',
-      'renderer/api/atom_renderer_bindings.h',
-      'renderer/atom_render_view_observer.cc',
-      'renderer/atom_render_view_observer.h',
-      'renderer/atom_renderer_client.cc',
-      'renderer/atom_renderer_client.h',
+      'atom/app/atom_main_delegate.cc',
+      'atom/app/atom_main_delegate.h',
+      'atom/app/atom_main_delegate_mac.mm',
+      'atom/browser/api/atom_api_app.cc',
+      'atom/browser/api/atom_api_app.h',
+      'atom/browser/api/atom_api_auto_updater.cc',
+      'atom/browser/api/atom_api_auto_updater.h',
+      'atom/browser/api/atom_api_browser_ipc.cc',
+      'atom/browser/api/atom_api_browser_ipc.h',
+      'atom/browser/api/atom_api_dialog.cc',
+      'atom/browser/api/atom_api_dialog.h',
+      'atom/browser/api/atom_api_event.cc',
+      'atom/browser/api/atom_api_event.h',
+      'atom/browser/api/atom_api_menu.cc',
+      'atom/browser/api/atom_api_menu.h',
+      'atom/browser/api/atom_api_menu_gtk.cc',
+      'atom/browser/api/atom_api_menu_gtk.h',
+      'atom/browser/api/atom_api_menu_mac.h',
+      'atom/browser/api/atom_api_menu_mac.mm',
+      'atom/browser/api/atom_api_menu_win.cc',
+      'atom/browser/api/atom_api_menu_win.h',
+      'atom/browser/api/atom_api_power_monitor.cc',
+      'atom/browser/api/atom_api_power_monitor.h',
+      'atom/browser/api/atom_api_protocol.cc',
+      'atom/browser/api/atom_api_protocol.h',
+      'atom/browser/api/atom_api_window.cc',
+      'atom/browser/api/atom_api_window.h',
+      'atom/browser/api/atom_browser_bindings.cc',
+      'atom/browser/api/atom_browser_bindings.h',
+      'atom/browser/auto_updater.cc',
+      'atom/browser/auto_updater.h',
+      'atom/browser/auto_updater_delegate.h',
+      'atom/browser/auto_updater_linux.cc',
+      'atom/browser/auto_updater_mac.mm',
+      'atom/browser/auto_updater_win.cc',
+      'atom/browser/atom_application_mac.h',
+      'atom/browser/atom_application_mac.mm',
+      'atom/browser/atom_application_delegate_mac.h',
+      'atom/browser/atom_application_delegate_mac.mm',
+      'atom/browser/atom_browser_client.cc',
+      'atom/browser/atom_browser_client.h',
+      'atom/browser/atom_browser_context.cc',
+      'atom/browser/atom_browser_context.h',
+      'atom/browser/atom_browser_main_parts.cc',
+      'atom/browser/atom_browser_main_parts.h',
+      'atom/browser/atom_browser_main_parts_mac.mm',
+      'atom/browser/atom_javascript_dialog_manager.cc',
+      'atom/browser/atom_javascript_dialog_manager.h',
+      'atom/browser/browser.cc',
+      'atom/browser/browser.h',
+      'atom/browser/browser_linux.cc',
+      'atom/browser/browser_mac.mm',
+      'atom/browser/browser_win.cc',
+      'atom/browser/browser_observer.h',
+      'atom/browser/devtools_delegate.cc',
+      'atom/browser/devtools_delegate.h',
+      'atom/browser/native_window.cc',
+      'atom/browser/native_window.h',
+      'atom/browser/native_window_gtk.cc',
+      'atom/browser/native_window_gtk.h',
+      'atom/browser/native_window_mac.h',
+      'atom/browser/native_window_mac.mm',
+      'atom/browser/native_window_win.cc',
+      'atom/browser/native_window_win.h',
+      'atom/browser/native_window_observer.h',
+      'atom/browser/net/adapter_request_job.cc',
+      'atom/browser/net/adapter_request_job.h',
+      'atom/browser/net/atom_url_request_context_getter.cc',
+      'atom/browser/net/atom_url_request_context_getter.h',
+      'atom/browser/net/atom_url_request_job_factory.cc',
+      'atom/browser/net/atom_url_request_job_factory.h',
+      'atom/browser/net/url_request_string_job.cc',
+      'atom/browser/net/url_request_string_job.h',
+      'atom/browser/ui/accelerator_util.cc',
+      'atom/browser/ui/accelerator_util.h',
+      'atom/browser/ui/accelerator_util_gtk.cc',
+      'atom/browser/ui/accelerator_util_mac.mm',
+      'atom/browser/ui/accelerator_util_win.cc',
+      'atom/browser/ui/cocoa/atom_menu_controller.h',
+      'atom/browser/ui/cocoa/atom_menu_controller.mm',
+      'atom/browser/ui/cocoa/event_processing_window.h',
+      'atom/browser/ui/cocoa/event_processing_window.mm',
+      'atom/browser/ui/file_dialog.h',
+      'atom/browser/ui/file_dialog_gtk.cc',
+      'atom/browser/ui/file_dialog_mac.mm',
+      'atom/browser/ui/file_dialog_win.cc',
+      'atom/browser/ui/gtk/gtk_custom_menu.cc',
+      'atom/browser/ui/gtk/gtk_custom_menu.h',
+      'atom/browser/ui/gtk/gtk_custom_menu_item.cc',
+      'atom/browser/ui/gtk/gtk_custom_menu_item.h',
+      'atom/browser/ui/gtk/gtk_util.cc',
+      'atom/browser/ui/gtk/gtk_util.h',
+      'atom/browser/ui/gtk/gtk_window_util.cc',
+      'atom/browser/ui/gtk/gtk_window_util.h',
+      'atom/browser/ui/gtk/event_utils.cc',
+      'atom/browser/ui/gtk/event_utils.h',
+      'atom/browser/ui/gtk/menu_gtk.cc',
+      'atom/browser/ui/gtk/menu_gtk.h',
+      'atom/browser/ui/message_box.h',
+      'atom/browser/ui/message_box_gtk.cc',
+      'atom/browser/ui/message_box_mac.mm',
+      'atom/browser/ui/message_box_win.cc',
+      'atom/browser/ui/win/menu_2.cc',
+      'atom/browser/ui/win/menu_2.h',
+      'atom/browser/ui/win/native_menu_win.cc',
+      'atom/browser/ui/win/native_menu_win.h',
+      'atom/browser/window_list.cc',
+      'atom/browser/window_list.h',
+      'atom/browser/window_list_observer.h',
+      'atom/common/api/api_messages.cc',
+      'atom/common/api/api_messages.h',
+      'atom/common/api/atom_api_clipboard.cc',
+      'atom/common/api/atom_api_clipboard.h',
+      'atom/common/api/atom_api_crash_reporter.cc',
+      'atom/common/api/atom_api_crash_reporter.h',
+      'atom/common/api/atom_api_event_emitter.cc',
+      'atom/common/api/atom_api_event_emitter.h',
+      'atom/common/api/atom_api_id_weak_map.cc',
+      'atom/common/api/atom_api_id_weak_map.h',
+      'atom/common/api/atom_api_screen.cc',
+      'atom/common/api/atom_api_screen.h',
+      'atom/common/api/atom_api_shell.cc',
+      'atom/common/api/atom_api_shell.h',
+      'atom/common/api/atom_api_v8_util.cc',
+      'atom/common/api/atom_bindings.cc',
+      'atom/common/api/atom_bindings.h',
+      'atom/common/api/atom_extensions.cc',
+      'atom/common/api/atom_extensions.h',
+      'atom/common/api/object_life_monitor.cc',
+      'atom/common/api/object_life_monitor.h',
+      'atom/common/crash_reporter/crash_reporter.cc',
+      'atom/common/crash_reporter/crash_reporter.h',
+      'atom/common/crash_reporter/crash_reporter_linux.cc',
+      'atom/common/crash_reporter/crash_reporter_linux.h',
+      'atom/common/crash_reporter/crash_reporter_mac.h',
+      'atom/common/crash_reporter/crash_reporter_mac.mm',
+      'atom/common/crash_reporter/crash_reporter_win.cc',
+      'atom/common/crash_reporter/crash_reporter_win.h',
+      'atom/common/crash_reporter/linux/crash_dump_handler.cc',
+      'atom/common/crash_reporter/linux/crash_dump_handler.h',
+      'atom/common/crash_reporter/win/crash_service.cc',
+      'atom/common/crash_reporter/win/crash_service.h',
+      'atom/common/crash_reporter/win/crash_service_main.cc',
+      'atom/common/crash_reporter/win/crash_service_main.h',
+      'atom/common/draggable_region.cc',
+      'atom/common/draggable_region.h',
+      'atom/common/linux/application_info.cc',
+      'atom/common/node_bindings.cc',
+      'atom/common/node_bindings.h',
+      'atom/common/node_bindings_linux.cc',
+      'atom/common/node_bindings_linux.h',
+      'atom/common/node_bindings_mac.cc',
+      'atom/common/node_bindings_mac.h',
+      'atom/common/node_bindings_win.cc',
+      'atom/common/node_bindings_win.h',
+      'atom/common/options_switches.cc',
+      'atom/common/options_switches.h',
+      'atom/common/platform_util.h',
+      'atom/common/platform_util_linux.cc',
+      'atom/common/platform_util_mac.mm',
+      'atom/common/platform_util_win.cc',
+      'atom/common/swap_or_assign.h',
+      'atom/common/v8/node_common.h',
+      'atom/common/v8/scoped_persistent.h',
+      'atom/common/v8/native_type_conversions.h',
+      'atom/common/v8/v8_value_converter.cc',
+      'atom/common/v8/v8_value_converter.h',
+      'atom/renderer/api/atom_api_renderer_ipc.cc',
+      'atom/renderer/api/atom_api_renderer_ipc.h',
+      'atom/renderer/api/atom_renderer_bindings.cc',
+      'atom/renderer/api/atom_renderer_bindings.h',
+      'atom/renderer/atom_render_view_observer.cc',
+      'atom/renderer/atom_render_view_observer.h',
+      'atom/renderer/atom_renderer_client.cc',
+      'atom/renderer/atom_renderer_client.h',
     ],
     'framework_sources': [
-      'app/atom_library_main.cc',
-      'app/atom_library_main.h',
+      'atom/app/atom_library_main.cc',
+      'atom/app/atom_library_main.h',
     ],
     'conditions': [
       ['OS=="win"', {
         'app_sources': [
-          'browser/resources/win/resource.h',
-          'browser/resources/win/atom.ico',
-          'browser/resources/win/atom.rc',
+          'atom/browser/resources/win/resource.h',
+          'atom/browser/resources/win/atom.ico',
+          'atom/browser/resources/win/atom.rc',
           '<(libchromiumcontent_src_dir)/content/app/startup_helper_win.cc',
         ],
       }],  # OS=="win"
             '<(project_name)_helper',
           ],
           'xcode_settings': {
-            'INFOPLIST_FILE': 'browser/resources/mac/Info.plist',
+            'INFOPLIST_FILE': 'atom/browser/resources/mac/Info.plist',
             'LD_RUNPATH_SEARCH_PATHS': [
               '@executable_path/../Frameworks',
             ],
             {
               'destination': '<(PRODUCT_DIR)/<(product_name).app/Contents/Resources/browser',
               'files': [
-                'browser/default_app',
+                'atom/browser/default_app',
               ],
             },
           ],
             {
               'destination': '<(PRODUCT_DIR)/resources/browser',
               'files': [
-                'browser/default_app',
+                'atom/browser/default_app',
               ]
             },
           ],
             {
               'destination': '<(PRODUCT_DIR)/resources/browser',
               'files': [
-                'browser/default_app',
+                'atom/browser/default_app',
               ]
             },
           ],
           },
           'mac_bundle': 1,
           'mac_bundle_resources': [
-            'common/resources/mac/MainMenu.xib',
+            'atom/common/resources/mac/MainMenu.xib',
             '<(libchromiumcontent_resources_dir)/content_shell.pak',
           ],
           'xcode_settings': {
-            'INFOPLIST_FILE': 'common/resources/mac/Info.plist',
+            'INFOPLIST_FILE': 'atom/common/resources/mac/Info.plist',
             'LIBRARY_SEARCH_PATHS': [
               '<(libchromiumcontent_library_dir)',
             ],
           ],
           'mac_bundle': 1,
           'xcode_settings': {
-            'INFOPLIST_FILE': 'renderer/resources/mac/Info.plist',
+            'INFOPLIST_FILE': 'atom/renderer/resources/mac/Info.plist',
             'LD_RUNPATH_SEARCH_PATHS': [
               '@executable_path/../../..',
             ],
similarity index 82%
rename from app/atom_library_main.cc
rename to atom/app/atom_library_main.cc
index 6b78a63bf8555d10d843cca09f6d880ee349b4b3..d7571e0ea458906d0df5f34e14b4ec1e0aff63cd 100644 (file)
@@ -2,9 +2,9 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "app/atom_library_main.h"
+#include "atom/app/atom_library_main.h"
 
-#include "app/atom_main_delegate.h"
+#include "atom/app/atom_main_delegate.h"
 #include "content/public/app/content_main.h"
 
 #if defined(OS_MACOSX)
similarity index 94%
rename from app/atom_main.cc
rename to atom/app/atom_main.cc
index 619138618c5c97392f4a3eb44b14dc2bd0e69253..622cf978e8be254f2ee1f7e1f55e49547c8e4ea5 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "app/atom_main.h"
+#include "atom/app/atom_main.h"
 
 #include <stdlib.h>
 #include <string.h>
 #include <windows.h>
 #include <shellapi.h>
 
-#include "app/atom_main_delegate.h"
+#include "atom/app/atom_main_delegate.h"
 #include "base/environment.h"
-#include "common/crash_reporter/win/crash_service_main.h"
+#include "atom/common/crash_reporter/win/crash_service_main.h"
 #include "content/public/app/startup_helper_win.h"
 #include "sandbox/win/src/sandbox_types.h"
 #elif defined(OS_LINUX)  // defined(OS_WIN)
-#include "app/atom_main_delegate.h"  // NOLINT
+#include "atom/app/atom_main_delegate.h"  // NOLINT
 #include "content/public/app/content_main.h"
 #else  // defined(OS_LINUX)
-#include "app/atom_library_main.h"
+#include "atom/app/atom_library_main.h"
 #endif  // defined(OS_MACOSX)
 
 // Declaration of node::Start.
similarity index 100%
rename from app/atom_main.h
rename to atom/app/atom_main.h
similarity index 95%
rename from app/atom_main_delegate.cc
rename to atom/app/atom_main_delegate.cc
index 6346343b8dfe37925c0b1f4b5d752517c858c0bc..576f395714e34577d16524a072541c6acbce9ff7 100644 (file)
@@ -2,14 +2,14 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "app/atom_main_delegate.h"
+#include "atom/app/atom_main_delegate.h"
 
 #include "base/command_line.h"
 #include "base/debug/stack_trace.h"
 #include "base/logging.h"
-#include "browser/atom_browser_client.h"
+#include "atom/browser/atom_browser_client.h"
 #include "content/public/common/content_switches.h"
-#include "renderer/atom_renderer_client.h"
+#include "atom/renderer/atom_renderer_client.h"
 #include "ui/base/resource/resource_bundle.h"
 #include "base/path_service.h"
 
similarity index 97%
rename from app/atom_main_delegate_mac.mm
rename to atom/app/atom_main_delegate_mac.mm
index d9ddb4d93c793c1181ace14e65925a03e89be01a..0b95d36b8dba3dc0fd1412044d4f5a00e1d0a9d1 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "app/atom_main_delegate.h"
+#include "atom/app/atom_main_delegate.h"
 
 #import "base/mac/bundle_locations.h"
 #import "base/mac/foundation_util.h"
similarity index 97%
rename from browser/api/atom_api_app.cc
rename to atom/browser/api/atom_api_app.cc
index d07c387ba178b4b927cf786a35e7dfd5448ea16f..f5b183820f8598f2f14e6a3c84173a5b5090ae09 100644 (file)
@@ -2,14 +2,14 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/api/atom_api_app.h"
+#include "atom/browser/api/atom_api_app.h"
 
 #include "base/values.h"
 #include "base/command_line.h"
-#include "browser/browser.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/browser/browser.h"
+#include "atom/common/v8/native_type_conversions.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 96%
rename from browser/api/atom_api_app.h
rename to atom/browser/api/atom_api_app.h
index 9d3eccff187befe649eda7e995138b796c58236b..4fed94365669d29fff441ddf388f247089827661 100644 (file)
@@ -6,8 +6,8 @@
 #define ATOM_BROWSER_API_ATOM_API_APP_H_
 
 #include "base/compiler_specific.h"
-#include "browser/browser_observer.h"
-#include "common/api/atom_api_event_emitter.h"
+#include "atom/browser/browser_observer.h"
+#include "atom/common/api/atom_api_event_emitter.h"
 
 namespace atom {
 
similarity index 93%
rename from browser/api/atom_api_auto_updater.cc
rename to atom/browser/api/atom_api_auto_updater.cc
index 6375e19a9218e7f0e01aed66d36ec9377cb8950a..1ed8588e41d722001bf2c276f8816a716506493d 100644 (file)
@@ -2,14 +2,14 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/api/atom_api_auto_updater.h"
+#include "atom/browser/api/atom_api_auto_updater.h"
 
 #include "base/time/time.h"
 #include "base/values.h"
-#include "browser/auto_updater.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/browser/auto_updater.h"
+#include "atom/common/v8/native_type_conversions.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 94%
rename from browser/api/atom_api_auto_updater.h
rename to atom/browser/api/atom_api_auto_updater.h
index 0207cbe6a99f919b7ed4cae40bc50053b1a8c2df..9007bbd984a645127f5a5b4ec706a2d493bd7c6f 100644 (file)
@@ -7,8 +7,8 @@
 
 #include "base/callback.h"
 #include "base/memory/scoped_ptr.h"
-#include "browser/auto_updater_delegate.h"
-#include "common/api/atom_api_event_emitter.h"
+#include "atom/browser/auto_updater_delegate.h"
+#include "atom/common/api/atom_api_event_emitter.h"
 
 namespace atom {
 
similarity index 86%
rename from browser/api/atom_api_browser_ipc.cc
rename to atom/browser/api/atom_api_browser_ipc.cc
index 024bfffe5bc65d2c317071185bded565ed173f90..2d062421444f5fde900a05a64a790414375ab8b7 100644 (file)
@@ -2,11 +2,11 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/api/atom_api_browser_ipc.h"
+#include "atom/browser/api/atom_api_browser_ipc.h"
 
-#include "common/api/api_messages.h"
-#include "common/v8/node_common.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/common/api/api_messages.h"
+#include "atom/common/v8/node_common.h"
+#include "atom/common/v8/native_type_conversions.h"
 #include "content/public/browser/render_view_host.h"
 
 using content::RenderViewHost;
similarity index 93%
rename from browser/api/atom_api_dialog.cc
rename to atom/browser/api/atom_api_dialog.cc
index 2eb555ccd5f95eff94789c83748d505ad0fb9187..b35849367779c356c9998db27aa3663c992f9a96 100644 (file)
@@ -2,14 +2,14 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/api/atom_api_dialog.h"
+#include "atom/browser/api/atom_api_dialog.h"
 
 #include "base/bind.h"
-#include "browser/native_window.h"
-#include "browser/ui/file_dialog.h"
-#include "browser/ui/message_box.h"
-#include "common/v8/node_common.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/browser/native_window.h"
+#include "atom/browser/ui/file_dialog.h"
+#include "atom/browser/ui/message_box.h"
+#include "atom/common/v8/node_common.h"
+#include "atom/common/v8/native_type_conversions.h"
 
 namespace atom {
 
similarity index 91%
rename from browser/api/atom_api_event.cc
rename to atom/browser/api/atom_api_event.cc
index 155fdbbebd26b6f8c1dc0d1af9b7f18c94531137..ec074bb28c517f24dd68b0edba4833e11c2e8db9 100644 (file)
@@ -2,12 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/api/atom_api_event.h"
+#include "atom/browser/api/atom_api_event.h"
 
-#include "browser/native_window.h"
-#include "common/api/api_messages.h"
-#include "common/v8/node_common.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/browser/native_window.h"
+#include "atom/common/api/api_messages.h"
+#include "atom/common/v8/node_common.h"
+#include "atom/common/v8/native_type_conversions.h"
 
 namespace atom {
 
similarity index 94%
rename from browser/api/atom_api_event.h
rename to atom/browser/api/atom_api_event.h
index 1a46f052c7cd50590cb309bbbb710ebf8c0cd69f..298efde22569f6c5cd6bc5964a9282490e1a9c95 100644 (file)
@@ -8,8 +8,8 @@
 #include "base/basictypes.h"
 #include "base/compiler_specific.h"
 #include "base/strings/string16.h"
-#include "browser/native_window_observer.h"
-#include "common/v8/scoped_persistent.h"
+#include "atom/browser/native_window_observer.h"
+#include "atom/common/v8/scoped_persistent.h"
 #include "vendor/node/src/node_object_wrap.h"
 
 namespace IPC {
similarity index 98%
rename from browser/api/atom_api_menu.cc
rename to atom/browser/api/atom_api_menu.cc
index 4067829166c892f82cbe3b36595f6adb143afe51..392b8fa72bfcec9ad6a0ec955863d7709b11b974 100644 (file)
@@ -2,11 +2,11 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/api/atom_api_menu.h"
+#include "atom/browser/api/atom_api_menu.h"
 
-#include "browser/ui/accelerator_util.h"
-#include "common/v8/node_common.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/browser/ui/accelerator_util.h"
+#include "atom/common/v8/node_common.h"
+#include "atom/common/v8/native_type_conversions.h"
 
 #define UNWRAP_MEMNU_AND_CHECK \
   Menu* self = ObjectWrap::Unwrap<Menu>(args.This()); \
similarity index 98%
rename from browser/api/atom_api_menu.h
rename to atom/browser/api/atom_api_menu.h
index 25f94b83548754734d40a65ed1fd3b4d6ea4716c..037a473ec486dfee18eccac9fa7e89d2f32de858 100644 (file)
@@ -6,7 +6,7 @@
 #define ATOM_BROWSER_API_ATOM_API_MENU_H_
 
 #include "base/memory/scoped_ptr.h"
-#include "common/api/atom_api_event_emitter.h"
+#include "atom/common/api/atom_api_event_emitter.h"
 #include "ui/base/models/simple_menu_model.h"
 
 namespace atom {
similarity index 89%
rename from browser/api/atom_api_menu_gtk.cc
rename to atom/browser/api/atom_api_menu_gtk.cc
index a28e9217b7e63bc92f17eabd92bca48815550bfd..0265ac74a3240b1e54d9395fc56fe14100230eb8 100644 (file)
@@ -2,15 +2,15 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/api/atom_api_menu_gtk.h"
+#include "atom/browser/api/atom_api_menu_gtk.h"
 
-#include "browser/native_window_gtk.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/browser/native_window_gtk.h"
+#include "atom/common/v8/native_type_conversions.h"
 #include "content/public/browser/render_widget_host_view.h"
 #include "ui/gfx/point.h"
 #include "ui/gfx/screen.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 88%
rename from browser/api/atom_api_menu_gtk.h
rename to atom/browser/api/atom_api_menu_gtk.h
index 9f1768290bc7d005560d08e303b271855b2b1ec2..51c82d8daffcb5319f6fc33b0852a2f533aec25f 100644 (file)
@@ -5,8 +5,8 @@
 #ifndef ATOM_BROWSER_API_ATOM_API_MENU_GTK_H_
 #define ATOM_BROWSER_API_ATOM_API_MENU_GTK_H_
 
-#include "browser/api/atom_api_menu.h"
-#include "browser/ui/gtk/menu_gtk.h"
+#include "atom/browser/api/atom_api_menu.h"
+#include "atom/browser/ui/gtk/menu_gtk.h"
 
 namespace atom {
 
similarity index 89%
rename from browser/api/atom_api_menu_mac.h
rename to atom/browser/api/atom_api_menu_mac.h
index 62da458aeb5cd96523c3487cbe7853c9f878f7dc..3abd34e1e189bdff82eb02de5a8f57ef36b47e63 100644 (file)
@@ -5,9 +5,9 @@
 #ifndef ATOM_BROWSER_API_ATOM_API_MENU_MAC_H_
 #define ATOM_BROWSER_API_ATOM_API_MENU_MAC_H_
 
-#include "browser/api/atom_api_menu.h"
+#include "atom/browser/api/atom_api_menu.h"
 
-#import "browser/ui/cocoa/atom_menu_controller.h"
+#import "atom/browser/ui/cocoa/atom_menu_controller.h"
 
 namespace atom {
 
similarity index 95%
rename from browser/api/atom_api_menu_mac.mm
rename to atom/browser/api/atom_api_menu_mac.mm
index 12e2710604b58e6baf6df9e36ec1f8ef4d7d0025..fa2a708d6ca9b479f0784b0097e73c3a16eab40c 100644 (file)
@@ -2,14 +2,14 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#import "browser/api/atom_api_menu_mac.h"
+#import "atom/browser/api/atom_api_menu_mac.h"
 
 #include "base/mac/scoped_sending_event.h"
 #include "base/message_loop/message_loop.h"
 #include "base/strings/sys_string_conversions.h"
-#include "browser/native_window.h"
-#include "common/v8/node_common.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/browser/native_window.h"
+#include "atom/common/v8/node_common.h"
+#include "atom/common/v8/native_type_conversions.h"
 #include "content/public/browser/web_contents.h"
 #include "content/public/browser/web_contents_view.h"
 
similarity index 83%
rename from browser/api/atom_api_menu_win.cc
rename to atom/browser/api/atom_api_menu_win.cc
index e645478ac2fc6f27e6eedc0c64e941952c797cfd..d5d820e09db3f106aa7636cfdb79de9789685303 100644 (file)
@@ -2,15 +2,15 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/api/atom_api_menu_win.h"
+#include "atom/browser/api/atom_api_menu_win.h"
 
-#include "browser/native_window_win.h"
-#include "browser/ui/win/menu_2.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/browser/native_window_win.h"
+#include "atom/browser/ui/win/menu_2.h"
+#include "atom/common/v8/native_type_conversions.h"
 #include "ui/gfx/point.h"
 #include "ui/gfx/screen.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 93%
rename from browser/api/atom_api_menu_win.h
rename to atom/browser/api/atom_api_menu_win.h
index dbc09dfa03250ca71bd2fcff42f6b38973fc8557..f3cb6077126ee94869967faa3e7ae4c1950cca3f 100644 (file)
@@ -5,7 +5,7 @@
 #ifndef ATOM_BROWSER_API_ATOM_API_MENU_WIN_H_
 #define ATOM_BROWSER_API_ATOM_API_MENU_WIN_H_
 
-#include "browser/api/atom_api_menu.h"
+#include "atom/browser/api/atom_api_menu.h"
 
 namespace atom {
 
similarity index 94%
rename from browser/api/atom_api_power_monitor.cc
rename to atom/browser/api/atom_api_power_monitor.cc
index 1dd362bc6b26b8ff0a9dad768f7c90ef4c510cb9..d045c1866c2ee1bae8e6003f244014876adfc6dd 100644 (file)
@@ -2,12 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/api/atom_api_power_monitor.h"
+#include "atom/browser/api/atom_api_power_monitor.h"
 
 #include "base/power_monitor/power_monitor.h"
 #include "base/power_monitor/power_monitor_device_source.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 95%
rename from browser/api/atom_api_power_monitor.h
rename to atom/browser/api/atom_api_power_monitor.h
index 3febb438a61d809933bfdf38e8bb6b1e4838ff51..98b9ee3efd7b94e68c07e638e8dbade4c91850e7 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "base/compiler_specific.h"
 #include "base/power_monitor/power_observer.h"
-#include "common/api/atom_api_event_emitter.h"
+#include "atom/common/api/atom_api_event_emitter.h"
 
 namespace atom {
 
similarity index 97%
rename from browser/api/atom_api_protocol.cc
rename to atom/browser/api/atom_api_protocol.cc
index 7c44f81d4fb3c7a504e88904b1228334c9aa9dae..60c7b8cb620667d58ad35ea57b1da436c95d3f4c 100644 (file)
@@ -2,18 +2,18 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/api/atom_api_protocol.h"
+#include "atom/browser/api/atom_api_protocol.h"
 
 #include "base/stl_util.h"
-#include "browser/atom_browser_context.h"
-#include "browser/net/adapter_request_job.h"
-#include "browser/net/atom_url_request_context_getter.h"
-#include "browser/net/atom_url_request_job_factory.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/browser/atom_browser_context.h"
+#include "atom/browser/net/adapter_request_job.h"
+#include "atom/browser/net/atom_url_request_context_getter.h"
+#include "atom/browser/net/atom_url_request_job_factory.h"
+#include "atom/common/v8/native_type_conversions.h"
 #include "content/public/browser/browser_thread.h"
 #include "net/url_request/url_request_context.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 99%
rename from browser/api/atom_api_window.cc
rename to atom/browser/api/atom_api_window.cc
index 7486f4f5b626157448e233b279146fa4876ab627..e44f26a6bed8f4ff860386715f888dda46b30d10 100644 (file)
@@ -2,19 +2,19 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/api/atom_api_window.h"
+#include "atom/browser/api/atom_api_window.h"
 
 #include "base/bind.h"
 #include "base/process/kill.h"
-#include "browser/native_window.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/browser/native_window.h"
+#include "atom/common/v8/native_type_conversions.h"
 #include "content/public/browser/navigation_entry.h"
 #include "content/public/browser/web_contents.h"
 #include "content/public/browser/render_process_host.h"
 #include "ui/gfx/point.h"
 #include "ui/gfx/size.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 #include "vendor/node/src/node_buffer.h"
 
 using content::NavigationController;
similarity index 97%
rename from browser/api/atom_api_window.h
rename to atom/browser/api/atom_api_window.h
index d53affaa7fcee412ca1926162047b64cca854a76..75149ea0049641b04269acf1b42bd8809d8db4dd 100644 (file)
@@ -8,9 +8,9 @@
 #include <vector>
 
 #include "base/memory/scoped_ptr.h"
-#include "browser/native_window_observer.h"
-#include "common/api/atom_api_event_emitter.h"
-#include "common/v8/scoped_persistent.h"
+#include "atom/browser/native_window_observer.h"
+#include "atom/common/api/atom_api_event_emitter.h"
+#include "atom/common/v8/scoped_persistent.h"
 
 namespace base {
 class DictionaryValue;
similarity index 93%
rename from browser/api/atom_browser_bindings.cc
rename to atom/browser/api/atom_browser_bindings.cc
index a7753f77aea89e94e592d06cc8696f766d502906..825fefa6297cb972f58ab1d1bfb09bc0e54659ec 100644 (file)
@@ -2,16 +2,16 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/api/atom_browser_bindings.h"
+#include "atom/browser/api/atom_browser_bindings.h"
 
 #include <vector>
 
 #include "base/logging.h"
-#include "browser/api/atom_api_event.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/browser/api/atom_api_event.h"
+#include "atom/common/v8/native_type_conversions.h"
 #include "content/public/browser/browser_thread.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 93%
rename from browser/api/atom_browser_bindings.h
rename to atom/browser/api/atom_browser_bindings.h
index 004518cc6edd53f7eaca477d6e3bb5b74cfedae8..4aedcd5a24f4a4ead09c117c1a64cbccea45ba90 100644 (file)
@@ -6,8 +6,8 @@
 #define ATOM_BROWSER_API_ATOM_BROWSER_BINDINGS_
 
 #include "base/strings/string16.h"
-#include "common/api/atom_bindings.h"
-#include "common/v8/scoped_persistent.h"
+#include "atom/common/api/atom_bindings.h"
+#include "atom/common/v8/scoped_persistent.h"
 
 namespace base {
 class ListValue;
similarity index 90%
rename from browser/atom_application_delegate_mac.mm
rename to atom/browser/atom_application_delegate_mac.mm
index 1843298bd5ac3b5ac43630d65428cdb48fc2b0c6..2f5519b7ce9b36b4cc91fa876a0ba33f93476fc6 100644 (file)
@@ -2,11 +2,11 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#import "browser/atom_application_delegate_mac.h"
+#import "atom/browser/atom_application_delegate_mac.h"
 
 #include "base/strings/sys_string_conversions.h"
-#import "browser/atom_application_mac.h"
-#include "browser/browser.h"
+#import "atom/browser/atom_application_mac.h"
+#include "atom/browser/browser.h"
 
 @implementation AtomApplicationDelegate
 
similarity index 93%
rename from browser/atom_application_mac.mm
rename to atom/browser/atom_application_mac.mm
index 7cfde6038057a1f967ebbcd39fbbb61db8fff055..6a055b15a95d6b84cb6e9ec3c35d45ad48db78c3 100644 (file)
@@ -2,11 +2,11 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#import "browser/atom_application_mac.h"
+#import "atom/browser/atom_application_mac.h"
 
 #include "base/auto_reset.h"
 #include "base/strings/sys_string_conversions.h"
-#include "browser/browser.h"
+#include "atom/browser/browser.h"
 
 @implementation AtomApplication
 
similarity index 93%
rename from browser/atom_browser_client.cc
rename to atom/browser/atom_browser_client.cc
index d35b81cc85b6ac90b6d698a91a5e637bec7a53cc..bd7d95ab47c6e21f1182bb4bdb2f17d073a21181 100644 (file)
@@ -2,13 +2,13 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/atom_browser_client.h"
+#include "atom/browser/atom_browser_client.h"
 
-#include "browser/atom_browser_context.h"
-#include "browser/atom_browser_main_parts.h"
-#include "browser/native_window.h"
-#include "browser/net/atom_url_request_context_getter.h"
-#include "browser/window_list.h"
+#include "atom/browser/atom_browser_context.h"
+#include "atom/browser/atom_browser_main_parts.h"
+#include "atom/browser/native_window.h"
+#include "atom/browser/net/atom_url_request_context_getter.h"
+#include "atom/browser/window_list.h"
 #include "content/public/browser/render_process_host.h"
 #include "content/public/browser/render_view_host.h"
 #include "content/public/browser/site_instance.h"
similarity index 93%
rename from browser/atom_browser_context.cc
rename to atom/browser/atom_browser_context.cc
index 02d6836e7d2d20780d165f1032f19e3f2b025679..cbf14c83ed0026aa284d05b62852d644cfa67368 100644 (file)
@@ -2,10 +2,10 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/atom_browser_context.h"
+#include "atom/browser/atom_browser_context.h"
 
-#include "browser/atom_browser_main_parts.h"
-#include "browser/net/atom_url_request_context_getter.h"
+#include "atom/browser/atom_browser_main_parts.h"
+#include "atom/browser/net/atom_url_request_context_getter.h"
 #include "content/public/browser/browser_thread.h"
 #include "content/public/browser/resource_context.h"
 #include "vendor/brightray/browser/network_delegate.h"
similarity index 89%
rename from browser/atom_browser_main_parts.cc
rename to atom/browser/atom_browser_main_parts.cc
index 0cb05dd1a1eba75469a87c7e0ea83298a8748268..84f15d6202713d191b9132f79d5a8e7063b39243 100644 (file)
@@ -2,20 +2,20 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/atom_browser_main_parts.h"
+#include "atom/browser/atom_browser_main_parts.h"
 
-#include "browser/api/atom_browser_bindings.h"
-#include "browser/atom_browser_client.h"
-#include "browser/atom_browser_context.h"
-#include "browser/browser.h"
-#include "common/node_bindings.h"
+#include "atom/browser/api/atom_browser_bindings.h"
+#include "atom/browser/atom_browser_client.h"
+#include "atom/browser/atom_browser_context.h"
+#include "atom/browser/browser.h"
+#include "atom/common/node_bindings.h"
 #include "net/proxy/proxy_resolver_v8.h"
 
 #if defined(OS_WIN)
 #include "ui/gfx/win/dpi.h"
 #endif
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 90%
rename from browser/atom_browser_main_parts_mac.mm
rename to atom/browser/atom_browser_main_parts_mac.mm
index 4b2c7ab99372ad7bb1bab921222dacc65916d46d..2f26145428699b0b1be79e35434c543cb31a2992 100644 (file)
@@ -2,12 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/atom_browser_main_parts.h"
+#include "atom/browser/atom_browser_main_parts.h"
 
 #include "base/files/file_path.h"
 #import "base/mac/foundation_util.h"
-#import "browser/atom_application_mac.h"
-#import "browser/atom_application_delegate_mac.h"
+#import "atom/browser/atom_application_mac.h"
+#import "atom/browser/atom_application_delegate_mac.h"
 #import "vendor/brightray/common/mac/main_application_bundle.h"
 
 namespace atom {
similarity index 94%
rename from browser/atom_javascript_dialog_manager.cc
rename to atom/browser/atom_javascript_dialog_manager.cc
index 33f1314235f03c8f179a057f8b2a5753558cc60f..dda3f5fd44615f30dbba1124ce6f378634f3ab33 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/atom_javascript_dialog_manager.h"
+#include "atom/browser/atom_javascript_dialog_manager.h"
 
 #include "base/strings/utf_string_conversions.h"
 
similarity index 91%
rename from browser/auto_updater.cc
rename to atom/browser/auto_updater.cc
index ef6f3ad13760b62ec9e07692037bdef639506efe..a8dc3d8893702454cbbdaafe2c6fa893c57b4acf 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/auto_updater.h"
+#include "atom/browser/auto_updater.h"
 
 namespace auto_updater {
 
similarity index 89%
rename from browser/auto_updater_linux.cc
rename to atom/browser/auto_updater_linux.cc
index ccdc4ed8e008fd3ba96f412578994354ee17199e..12b6e5d537352619b873768aa8d0ab7f608c1a13 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/auto_updater.h"
+#include "atom/browser/auto_updater.h"
 
 namespace auto_updater {
 
similarity index 97%
rename from browser/auto_updater_mac.mm
rename to atom/browser/auto_updater_mac.mm
index 290eea5dc3c9b88d27bb620a50adb7563dad6d71..f70862e71ba2f52f26b5cb11ec16795a9133fc2f 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/auto_updater.h"
+#include "atom/browser/auto_updater.h"
 
 #import <ReactiveCocoa/RACCommand.h>
 #import <ReactiveCocoa/RACSignal.h>
@@ -12,7 +12,7 @@
 #include "base/bind.h"
 #include "base/time/time.h"
 #include "base/strings/sys_string_conversions.h"
-#include "browser/auto_updater_delegate.h"
+#include "atom/browser/auto_updater_delegate.h"
 
 #include <iostream>
 
similarity index 89%
rename from browser/auto_updater_win.cc
rename to atom/browser/auto_updater_win.cc
index ccdc4ed8e008fd3ba96f412578994354ee17199e..12b6e5d537352619b873768aa8d0ab7f608c1a13 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/auto_updater.h"
+#include "atom/browser/auto_updater.h"
 
 namespace auto_updater {
 
similarity index 95%
rename from browser/browser.cc
rename to atom/browser/browser.cc
index 6567aea1546e4a7b225d460d9abeee4dc52e29e0..954eae24b408a076070749aa916b3796f1c76516 100644 (file)
@@ -2,10 +2,10 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/browser.h"
+#include "atom/browser/browser.h"
 
-#include "browser/atom_browser_main_parts.h"
-#include "browser/window_list.h"
+#include "atom/browser/atom_browser_main_parts.h"
+#include "atom/browser/window_list.h"
 
 namespace atom {
 
similarity index 96%
rename from browser/browser.h
rename to atom/browser/browser.h
index 759e9680f205045e454868d638b477a273675e55..80dc5927a9972d28cf0826e5e083c66b3f8a7469 100644 (file)
@@ -8,8 +8,8 @@
 #include "base/basictypes.h"
 #include "base/compiler_specific.h"
 #include "base/observer_list.h"
-#include "browser/browser_observer.h"
-#include "browser/window_list_observer.h"
+#include "atom/browser/browser_observer.h"
+#include "atom/browser/window_list_observer.h"
 
 namespace atom {
 
similarity index 84%
rename from browser/browser_linux.cc
rename to atom/browser/browser_linux.cc
index fcff198fcde6877bb14a3e0454a8eb9139cdb590..a62042710d40ec935924ab0a0c989a8e1587170b 100644 (file)
@@ -2,13 +2,13 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/browser.h"
+#include "atom/browser/browser.h"
 
 #include <stdlib.h>
 
-#include "browser/native_window.h"
-#include "browser/window_list.h"
-#include "common/atom_version.h"
+#include "atom/browser/native_window.h"
+#include "atom/browser/window_list.h"
+#include "atom/common/atom_version.h"
 
 namespace atom {
 
similarity index 95%
rename from browser/browser_mac.mm
rename to atom/browser/browser_mac.mm
index 63312f4e6ec15a85f436fb6cf948f945e205b745..d88be3ca5985a62f74cf401179a8f99e027572e5 100644 (file)
@@ -2,11 +2,11 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/browser.h"
+#include "atom/browser/browser.h"
 
 #import "base/mac/bundle_locations.h"
 #include "base/strings/sys_string_conversions.h"
-#import "browser/atom_application_mac.h"
+#import "atom/browser/atom_application_mac.h"
 
 namespace atom {
 
similarity index 96%
rename from browser/browser_win.cc
rename to atom/browser/browser_win.cc
index b065f70782fd0f96c9ffb50bdce938edb67ad763..74953cf0903262714732a1bb8884c13927554602 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/browser.h"
+#include "atom/browser/browser.h"
 
 #include <windows.h>
 
@@ -12,7 +12,7 @@
 #include "base/memory/scoped_ptr.h"
 #include "base/path_service.h"
 #include "base/strings/utf_string_conversions.h"
-#include "common/atom_version.h"
+#include "atom/common/atom_version.h"
 
 namespace atom {
 
similarity index 97%
rename from browser/devtools_delegate.cc
rename to atom/browser/devtools_delegate.cc
index 3886bfe22202b5a6f43e8ce991f54274425b126c..b66abdd6398eb95d3fb3777e6bfca3b6fbeac877 100644 (file)
@@ -2,11 +2,11 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/devtools_delegate.h"
+#include "atom/browser/devtools_delegate.h"
 
 #include "base/message_loop/message_loop.h"
 #include "base/values.h"
-#include "browser/native_window.h"
+#include "atom/browser/native_window.h"
 #include "content/public/browser/devtools_agent_host.h"
 #include "content/public/browser/devtools_client_host.h"
 #include "content/public/browser/devtools_http_handler.h"
similarity index 98%
rename from browser/devtools_delegate.h
rename to atom/browser/devtools_delegate.h
index 54e05a25b58780289029046b2f108c09551f292e..f6a7b84923479d802d8a9e6636f2f47aac52d43c 100644 (file)
@@ -6,7 +6,7 @@
 #define ATOM_BROWSER_DEVTOOLS_DELEGATE_H_
 
 #include "base/memory/scoped_ptr.h"
-#include "browser/native_window_observer.h"
+#include "atom/browser/native_window_observer.h"
 #include "content/public/browser/devtools_frontend_host_delegate.h"
 #include "content/public/browser/web_contents_observer.h"
 #include "vendor/brightray/browser/devtools_embedder_message_dispatcher.h"
similarity index 97%
rename from browser/native_window.cc
rename to atom/browser/native_window.cc
index bff1c2f3c77774d2b9a1367e093b140f81c72e35..9cc38bf96cf614d293656acf52277a54c4f96722 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/native_window.h"
+#include "atom/browser/native_window.h"
 
 #include <string>
 
 #include "base/strings/stringprintf.h"
 #include "base/strings/utf_string_conversions.h"
 #include "base/values.h"
-#include "browser/api/atom_browser_bindings.h"
-#include "browser/atom_browser_context.h"
-#include "browser/atom_browser_main_parts.h"
-#include "browser/atom_javascript_dialog_manager.h"
-#include "browser/browser.h"
-#include "browser/devtools_delegate.h"
-#include "browser/window_list.h"
+#include "atom/browser/api/atom_browser_bindings.h"
+#include "atom/browser/atom_browser_context.h"
+#include "atom/browser/atom_browser_main_parts.h"
+#include "atom/browser/atom_javascript_dialog_manager.h"
+#include "atom/browser/browser.h"
+#include "atom/browser/devtools_delegate.h"
+#include "atom/browser/window_list.h"
 #include "content/public/browser/devtools_agent_host.h"
 #include "content/public/browser/invalidate_type.h"
 #include "content/public/browser/navigation_entry.h"
@@ -31,9 +31,9 @@
 #include "content/public/browser/render_widget_host_view.h"
 #include "content/public/browser/web_contents_view.h"
 #include "content/public/common/renderer_preferences.h"
-#include "common/api/api_messages.h"
-#include "common/atom_version.h"
-#include "common/options_switches.h"
+#include "atom/common/api/api_messages.h"
+#include "atom/common/atom_version.h"
+#include "atom/common/options_switches.h"
 #include "ipc/ipc_message_macros.h"
 #include "ui/gfx/codec/png_codec.h"
 #include "ui/gfx/point.h"
similarity index 99%
rename from browser/native_window.h
rename to atom/browser/native_window.h
index 287138aa8dc5b993c51236dd32646d73d60a3bbc..8717192034ebfe0b547b88d7874a731e96e3140a 100644 (file)
@@ -11,7 +11,7 @@
 #include "base/memory/scoped_ptr.h"
 #include "base/memory/weak_ptr.h"
 #include "base/observer_list.h"
-#include "browser/native_window_observer.h"
+#include "atom/browser/native_window_observer.h"
 #include "content/public/browser/notification_registrar.h"
 #include "content/public/browser/notification_observer.h"
 #include "ui/gfx/image/image.h"
similarity index 98%
rename from browser/native_window_gtk.cc
rename to atom/browser/native_window_gtk.cc
index e90a1954a19f1273e30f3bdccd8241a623546a4c..34bdcb25b6ac20c8d41b8bca7e6241a88145653e 100644 (file)
@@ -2,12 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/native_window_gtk.h"
+#include "atom/browser/native_window_gtk.h"
 
 #include "base/values.h"
-#include "browser/ui/gtk/gtk_window_util.h"
-#include "common/draggable_region.h"
-#include "common/options_switches.h"
+#include "atom/browser/ui/gtk/gtk_window_util.h"
+#include "atom/common/draggable_region.h"
+#include "atom/common/options_switches.h"
 #include "content/public/browser/web_contents.h"
 #include "content/public/browser/web_contents_view.h"
 #include "content/public/common/renderer_preferences.h"
similarity index 97%
rename from browser/native_window_gtk.h
rename to atom/browser/native_window_gtk.h
index d72b4a05f8b672b9b6eab5dad19f436498c35476..76da28567748b6dcb0b5477a151db83f9db62fcc 100644 (file)
@@ -7,9 +7,9 @@
 
 #include <gtk/gtk.h>
 
-#include "browser/native_window.h"
-#include "browser/ui/accelerator_util.h"
-#include "browser/ui/gtk/menu_gtk.h"
+#include "atom/browser/native_window.h"
+#include "atom/browser/ui/accelerator_util.h"
+#include "atom/browser/ui/gtk/menu_gtk.h"
 #include "third_party/skia/include/core/SkRegion.h"
 #include "ui/base/accelerators/accelerator.h"
 #include "ui/base/gtk/gtk_signal.h"
similarity index 98%
rename from browser/native_window_mac.h
rename to atom/browser/native_window_mac.h
index 0338eebefc3e0a2e695e627cb9e3e9f871dbc093..d5efdfefe8b158365433f49c6c72302b869a198e 100644 (file)
@@ -8,7 +8,7 @@
 #import <Cocoa/Cocoa.h>
 
 #include "base/memory/scoped_ptr.h"
-#include "browser/native_window.h"
+#include "atom/browser/native_window.h"
 
 class SkRegion;
 
similarity index 98%
rename from browser/native_window_mac.mm
rename to atom/browser/native_window_mac.mm
index 9ef68f42c5159547fdf15bd85786790308fa7e01..8ee1276924c6e2ae4adea77d7fbed77473c41efb 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/native_window_mac.h"
+#include "atom/browser/native_window_mac.h"
 
 #include <string>
 
 #include "base/mac/scoped_nsobject.h"
 #include "base/strings/sys_string_conversions.h"
 #include "base/values.h"
-#import "browser/ui/cocoa/event_processing_window.h"
+#import "atom/browser/ui/cocoa/event_processing_window.h"
 #include "brightray/browser/inspectable_web_contents.h"
 #include "brightray/browser/inspectable_web_contents_view.h"
-#include "common/draggable_region.h"
-#include "common/options_switches.h"
+#include "atom/common/draggable_region.h"
+#include "atom/common/options_switches.h"
 #include "content/public/browser/native_web_keyboard_event.h"
 #include "content/public/browser/web_contents.h"
 #include "content/public/browser/web_contents_view.h"
similarity index 98%
rename from browser/native_window_win.cc
rename to atom/browser/native_window_win.cc
index af8b341843753bbbdc4a0d92a4efac5eeee06def..245e1af3ea9f99b16e45baecab12494e6de4c328 100644 (file)
@@ -2,15 +2,15 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/native_window_win.h"
+#include "atom/browser/native_window_win.h"
 
 #include "base/strings/utf_string_conversions.h"
 #include "base/values.h"
-#include "browser/api/atom_api_menu.h"
-#include "browser/ui/win/menu_2.h"
-#include "browser/ui/win/native_menu_win.h"
-#include "common/draggable_region.h"
-#include "common/options_switches.h"
+#include "atom/browser/api/atom_api_menu.h"
+#include "atom/browser/ui/win/menu_2.h"
+#include "atom/browser/ui/win/native_menu_win.h"
+#include "atom/common/draggable_region.h"
+#include "atom/common/options_switches.h"
 #include "content/public/browser/native_web_keyboard_event.h"
 #include "content/public/browser/render_view_host.h"
 #include "content/public/browser/render_widget_host_view.h"
similarity index 98%
rename from browser/native_window_win.h
rename to atom/browser/native_window_win.h
index cab0abe84754ea2c3966a1becc155558456ab980..769ef5d97b7bf39050fd3cfa173a18480f13b940 100644 (file)
@@ -7,8 +7,8 @@
 
 #include "base/memory/scoped_ptr.h"
 #include "base/strings/string16.h"
-#include "browser/native_window.h"
-#include "browser/ui/accelerator_util.h"
+#include "atom/browser/native_window.h"
+#include "atom/browser/ui/accelerator_util.h"
 #include "ui/gfx/size.h"
 #include "ui/views/widget/widget_delegate.h"
 
similarity index 97%
rename from browser/net/adapter_request_job.cc
rename to atom/browser/net/adapter_request_job.cc
index 70c9293273c25b79515cb3a3b9892aa7088c5103..cfa54aa116e027492cfe68594b595a14cd00e915 100644 (file)
@@ -2,10 +2,10 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/net/adapter_request_job.h"
+#include "atom/browser/net/adapter_request_job.h"
 
 #include "base/threading/sequenced_worker_pool.h"
-#include "browser/net/url_request_string_job.h"
+#include "atom/browser/net/url_request_string_job.h"
 #include "content/public/browser/browser_thread.h"
 #include "net/base/net_errors.h"
 #include "net/url_request/url_request_error_job.h"
similarity index 98%
rename from browser/net/atom_url_request_context_getter.cc
rename to atom/browser/net/atom_url_request_context_getter.cc
index bdc72028e6e522d6ce0e542a85fdafc1ac96a934..811bd584d68e9813fd26804ec4d7a6bf7c6d08f8 100644 (file)
@@ -2,12 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/net/atom_url_request_context_getter.h"
+#include "atom/browser/net/atom_url_request_context_getter.h"
 
 #include "base/strings/string_util.h"
 #include "base/threading/sequenced_worker_pool.h"
 #include "base/threading/worker_pool.h"
-#include "browser/net/atom_url_request_job_factory.h"
+#include "atom/browser/net/atom_url_request_job_factory.h"
 #include "content/public/browser/browser_thread.h"
 #include "content/public/browser/cookie_store_factory.h"
 #include "content/public/common/url_constants.h"
similarity index 98%
rename from browser/net/atom_url_request_job_factory.cc
rename to atom/browser/net/atom_url_request_job_factory.cc
index 01188674dc0e500aa7cdc5c560f981e687a3f8ed..b0ee61049870fcc8c72a428ecd58321edb8e6dfc 100644 (file)
@@ -3,7 +3,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/net/atom_url_request_job_factory.h"
+#include "atom/browser/net/atom_url_request_job_factory.h"
 
 #include "base/stl_util.h"
 #include "net/base/load_flags.h"
similarity index 94%
rename from browser/net/url_request_string_job.cc
rename to atom/browser/net/url_request_string_job.cc
index 4a0e3ada8c837cbe0f103a54ee18251ed3080dd7..76ecb7de25c829f2e7620a5ac0595d08a4c33b38 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/net/url_request_string_job.h"
+#include "atom/browser/net/url_request_string_job.h"
 
 #include "net/base/net_errors.h"
 
similarity index 99%
rename from browser/ui/accelerator_util.cc
rename to atom/browser/ui/accelerator_util.cc
index b85bd6685ff756df843720b1d71d98d94886b400..424d4810965cb905fb6400af885a28edc4e0bc0b 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/accelerator_util.h"
+#include "atom/browser/ui/accelerator_util.h"
 
 #include <stdio.h>
 
similarity index 93%
rename from browser/ui/accelerator_util_gtk.cc
rename to atom/browser/ui/accelerator_util_gtk.cc
index ac14b260be5e3b00f67622184a095685974ae71b..87526678974858988024413eb620483ca8c67e12 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/accelerator_util.h"
+#include "atom/browser/ui/accelerator_util.h"
 
 #include "ui/base/accelerators/accelerator.h"
 #include "ui/base/accelerators/platform_accelerator_gtk.h"
similarity index 96%
rename from browser/ui/accelerator_util_mac.mm
rename to atom/browser/ui/accelerator_util_mac.mm
index 5f5bb700a46f61c7e0586d11e7f006727e4f828d..536b04b45c7a9b32dd446f9642e17e5a01a0d1c0 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/accelerator_util.h"
+#include "atom/browser/ui/accelerator_util.h"
 
 #include "ui/base/accelerators/accelerator.h"
 #import "ui/base/accelerators/platform_accelerator_cocoa.h"
similarity index 87%
rename from browser/ui/accelerator_util_win.cc
rename to atom/browser/ui/accelerator_util_win.cc
index d4a861fd18efc4740ba3ca9ad0805726127220a5..c84166246aaeb9f03fb87fbf0104c09d8d553da6 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/accelerator_util.h"
+#include "atom/browser/ui/accelerator_util.h"
 
 #include "ui/base/accelerators/accelerator.h"
 
similarity index 99%
rename from browser/ui/cocoa/atom_menu_controller.mm
rename to atom/browser/ui/cocoa/atom_menu_controller.mm
index 0a23ab2921e759871caadc1102a3f54ade84760b..0312ef169a1207de355567f9944d0ac6a61d5cc1 100644 (file)
@@ -3,7 +3,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#import "browser/ui/cocoa/atom_menu_controller.h"
+#import "atom/browser/ui/cocoa/atom_menu_controller.h"
 
 #include "base/logging.h"
 #include "base/strings/sys_string_conversions.h"
similarity index 98%
rename from browser/ui/cocoa/event_processing_window.mm
rename to atom/browser/ui/cocoa/event_processing_window.mm
index ce6e9b2f35ae4c448021b534f5482ce11e0e7d9e..2efba68d2ab0f3591fa0f8d7957664fc3db21171 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#import "browser/ui/cocoa/event_processing_window.h"
+#import "atom/browser/ui/cocoa/event_processing_window.h"
 
 #include "base/logging.h"
 #import "content/public/browser/render_widget_host_view_mac_base.h"
similarity index 98%
rename from browser/ui/file_dialog_gtk.cc
rename to atom/browser/ui/file_dialog_gtk.cc
index 94c9d53c0922fa34da12636362d95a446244577b..b3ac3b975ef988029aa96677bbb6f62eb31f8cd8 100644 (file)
@@ -2,12 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/file_dialog.h"
+#include "atom/browser/ui/file_dialog.h"
 
 #include "base/callback.h"
 #include "base/file_util.h"
-#include "browser/native_window.h"
-#include "browser/ui/gtk/gtk_util.h"
+#include "atom/browser/native_window.h"
+#include "atom/browser/ui/gtk/gtk_util.h"
 #include "ui/base/gtk/gtk_signal.h"
 
 namespace file_dialog {
similarity index 98%
rename from browser/ui/file_dialog_mac.mm
rename to atom/browser/ui/file_dialog_mac.mm
index 80f655d9f6e7b6a92b809c92ce311e3d755a9854..495db684982456edd6fe5cb2272f159ffdeaeece 100644 (file)
@@ -2,14 +2,14 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/file_dialog.h"
+#include "atom/browser/ui/file_dialog.h"
 
 #import <Cocoa/Cocoa.h>
 #include <CoreServices/CoreServices.h>
 
 #include "base/file_util.h"
 #include "base/strings/sys_string_conversions.h"
-#include "browser/native_window.h"
+#include "atom/browser/native_window.h"
 
 namespace file_dialog {
 
similarity index 99%
rename from browser/ui/file_dialog_win.cc
rename to atom/browser/ui/file_dialog_win.cc
index b8b8233db9f4a4aa147e90ee642a5a6375072773..d813dfe9ada0ca8e848d97b4aaee4618a80adc9f 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/file_dialog.h"
+#include "atom/browser/ui/file_dialog.h"
 
 #include <atlbase.h>
 #include <windows.h>
@@ -15,7 +15,7 @@
 #include "base/strings/string_split.h"
 #include "base/strings/utf_string_conversions.h"
 #include "base/win/registry.h"
-#include "browser/native_window.h"
+#include "atom/browser/native_window.h"
 #include "third_party/wtl/include/atlapp.h"
 #include "third_party/wtl/include/atldlgs.h"
 
similarity index 97%
rename from browser/ui/gtk/event_utils.cc
rename to atom/browser/ui/gtk/event_utils.cc
index c21e1541762990a536bc59d0eaaf9f74e97b3b51..76c998a68f779d8e4101c6b9733c7aaccfe84fe1 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/gtk/event_utils.h"
+#include "atom/browser/ui/gtk/event_utils.h"
 
 #include "base/logging.h"
 #include "ui/base/window_open_disposition.h"
similarity index 98%
rename from browser/ui/gtk/gtk_custom_menu.cc
rename to atom/browser/ui/gtk/gtk_custom_menu.cc
index 4606cafdcfae1337118e9e9bdcba730a23344e2a..6dc4c4ed96b629953773dde88bc963506d129138 100644 (file)
@@ -2,9 +2,9 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/gtk/gtk_custom_menu.h"
+#include "atom/browser/ui/gtk/gtk_custom_menu.h"
 
-#include "browser/ui/gtk/gtk_custom_menu_item.h"
+#include "atom/browser/ui/gtk/gtk_custom_menu_item.h"
 
 G_DEFINE_TYPE(GtkCustomMenu, gtk_custom_menu, GTK_TYPE_MENU)
 
similarity index 99%
rename from browser/ui/gtk/gtk_custom_menu_item.cc
rename to atom/browser/ui/gtk/gtk_custom_menu_item.cc
index 617c1711995a06177a2fdeb254425c97907271a6..b9c81581afb9cbec9ddb835f0c530e4711860f3a 100644 (file)
@@ -2,10 +2,10 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/gtk/gtk_custom_menu_item.h"
+#include "atom/browser/ui/gtk/gtk_custom_menu_item.h"
 
 #include "base/i18n/rtl.h"
-#include "browser/ui/gtk/gtk_custom_menu.h"
+#include "atom/browser/ui/gtk/gtk_custom_menu.h"
 #include "ui/gfx/gtk_compat.h"
 
 // This method was autogenerated by the program glib-genmarshall, which
similarity index 98%
rename from browser/ui/gtk/gtk_util.cc
rename to atom/browser/ui/gtk/gtk_util.cc
index 8f6f7c8daa941630d05cacf3c3f593c341434c74..7db95dadf1521840d3f0fd085eea8f8984c3a909 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/gtk/gtk_util.h"
+#include "atom/browser/ui/gtk/gtk_util.h"
 
 #include <cairo/cairo.h>
 
similarity index 99%
rename from browser/ui/gtk/gtk_window_util.cc
rename to atom/browser/ui/gtk/gtk_window_util.cc
index c06e3302b3735d671384ade17573276b947da843..e68102c9d06e49e0fc881440e37e9dda062ade5b 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/gtk/gtk_window_util.h"
+#include "atom/browser/ui/gtk/gtk_window_util.h"
 
 #include <dlfcn.h>
 #include "content/public/browser/render_view_host.h"
similarity index 99%
rename from browser/ui/gtk/menu_gtk.cc
rename to atom/browser/ui/gtk/menu_gtk.cc
index 50f19fb9647bc0d95df21400dd7bd6b11fd5fcb2..c3d32dbccd1a3c2ae4770420ed4965b9bc20ca7c 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/gtk/menu_gtk.h"
+#include "atom/browser/ui/gtk/menu_gtk.h"
 
 #include <map>
 
 #include "base/message_loop/message_loop.h"
 #include "base/stl_util.h"
 #include "base/strings/utf_string_conversions.h"
-#include "browser/ui/gtk/event_utils.h"
-#include "browser/ui/gtk/gtk_custom_menu.h"
-#include "browser/ui/gtk/gtk_custom_menu_item.h"
-#include "browser/ui/gtk/gtk_util.h"
+#include "atom/browser/ui/gtk/event_utils.h"
+#include "atom/browser/ui/gtk/gtk_custom_menu.h"
+#include "atom/browser/ui/gtk/gtk_custom_menu_item.h"
+#include "atom/browser/ui/gtk/gtk_util.h"
 #include "third_party/skia/include/core/SkBitmap.h"
 #include "ui/base/accelerators/menu_label_accelerator_util_linux.h"
 #include "ui/base/accelerators/platform_accelerator_gtk.h"
similarity index 97%
rename from browser/ui/message_box_gtk.cc
rename to atom/browser/ui/message_box_gtk.cc
index 0fbb156f7dd95afd256373de3a94208cf22a839b..73447340bc30e9e596ceb31987f83849bb8fb4cb 100644 (file)
@@ -2,12 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/message_box.h"
+#include "atom/browser/ui/message_box.h"
 
 #include "base/callback.h"
 #include "base/strings/string_util.h"
-#include "browser/native_window.h"
-#include "browser/ui/gtk/gtk_util.h"
+#include "atom/browser/native_window.h"
+#include "atom/browser/ui/gtk/gtk_util.h"
 #include "ui/base/gtk/gtk_signal.h"
 
 namespace atom {
similarity index 98%
rename from browser/ui/message_box_mac.mm
rename to atom/browser/ui/message_box_mac.mm
index 5847d26195abf4a06ddf5aedee9845e8829f01b0..8e9acf9605d3d79ac3411f6bd21c8eed5885fe73 100644 (file)
@@ -2,13 +2,13 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/message_box.h"
+#include "atom/browser/ui/message_box.h"
 
 #import <Cocoa/Cocoa.h>
 
 #include "base/callback.h"
 #include "base/strings/sys_string_conversions.h"
-#include "browser/native_window.h"
+#include "atom/browser/native_window.h"
 
 @interface ModalDelegate : NSObject {
  @private
similarity index 99%
rename from browser/ui/message_box_win.cc
rename to atom/browser/ui/message_box_win.cc
index c7a61b8edbb78e2f6897456e94207a150f1b3c26..3227c8b2a594d8cf77efec6f563f2c2185113ee6 100644 (file)
@@ -2,14 +2,14 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/message_box.h"
+#include "atom/browser/ui/message_box.h"
 
 #include "base/callback.h"
 #include "base/message_loop/message_loop.h"
 #include "base/run_loop.h"
 #include "base/strings/string_util.h"
 #include "base/strings/utf_string_conversions.h"
-#include "browser/native_window.h"
+#include "atom/browser/native_window.h"
 #include "skia/ext/skia_utils_win.h"
 #include "ui/views/controls/button/label_button.h"
 #include "ui/views/controls/message_box_view.h"
similarity index 97%
rename from browser/ui/win/menu_2.cc
rename to atom/browser/ui/win/menu_2.cc
index c2bcd476ec7ef247cb9dc04dc190f681c39c6f1a..6db97359bcd0a13677558de49d7d36e3c302242a 100644 (file)
@@ -3,7 +3,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/win/menu_2.h"
+#include "atom/browser/ui/win/menu_2.h"
 
 #include "ui/base/models/menu_model.h"
 #include "ui/views/controls/menu/menu_listener.h"
similarity index 98%
rename from browser/ui/win/menu_2.h
rename to atom/browser/ui/win/menu_2.h
index 67a80e28de1189f855c511428b90ca70e2f40daa..396d3302272ad95fb8c2df0e7c2b23b810f89c6a 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "base/basictypes.h"
 #include "base/memory/scoped_ptr.h"
-#include "browser/ui/win/native_menu_win.h"
+#include "atom/browser/ui/win/native_menu_win.h"
 #include "ui/gfx/native_widget_types.h"
 
 namespace gfx {
similarity index 99%
rename from browser/ui/win/native_menu_win.cc
rename to atom/browser/ui/win/native_menu_win.cc
index 9ed6b8306402cbf8b47853415ef8b3bff54212e6..47555f8f30ac92ceb51411aa98edc7de42052e0b 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/ui/win/native_menu_win.h"
+#include "atom/browser/ui/win/native_menu_win.h"
 
 #include <Windowsx.h>
 
@@ -12,7 +12,7 @@
 #include "base/stl_util.h"
 #include "base/strings/string_util.h"
 #include "base/win/wrapped_window_proc.h"
-#include "browser/ui/win/menu_2.h"
+#include "atom/browser/ui/win/menu_2.h"
 #include "ui/base/accelerators/accelerator.h"
 #include "ui/events/keycodes/keyboard_codes.h"
 #include "ui/base/l10n/l10n_util.h"
similarity index 94%
rename from browser/window_list.cc
rename to atom/browser/window_list.cc
index 891ac5b03e69e8187996d5e09ad416411371da1c..9343d89aca70a73060f96aea77741faebe97012c 100644 (file)
@@ -2,13 +2,13 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "browser/window_list.h"
+#include "atom/browser/window_list.h"
 
 #include <algorithm>
 
 #include "base/logging.h"
-#include "browser/native_window.h"
-#include "browser/window_list_observer.h"
+#include "atom/browser/native_window.h"
+#include "atom/browser/window_list_observer.h"
 
 namespace atom {
 
similarity index 73%
rename from common/api/api_messages.cc
rename to atom/common/api/api_messages.cc
index e5ba3c9f1680a6bc0b1a875b40ce62316059439f..4fa907517c1a4ae8ab9eec9fab3dadd77efeb7b4 100644 (file)
@@ -4,30 +4,30 @@
 
 // Get basic type definitions.
 #define IPC_MESSAGE_IMPL
-#include "common/api/api_messages.h"
+#include "atom/common/api/api_messages.h"
 
 // Generate constructors.
 #include "ipc/struct_constructor_macros.h"
-#include "common/api/api_messages.h"
+#include "atom/common/api/api_messages.h"
 
 // Generate destructors.
 #include "ipc/struct_destructor_macros.h"
-#include "common/api/api_messages.h"
+#include "atom/common/api/api_messages.h"
 
 // Generate param traits write methods.
 #include "ipc/param_traits_write_macros.h"
 namespace IPC {
-#include "common/api/api_messages.h"
+#include "atom/common/api/api_messages.h"
 }  // namespace IPC
 
 // Generate param traits read methods.
 #include "ipc/param_traits_read_macros.h"
 namespace IPC {
-#include "common/api/api_messages.h"
+#include "atom/common/api/api_messages.h"
 }  // namespace IPC
 
 // Generate param traits log methods.
 #include "ipc/param_traits_log_macros.h"
 namespace IPC {
-#include "common/api/api_messages.h"
+#include "atom/common/api/api_messages.h"
 }  // namespace IPC
similarity index 97%
rename from common/api/api_messages.h
rename to atom/common/api/api_messages.h
index e92a4d3f0b2ad25a4d2bc4d29c3a3cbb62c3362c..003ac790fc8433a5efe14f596d90ef9c343e75fc 100644 (file)
@@ -6,7 +6,7 @@
 
 #include "base/strings/string16.h"
 #include "base/values.h"
-#include "common/draggable_region.h"
+#include "atom/common/draggable_region.h"
 #include "content/public/common/common_param_traits.h"
 #include "ipc/ipc_message_macros.h"
 
similarity index 94%
rename from common/api/atom_api_clipboard.cc
rename to atom/common/api/atom_api_clipboard.cc
index d0c97d350fc9359af3e383b1e7f46618b1dc08f8..e7d4c7e96c49ec612456ec4fe10449d4f92a0170 100644 (file)
@@ -2,14 +2,14 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/api/atom_api_clipboard.h"
+#include "atom/common/api/atom_api_clipboard.h"
 
 #include <string>
 
-#include "common/v8/native_type_conversions.h"
+#include "atom/common/v8/native_type_conversions.h"
 #include "ui/base/clipboard/clipboard.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 82%
rename from common/api/atom_api_crash_reporter.cc
rename to atom/common/api/atom_api_crash_reporter.cc
index d64796e2c12fd5fc0993a53b302666502978227a..325cb69c747f0190a13386a69009620ea0bf8dbc 100644 (file)
@@ -2,12 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/api/atom_api_crash_reporter.h"
+#include "atom/common/api/atom_api_crash_reporter.h"
 
-#include "common/crash_reporter/crash_reporter.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/common/crash_reporter/crash_reporter.h"
+#include "atom/common/v8/native_type_conversions.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 91%
rename from common/api/atom_api_event_emitter.cc
rename to atom/common/api/atom_api_event_emitter.cc
index 998876b05270af5704cf2339c81cebbea453349d..c6640492418cff397d8a66b93c442bb2c10060dc 100644 (file)
@@ -2,15 +2,15 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/api/atom_api_event_emitter.h"
+#include "atom/common/api/atom_api_event_emitter.h"
 
 #include <vector>
 
 #include "base/logging.h"
-#include "browser/api/atom_api_event.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/browser/api/atom_api_event.h"
+#include "atom/common/v8/native_type_conversions.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 96%
rename from common/api/atom_api_id_weak_map.cc
rename to atom/common/api/atom_api_id_weak_map.cc
index 09abbe9017b2866977e166f341d01329b3a0bcf0..3a2fb2ce5dbf853a0ac252c64f1d5f8ada8c9a0f 100644 (file)
@@ -3,13 +3,13 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/api/atom_api_id_weak_map.h"
+#include "atom/common/api/atom_api_id_weak_map.h"
 
 #include <algorithm>
 
 #include "base/logging.h"
-#include "common/v8/native_type_conversions.h"
-#include "common/v8/node_common.h"
+#include "atom/common/v8/native_type_conversions.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 96%
rename from common/api/atom_api_id_weak_map.h
rename to atom/common/api/atom_api_id_weak_map.h
index d2c0a33ac68f45061d7ca381db3c14cddfe1e5ba..c4e02c2c87662d785a7891851c804dbbb218b87a 100644 (file)
@@ -9,7 +9,7 @@
 #include <map>
 
 #include "base/basictypes.h"
-#include "common/v8/scoped_persistent.h"
+#include "atom/common/v8/scoped_persistent.h"
 #include "vendor/node/src/node_object_wrap.h"
 
 namespace atom {
similarity index 94%
rename from common/api/atom_api_screen.cc
rename to atom/common/api/atom_api_screen.cc
index 8e7945003e3f145414538b1e85884dfe8ae05327..f5dc4388d552059ad059e4cc4cb19a9d1727abcb 100644 (file)
@@ -2,12 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/api/atom_api_screen.h"
+#include "atom/common/api/atom_api_screen.h"
 
-#include "common/v8/native_type_conversions.h"
+#include "atom/common/v8/native_type_conversions.h"
 #include "ui/gfx/screen.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 #if defined(TOOLKIT_GTK)
 #include "base/command_line.h"
similarity index 94%
rename from common/api/atom_api_screen.h
rename to atom/common/api/atom_api_screen.h
index df762f3e8d6089a3ff7d9924d18d27d77ae17cb2..65197d9c2ab946101cb48b28d28d70769a43f837 100644 (file)
@@ -5,7 +5,7 @@
 #ifndef ATOM_COMMON_API_ATOM_API_SCREEN_H_
 #define ATOM_COMMON_API_ATOM_API_SCREEN_H_
 
-#include "common/api/atom_api_event_emitter.h"
+#include "atom/common/api/atom_api_event_emitter.h"
 
 namespace gfx {
 class Screen;
similarity index 91%
rename from common/api/atom_api_shell.cc
rename to atom/common/api/atom_api_shell.cc
index 63a114b87f80a9b2e45edac9e342d59470bbc82b..6864e25f2eae0d12c722ccece6a98f2486d0ca6e 100644 (file)
@@ -2,16 +2,16 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/api/atom_api_shell.h"
+#include "atom/common/api/atom_api_shell.h"
 
 #include <string>
 
 #include "base/files/file_path.h"
-#include "common/platform_util.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/common/platform_util.h"
+#include "atom/common/v8/native_type_conversions.h"
 #include "url/gurl.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 92%
rename from common/api/atom_api_v8_util.cc
rename to atom/common/api/atom_api_v8_util.cc
index 1f3d250af6e21d3c3adea4d63cd338b1f7c63e7e..8aa20656457a7a895be3ad160a7f54c7d1c282d2 100644 (file)
@@ -2,12 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/api/object_life_monitor.h"
+#include "atom/common/api/object_life_monitor.h"
 
-#include "common/v8/native_type_conversions.h"
+#include "atom/common/v8/native_type_conversions.h"
 #include "v8/include/v8-profiler.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 97%
rename from common/api/atom_bindings.cc
rename to atom/common/api/atom_bindings.cc
index 060486b457563c12f1e1b7c55c734725e5370c82..91c5b2523d16b69325cecf0dc86457361009ce44 100644 (file)
@@ -2,13 +2,13 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/api/atom_bindings.h"
+#include "atom/common/api/atom_bindings.h"
 
 #include "base/logging.h"
-#include "common/atom_version.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/common/atom_version.h"
+#include "atom/common/v8/native_type_conversions.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 91%
rename from common/api/atom_extensions.cc
rename to atom/common/api/atom_extensions.cc
index 4bbf7dd634a8e03f83a11175918fe1a50f00ece9..16cd74e7846c0fcde5f4f6fcff165f62edf5a8fc 100644 (file)
@@ -8,7 +8,7 @@
 #include "base/strings/string_util.h"
 #include "vendor/node/src/node_version.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
@@ -20,7 +20,7 @@ namespace atom {
 #define NODE_EXT_LIST_ITEM NODE_MODULE_DECL
 #define NODE_EXT_LIST_END
 
-#include "common/api/atom_extensions.h"
+#include "atom/common/api/atom_extensions.h"
 
 #undef NODE_EXT_LIST_START
 #undef NODE_EXT_LIST_ITEM
@@ -31,7 +31,7 @@ namespace atom {
 #define NODE_EXT_LIST_ITEM NODE_EXT_STRING
 #define NODE_EXT_LIST_END NULL};
 
-#include "common/api/atom_extensions.h"  // NOLINT
+#include "atom/common/api/atom_extensions.h"  // NOLINT
 
 node::node_module_struct* GetBuiltinModule(const char *name, bool is_browser) {
   char common[128];
similarity index 95%
rename from common/api/object_life_monitor.cc
rename to atom/common/api/object_life_monitor.cc
index fc9514363f49449e1eec13a20e2ee9d3db58207b..d058d6d5dcf7eda506471da5ea273fd277a3767e 100644 (file)
@@ -3,7 +3,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/api/object_life_monitor.h"
+#include "atom/common/api/object_life_monitor.h"
 
 namespace atom {
 
similarity index 94%
rename from common/api/object_life_monitor.h
rename to atom/common/api/object_life_monitor.h
index 2621a62baf30191c341e5e067ad0fe3aeb32b030..101560f161e4b153dfc366ac823cd65e1278c7d8 100644 (file)
@@ -7,7 +7,7 @@
 #define ATOM_COMMON_API_OBJECT_LIFE_MONITOR_H_
 
 #include "base/basictypes.h"
-#include "common/v8/scoped_persistent.h"
+#include "atom/common/v8/scoped_persistent.h"
 
 namespace atom {
 
similarity index 91%
rename from common/crash_reporter/crash_reporter.cc
rename to atom/common/crash_reporter/crash_reporter.cc
index 39d66956bd8f6e6a5632c0a5a6840c64239f09e6..02d82a4cc454a3b6b9fc61525c0b1d2672038f48 100644 (file)
@@ -2,11 +2,11 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/crash_reporter/crash_reporter.h"
+#include "atom/common/crash_reporter/crash_reporter.h"
 
 #include "base/command_line.h"
-#include "browser/browser.h"
-#include "common/atom_version.h"
+#include "atom/browser/browser.h"
+#include "atom/common/atom_version.h"
 #include "content/public/common/content_switches.h"
 
 namespace crash_reporter {
similarity index 98%
rename from common/crash_reporter/crash_reporter_linux.cc
rename to atom/common/crash_reporter/crash_reporter_linux.cc
index ded879a42141ce874fd6b9c0794f7f0f2f30423c..173bd661803533cf2284ef822f71a5fd7513d2f5 100644 (file)
@@ -3,7 +3,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/crash_reporter/crash_reporter_linux.h"
+#include "atom/common/crash_reporter/crash_reporter_linux.h"
 
 #include <sys/time.h>
 #include <unistd.h>
similarity index 93%
rename from common/crash_reporter/crash_reporter_linux.h
rename to atom/common/crash_reporter/crash_reporter_linux.h
index e2349bbe5debdfbb59886fe01965548f5f74bec0..749d4a30b886786ebaea874b8c4ffbc879191810 100644 (file)
@@ -7,8 +7,8 @@
 
 #include "base/compiler_specific.h"
 #include "base/memory/scoped_ptr.h"
-#include "common/crash_reporter/crash_reporter.h"
-#include "common/crash_reporter/linux/crash_dump_handler.h"
+#include "atom/common/crash_reporter/crash_reporter.h"
+#include "atom/common/crash_reporter/linux/crash_dump_handler.h"
 
 template <typename T> struct DefaultSingletonTraits;
 
similarity index 95%
rename from common/crash_reporter/crash_reporter_mac.h
rename to atom/common/crash_reporter/crash_reporter_mac.h
index 800de9c86fbd5d2e4588799d3a3d02dae155038e..b9a1cc12993376029d6e7b73215f0454b8f13a1d 100644 (file)
@@ -6,7 +6,7 @@
 #define ATOM_COMMON_CRASH_REPORTER_CRASH_REPORTER_MAC_H_
 
 #include "base/compiler_specific.h"
-#include "common/crash_reporter/crash_reporter.h"
+#include "atom/common/crash_reporter/crash_reporter.h"
 #import "vendor/breakpad/src/client/mac/Framework/Breakpad.h"
 
 template <typename T> struct DefaultSingletonTraits;
similarity index 97%
rename from common/crash_reporter/crash_reporter_mac.mm
rename to atom/common/crash_reporter/crash_reporter_mac.mm
index e43b7bb9dc6d1c0cd6b7ff41b2fa915d2e90a54d..dd2e849be3f62f41eaad3420101b9a0181d5cb2a 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/crash_reporter/crash_reporter_mac.h"
+#include "atom/common/crash_reporter/crash_reporter_mac.h"
 
 #include "base/memory/singleton.h"
 #include "base/strings/sys_string_conversions.h"
similarity index 98%
rename from common/crash_reporter/crash_reporter_win.cc
rename to atom/common/crash_reporter/crash_reporter_win.cc
index 2403b3b90bee45b273e2c98546f263a32dfe32de..f8d1411c2cf557dc9e6ade454ddb3bb0878e713d 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/crash_reporter/crash_reporter_win.h"
+#include "atom/common/crash_reporter/crash_reporter_win.h"
 
 #include "base/file_util.h"
 #include "base/logging.h"
similarity index 97%
rename from common/crash_reporter/crash_reporter_win.h
rename to atom/common/crash_reporter/crash_reporter_win.h
index 6786975546dcafb24140165eddfedba97e10beb7..bf1ef752eb7f505c005faa5594953bba77c6bdf6 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "base/compiler_specific.h"
 #include "base/memory/scoped_ptr.h"
-#include "common/crash_reporter/crash_reporter.h"
+#include "atom/common/crash_reporter/crash_reporter.h"
 #include "vendor/breakpad/src/client/windows/handler/exception_handler.h"
 
 template <typename T> struct DefaultSingletonTraits;
similarity index 99%
rename from common/crash_reporter/linux/crash_dump_handler.cc
rename to atom/common/crash_reporter/linux/crash_dump_handler.cc
index ddbd6e32de30bcf0a19a023512d40fb8be820b11..824ada737d283dbc3a5716fdc9fae09c6aed1231 100644 (file)
@@ -6,7 +6,7 @@
 // For linux_syscall_support.h. This makes it safe to call embedded system
 // calls when in seccomp mode.
 
-#include "common/crash_reporter/linux/crash_dump_handler.h"
+#include "atom/common/crash_reporter/linux/crash_dump_handler.h"
 
 #include <poll.h>
 
similarity index 99%
rename from common/crash_reporter/win/crash_service.cc
rename to atom/common/crash_reporter/win/crash_service.cc
index 0a16dc96a0f170ce5ab367870fde996390d41d4e..e76c875b4600c51686f1c48e3cacb5e7a3396f89 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/crash_reporter/win/crash_service.h"
+#include "atom/common/crash_reporter/win/crash_service.h"
 
 #include <windows.h>
 
similarity index 96%
rename from common/crash_reporter/win/crash_service_main.cc
rename to atom/common/crash_reporter/win/crash_service_main.cc
index b62fd538f2c25c581c94d78b441ba132f2204fed..7cd35445df4c4554b50e4a0a5699c78f5e69f7bb 100644 (file)
@@ -2,14 +2,14 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/crash_reporter/win/crash_service_main.h"
+#include "atom/common/crash_reporter/win/crash_service_main.h"
 
 #include "base/at_exit.h"
 #include "base/command_line.h"
 #include "base/file_util.h"
 #include "base/logging.h"
 #include "base/strings/string_util.h"
-#include "common/crash_reporter/win/crash_service.h"
+#include "atom/common/crash_reporter/win/crash_service.h"
 
 namespace crash_service {
 
similarity index 86%
rename from common/draggable_region.cc
rename to atom/common/draggable_region.cc
index e408c9b462e9abdb30bd073dedb7246f8cad3900..691279f0f42d48006dde666e54a3a4429c2d410c 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/draggable_region.h"
+#include "atom/common/draggable_region.h"
 
 namespace atom {
 
similarity index 90%
rename from common/linux/application_info.cc
rename to atom/common/linux/application_info.cc
index 93d33b567242b95f471d5cea812defe339dc700a..a1ce5ada38ba41af6983dfc6b840fd7c15f339de 100644 (file)
@@ -4,7 +4,7 @@
 
 #include <string>
 
-#include "common/atom_version.h"
+#include "atom/common/atom_version.h"
 
 namespace brightray {
 
similarity index 98%
rename from common/node_bindings.cc
rename to atom/common/node_bindings.cc
index 3d2d5ebcc4f7b7a2fa3e24fd16e5d57f56fd7365..ef5e6ef73e0ae644926ba372ae3c204be7cbbcd0 100644 (file)
@@ -2,20 +2,20 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/node_bindings.h"
+#include "atom/common/node_bindings.h"
 
 #include "base/command_line.h"
 #include "base/message_loop/message_loop.h"
 #include "base/base_paths.h"
 #include "base/path_service.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/common/v8/native_type_conversions.h"
 #include "content/public/browser/browser_thread.h"
 
 #if defined(OS_WIN)
 #include "base/strings/utf_string_conversions.h"
 #endif
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 using content::BrowserThread;
 
similarity index 97%
rename from common/node_bindings_linux.cc
rename to atom/common/node_bindings_linux.cc
index 035441c8dc377125b231dc95c461964f2ce22406..7aa5ccd1048fbe7d1e6d6eb3336a3d2725fec6ae 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/node_bindings_linux.h"
+#include "atom/common/node_bindings_linux.h"
 
 #include <sys/epoll.h>
 
similarity index 95%
rename from common/node_bindings_linux.h
rename to atom/common/node_bindings_linux.h
index 83711543d80f517bdee636d3da1781f4ff8be477..ba948a84beecff0215fe0818cab020a4b21710ea 100644 (file)
@@ -6,7 +6,7 @@
 #define ATOM_COMMON_NODE_BINDINGS_LINUX_H_
 
 #include "base/compiler_specific.h"
-#include "common/node_bindings.h"
+#include "atom/common/node_bindings.h"
 
 namespace atom {
 
similarity index 95%
rename from common/node_bindings_mac.cc
rename to atom/common/node_bindings_mac.cc
index 0a31a1dd1fac4a55361fc7a5fa57627d9ac2de57..d918b8e761c8c47bfb679264dab54d546c64e3c6 100644 (file)
@@ -2,14 +2,14 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/node_bindings_mac.h"
+#include "atom/common/node_bindings_mac.h"
 
 #include <errno.h>
 #include <sys/sysctl.h>
 #include <sys/time.h>
 #include <sys/types.h>
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 95%
rename from common/node_bindings_mac.h
rename to atom/common/node_bindings_mac.h
index 4929c1a2cf6d1bc2747aa07df0468e23031713a5..1c1d5b57f4a543d1cec78c16e8eaa3c129dc1bc6 100644 (file)
@@ -6,7 +6,7 @@
 #define ATOM_COMMON_NODE_BINDINGS_MAC_
 
 #include "base/compiler_specific.h"
-#include "common/node_bindings.h"
+#include "atom/common/node_bindings.h"
 
 namespace atom {
 
similarity index 97%
rename from common/node_bindings_win.cc
rename to atom/common/node_bindings_win.cc
index 15f5b32c268352ea5a2842ff0e220b6da3d456bb..6e56d80bae1993668f1971d02e73bc95b681cbc3 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/node_bindings_win.h"
+#include "atom/common/node_bindings_win.h"
 
 #include <windows.h>
 
similarity index 93%
rename from common/node_bindings_win.h
rename to atom/common/node_bindings_win.h
index 7a512313da8a15274df3fe3bf3a08ad077264b43..a8cdef880028ae548cb94556a6927481a25abc57 100644 (file)
@@ -6,7 +6,7 @@
 #define ATOM_COMMON_NODE_BINDINGS_WIN_
 
 #include "base/compiler_specific.h"
-#include "common/node_bindings.h"
+#include "atom/common/node_bindings.h"
 
 namespace atom {
 
similarity index 96%
rename from common/options_switches.cc
rename to atom/common/options_switches.cc
index 9e29340276e37e7e38b39265efda85ce17b7fdf5..48358c5798aeea82f8f4d38c86048b1fe20acd70 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/options_switches.h"
+#include "atom/common/options_switches.h"
 
 namespace atom {
 
similarity index 98%
rename from common/platform_util_linux.cc
rename to atom/common/platform_util_linux.cc
index d2ac2f88f93a3d37cf72c35ac4fe54d8ef661523..4d573a98b84b093d75af8a35bbae77f1e21a9b93 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/platform_util.h"
+#include "atom/common/platform_util.h"
 
 #include <stdio.h>
 
similarity index 99%
rename from common/platform_util_mac.mm
rename to atom/common/platform_util_mac.mm
index c01c43fdd047368059834bd6faa04eb2e580d0de..2a163c4553c6dc28ca61aec2c6e5b60be8e77168 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/platform_util.h"
+#include "atom/common/platform_util.h"
 
 #include <Carbon/Carbon.h>
 #import <Cocoa/Cocoa.h>
similarity index 99%
rename from common/platform_util_win.cc
rename to atom/common/platform_util_win.cc
index 076167540c6c37a09910b9e093f63175066cdb3e..46ea850fc49aad2967cffde0fabb827b9619491c 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/platform_util.h"
+#include "atom/common/platform_util.h"
 
 #include <windows.h>
 #include <commdlg.h>
similarity index 98%
rename from common/v8/native_type_conversions.h
rename to atom/common/v8/native_type_conversions.h
index 2beed8befc3d7e04b93f4589b1ef5376470b762a..82861d48c44e54c5b4b705ab25c2adeef3403823 100644 (file)
 #include "base/strings/string16.h"
 #include "base/template_util.h"
 #include "base/values.h"
-#include "browser/api/atom_api_window.h"
-#include "common/swap_or_assign.h"
-#include "common/v8/scoped_persistent.h"
-#include "common/v8/v8_value_converter.h"
+#include "atom/browser/api/atom_api_window.h"
+#include "atom/common/swap_or_assign.h"
+#include "atom/common/v8/scoped_persistent.h"
+#include "atom/common/v8/v8_value_converter.h"
 #include "ui/gfx/point.h"
 #include "ui/gfx/rect.h"
 #include "ui/gfx/size.h"
similarity index 99%
rename from common/v8/v8_value_converter.cc
rename to atom/common/v8/v8_value_converter.cc
index 8f87ffada9d95aae378a83a3ed752d0c4ae40f87..6d25ab2f800ad033e12c9b2f0d445b46def8444d 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "common/v8/v8_value_converter.h"
+#include "atom/common/v8/v8_value_converter.h"
 
 #include <string>
 
similarity index 92%
rename from renderer/api/atom_api_renderer_ipc.cc
rename to atom/renderer/api/atom_api_renderer_ipc.cc
index 3bc185900fba990ad056a172572d47abb8a737d5..d95acf83f2981097f7b2f1e7aaca8616e240af9b 100644 (file)
@@ -2,15 +2,15 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "renderer/api/atom_api_renderer_ipc.h"
+#include "atom/renderer/api/atom_api_renderer_ipc.h"
 
-#include "common/api/api_messages.h"
-#include "common/v8/native_type_conversions.h"
+#include "atom/common/api/api_messages.h"
+#include "atom/common/v8/native_type_conversions.h"
 #include "content/public/renderer/render_view.h"
 #include "third_party/WebKit/public/web/WebFrame.h"
 #include "third_party/WebKit/public/web/WebView.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 using content::RenderView;
 using WebKit::WebFrame;
similarity index 93%
rename from renderer/api/atom_renderer_bindings.cc
rename to atom/renderer/api/atom_renderer_bindings.cc
index 499410bc0710fc083bd6bef33b7f24a4dd878219..044a72f729dca69a1c150e3832a099cdb8823f19 100644 (file)
@@ -2,14 +2,14 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "renderer/api/atom_renderer_bindings.h"
+#include "atom/renderer/api/atom_renderer_bindings.h"
 
-#include "common/v8/native_type_conversions.h"
+#include "atom/common/v8/native_type_conversions.h"
 #include "content/public/renderer/render_view.h"
 #include "third_party/WebKit/public/web/WebFrame.h"
 #include "third_party/WebKit/public/web/WebView.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {
 
similarity index 95%
rename from renderer/api/atom_renderer_bindings.h
rename to atom/renderer/api/atom_renderer_bindings.h
index 7eb43bf7adfcc4022277a6752f845c398215ea9f..fd63c0ec026b37a8d3dff83bf7122e5e38952721 100644 (file)
@@ -5,7 +5,7 @@
 #ifndef ATOM_RENDERER_API_ATOM_RENDERER_BINDINGS_H_
 #define ATOM_RENDERER_API_ATOM_RENDERER_BINDINGS_H_
 
-#include "common/api/atom_bindings.h"
+#include "atom/common/api/atom_bindings.h"
 
 #include "base/strings/string16.h"
 
similarity index 89%
rename from renderer/atom_render_view_observer.cc
rename to atom/renderer/atom_render_view_observer.cc
index 69d811bf5acf8a3c94001d34430b3e0b8b4f87ec..7345a0f8d01381daa8b8e804495842790fb462aa 100644 (file)
@@ -2,19 +2,19 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "renderer/atom_render_view_observer.h"
+#include "atom/renderer/atom_render_view_observer.h"
 
-#include "common/api/api_messages.h"
+#include "atom/common/api/api_messages.h"
 #include "content/public/renderer/render_view.h"
 #include "ipc/ipc_message_macros.h"
-#include "renderer/api/atom_renderer_bindings.h"
-#include "renderer/atom_renderer_client.h"
+#include "atom/renderer/api/atom_renderer_bindings.h"
+#include "atom/renderer/atom_renderer_client.h"
 #include "third_party/WebKit/public/web/WebDraggableRegion.h"
 #include "third_party/WebKit/public/web/WebDocument.h"
 #include "third_party/WebKit/public/web/WebFrame.h"
 #include "third_party/WebKit/public/web/WebView.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 using WebKit::WebFrame;
 
similarity index 95%
rename from renderer/atom_renderer_client.cc
rename to atom/renderer/atom_renderer_client.cc
index d2d095c4fe399f8aa989f9f6fefbe6d4c2f621a6..46f73f27303c95e03f2a62da1bf77faec38a17d5 100644 (file)
@@ -2,19 +2,19 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "renderer/atom_renderer_client.h"
+#include "atom/renderer/atom_renderer_client.h"
 
 #include <algorithm>
 
 #include "base/command_line.h"
-#include "common/node_bindings.h"
-#include "common/options_switches.h"
-#include "renderer/api/atom_renderer_bindings.h"
-#include "renderer/atom_render_view_observer.h"
+#include "atom/common/node_bindings.h"
+#include "atom/common/options_switches.h"
+#include "atom/renderer/api/atom_renderer_bindings.h"
+#include "atom/renderer/atom_render_view_observer.h"
 #include "third_party/WebKit/public/web/WebDocument.h"
 #include "third_party/WebKit/public/web/WebFrame.h"
 
-#include "common/v8/node_common.h"
+#include "atom/common/v8/node_common.h"
 
 namespace atom {