'lib_sources': [
'app/atom_main_delegate.cc',
'app/atom_main_delegate.h',
- 'browser/accelerator_util.cc',
- 'browser/accelerator_util.h',
- 'browser/accelerator_util_mac.mm',
- 'browser/accelerator_util_win.cc',
'browser/api/atom_api_app.cc',
'browser/api/atom_api_app.h',
'browser/api/atom_api_auto_updater.cc',
'browser/native_window_win.cc',
'browser/native_window_win.h',
'browser/native_window_observer.h',
+ 'browser/ui/accelerator_util.cc',
+ 'browser/ui/accelerator_util.h',
+ 'browser/ui/accelerator_util_mac.mm',
+ 'browser/ui/accelerator_util_win.cc',
'browser/ui/file_dialog.h',
'browser/ui/file_dialog_mac.mm',
'browser/ui/file_dialog_win.cc',
#include "browser/api/atom_api_menu.h"
-#include "browser/accelerator_util.h"
#include "browser/api/atom_api_window.h"
+#include "browser/ui/accelerator_util.h"
#define UNWRAP_MEMNU_AND_CHECK \
Menu* self = ObjectWrap::Unwrap<Menu>(args.This()); \
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "browser/accelerator_util.h"
+#include "browser/ui/accelerator_util.h"
#include <string>
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BROWSER_ACCELERATOR_UTIL_H_
-#define BROWSER_ACCELERATOR_UTIL_H_
+#ifndef BROWSER_UI_ACCELERATOR_UTIL_H_
+#define BROWSER_UI_ACCELERATOR_UTIL_H_
#include <string>
} // namespace accelerator_util
-#endif // BROWSER_ACCELERATOR_UTIL_H_
+#endif // BROWSER_UI_ACCELERATOR_UTIL_H_
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "browser/accelerator_util.h"
+#include "browser/ui/accelerator_util.h"
#include "ui/base/accelerators/accelerator.h"
#import "ui/base/accelerators/platform_accelerator_cocoa.h"
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "browser/accelerator_util.h"
+#include "browser/ui/accelerator_util.h"
#include "ui/base/accelerators/accelerator.h"
title_(UTF8ToUTF16(title)),
widget_(NULL),
message_box_view_(NULL) {
- DCHECK(buttons.size() > 0);
+ DCHECK_GT(buttons.size(), 0);
set_owned_by_client();
views::MessageBoxView::InitParams params(UTF8ToUTF16(title));