]> khamidou — GitHub mirrors - electron.git/commitdiff
Move atom_event_processing_window to browser/ui.
authorCheng Zhao <zcbenz@gmail.com>
Wed, 25 Sep 2013 08:42:49 +0000 (16:42 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 25 Sep 2013 08:51:55 +0000 (16:51 +0800)
atom.gyp
browser/native_window_mac.mm
browser/ui/atom_event_processing_window.h [moved from browser/atom_event_processing_window.h with 84% similarity]
browser/ui/atom_event_processing_window.mm [moved from browser/atom_event_processing_window.mm with 98% similarity]

index 685ea7585078b600de2ef23e342690f462b7e1e1..1e0656342a64600700cffdc8c3e19396605ced50 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
@@ -79,8 +79,6 @@
       'browser/atom_browser_main_parts.cc',
       'browser/atom_browser_main_parts.h',
       'browser/atom_browser_main_parts_mac.mm',
-      'browser/atom_event_processing_window.h',
-      'browser/atom_event_processing_window.mm',
       'browser/atom_javascript_dialog_manager.cc',
       'browser/atom_javascript_dialog_manager.h',
       'browser/browser.cc',
       'browser/ui/accelerator_util.h',
       'browser/ui/accelerator_util_mac.mm',
       'browser/ui/accelerator_util_win.cc',
+      'browser/ui/atom_event_processing_window.h',
+      'browser/ui/atom_event_processing_window.mm',
       'browser/ui/atom_menu_controller_mac.h',
       'browser/ui/atom_menu_controller_mac.mm',
       'browser/ui/file_dialog.h',
index 3ef1d1b1c2f1f3bfab0b318d9fff53b467bc7390..65ff9e7d8a17795c626ee3359f4a8efba0cb1fe9 100644 (file)
@@ -13,7 +13,7 @@
 #include "base/mac/mac_util.h"
 #include "base/strings/sys_string_conversions.h"
 #include "base/values.h"
-#import "browser/atom_event_processing_window.h"
+#import "browser/ui/atom_event_processing_window.h"
 #include "brightray/browser/inspectable_web_contents.h"
 #include "brightray/browser/inspectable_web_contents_view.h"
 #include "common/draggable_region.h"
similarity index 84%
rename from browser/atom_event_processing_window.h
rename to browser/ui/atom_event_processing_window.h
index cb13025f3d40614d93c9f092ac51632d848103f5..e657e1aa076d60d85d450dea26dbb23897eab73a 100644 (file)
@@ -2,8 +2,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#ifndef ATOM_BROWSER_ATOM_EVENT_PROCESSING_WINDOW_H_
-#define ATOM_BROWSER_ATOM_EVENT_PROCESSING_WINDOW_H_
+#ifndef ATOM_BROWSER_UI_ATOM_EVENT_PROCESSING_WINDOW_H_
+#define ATOM_BROWSER_UI_ATOM_EVENT_PROCESSING_WINDOW_H_
 
 #import <Cocoa/Cocoa.h>
 
@@ -29,4 +29,4 @@
 - (BOOL)performKeyEquivalent:(NSEvent*)theEvent;
 @end
 
-#endif  // ATOM_BROWSER_ATOM_EVENT_PROCESSING_WINDOW_H_
+#endif  // ATOM_BROWSER_UI_ATOM_EVENT_PROCESSING_WINDOW_H_
similarity index 98%
rename from browser/atom_event_processing_window.mm
rename to browser/ui/atom_event_processing_window.mm
index d209b0a0db4aba8ab8eced91ef131faa358695c7..ec287fbba9d1349e85a58930eb5caac868be4e0d 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/atom_event_processing_window.h"
+#import "browser/ui/atom_event_processing_window.h"
 
 #include "base/logging.h"
 #import "content/public/browser/render_widget_host_view_mac_base.h"