refactor: replace includes for atom with shell
This commit is contained in:
parent
d7f07e8a80
commit
2160c1fcc9
458 changed files with 2031 additions and 2031 deletions
|
@ -2,21 +2,21 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "atom/browser/notifications/linux/libnotify_notification.h"
|
||||
#include "shell/browser/notifications/linux/libnotify_notification.h"
|
||||
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "atom/browser/notifications/notification_delegate.h"
|
||||
#include "atom/common/application_info.h"
|
||||
#include "atom/common/platform_util.h"
|
||||
#include "base/files/file_enumerator.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/strings/string_util.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "chrome/browser/ui/libgtkui/gtk_util.h"
|
||||
#include "chrome/browser/ui/libgtkui/skia_utils_gtk.h"
|
||||
#include "shell/browser/notifications/notification_delegate.h"
|
||||
#include "shell/common/application_info.h"
|
||||
#include "shell/common/platform_util.h"
|
||||
#include "third_party/skia/include/core/SkBitmap.h"
|
||||
|
||||
namespace atom {
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "atom/browser/notifications/notification.h"
|
||||
#include "library_loaders/libnotify_loader.h"
|
||||
#include "shell/browser/notifications/notification.h"
|
||||
#include "ui/base/glib/glib_signal.h"
|
||||
|
||||
namespace atom {
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE-CHROMIUM file.
|
||||
|
||||
#include "atom/browser/notifications/linux/notification_presenter_linux.h"
|
||||
#include "shell/browser/notifications/linux/notification_presenter_linux.h"
|
||||
|
||||
#include "atom/browser/notifications/linux/libnotify_notification.h"
|
||||
#include "shell/browser/notifications/linux/libnotify_notification.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef ATOM_BROWSER_NOTIFICATIONS_LINUX_NOTIFICATION_PRESENTER_LINUX_H_
|
||||
#define ATOM_BROWSER_NOTIFICATIONS_LINUX_NOTIFICATION_PRESENTER_LINUX_H_
|
||||
|
||||
#include "atom/browser/notifications/notification_presenter.h"
|
||||
#include "shell/browser/notifications/notification_presenter.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "atom/browser/notifications/notification.h"
|
||||
#include "base/mac/scoped_nsobject.h"
|
||||
#include "shell/browser/notifications/notification.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "atom/browser/notifications/mac/cocoa_notification.h"
|
||||
#include "shell/browser/notifications/mac/cocoa_notification.h"
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include "atom/browser/notifications/notification_delegate.h"
|
||||
#include "atom/browser/notifications/notification_presenter.h"
|
||||
#include "base/mac/mac_util.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "shell/browser/notifications/notification_delegate.h"
|
||||
#include "shell/browser/notifications/notification_presenter.h"
|
||||
#include "skia/ext/skia_utils_mac.h"
|
||||
|
||||
namespace atom {
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "atom/browser/notifications/mac/notification_center_delegate.h"
|
||||
#include "shell/browser/notifications/mac/notification_center_delegate.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "atom/browser/notifications/mac/cocoa_notification.h"
|
||||
#include "atom/browser/notifications/mac/notification_presenter_mac.h"
|
||||
#include "shell/browser/notifications/mac/cocoa_notification.h"
|
||||
#include "shell/browser/notifications/mac/notification_presenter_mac.h"
|
||||
|
||||
@implementation NotificationCenterDelegate
|
||||
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
#ifndef ATOM_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_PRESENTER_MAC_H_
|
||||
#define ATOM_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_PRESENTER_MAC_H_
|
||||
|
||||
#include "atom/browser/notifications/mac/notification_center_delegate.h"
|
||||
#include "atom/browser/notifications/notification_presenter.h"
|
||||
#include "base/mac/scoped_nsobject.h"
|
||||
#include "shell/browser/notifications/mac/notification_center_delegate.h"
|
||||
#include "shell/browser/notifications/notification_presenter.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "atom/browser/notifications/mac/notification_presenter_mac.h"
|
||||
#include "shell/browser/notifications/mac/notification_presenter_mac.h"
|
||||
|
||||
#include "atom/browser/notifications/mac/cocoa_notification.h"
|
||||
#include "atom/browser/notifications/mac/notification_center_delegate.h"
|
||||
#include "shell/browser/notifications/mac/cocoa_notification.h"
|
||||
#include "shell/browser/notifications/mac/notification_center_delegate.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "atom/browser/notifications/notification.h"
|
||||
#include "shell/browser/notifications/notification.h"
|
||||
|
||||
#include "atom/browser/notifications/notification_delegate.h"
|
||||
#include "atom/browser/notifications/notification_presenter.h"
|
||||
#include "shell/browser/notifications/notification_delegate.h"
|
||||
#include "shell/browser/notifications/notification_presenter.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "atom/browser/notifications/notification_presenter.h"
|
||||
#include "shell/browser/notifications/notification_presenter.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "atom/browser/notifications/notification.h"
|
||||
#include "shell/browser/notifications/notification.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE-CHROMIUM file.
|
||||
|
||||
#include "atom/browser/notifications/platform_notification_service.h"
|
||||
#include "shell/browser/notifications/platform_notification_service.h"
|
||||
|
||||
#include "atom/browser/atom_browser_client.h"
|
||||
#include "atom/browser/notifications/notification.h"
|
||||
#include "atom/browser/notifications/notification_delegate.h"
|
||||
#include "atom/browser/notifications/notification_presenter.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "content/public/browser/notification_event_dispatcher.h"
|
||||
#include "content/public/browser/render_process_host.h"
|
||||
#include "shell/browser/atom_browser_client.h"
|
||||
#include "shell/browser/notifications/notification.h"
|
||||
#include "shell/browser/notifications/notification_delegate.h"
|
||||
#include "shell/browser/notifications/notification_presenter.h"
|
||||
#include "third_party/blink/public/common/notifications/notification_resources.h"
|
||||
#include "third_party/blink/public/common/notifications/platform_notification_data.h"
|
||||
#include "third_party/skia/include/core/SkBitmap.h"
|
||||
|
|
|
@ -4,14 +4,12 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE-CHROMIUM file.
|
||||
|
||||
#include "atom/browser/notifications/win/notification_presenter_win.h"
|
||||
#include "shell/browser/notifications/win/notification_presenter_win.h"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "atom/browser/notifications/win/notification_presenter_win7.h"
|
||||
#include "atom/browser/notifications/win/windows_toast_notification.h"
|
||||
#include "base/environment.h"
|
||||
#include "base/files/file_util.h"
|
||||
#include "base/hash/md5.h"
|
||||
|
@ -19,6 +17,8 @@
|
|||
#include "base/threading/thread_restrictions.h"
|
||||
#include "base/time/time.h"
|
||||
#include "base/win/windows_version.h"
|
||||
#include "shell/browser/notifications/win/notification_presenter_win7.h"
|
||||
#include "shell/browser/notifications/win/windows_toast_notification.h"
|
||||
#include "third_party/skia/include/core/SkBitmap.h"
|
||||
#include "ui/gfx/codec/png_codec.h"
|
||||
|
||||
|
|
|
@ -23,9 +23,9 @@
|
|||
#ifndef ATOM_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_PRESENTER_WIN_H_
|
||||
#define ATOM_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_PRESENTER_WIN_H_
|
||||
|
||||
#include "atom/browser/notifications/notification_presenter.h"
|
||||
#include "base/files/scoped_temp_dir.h"
|
||||
#include "base/strings/string16.h"
|
||||
#include "shell/browser/notifications/notification_presenter.h"
|
||||
|
||||
class GURL;
|
||||
class SkBitmap;
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "atom/browser/notifications/win/notification_presenter_win7.h"
|
||||
#include "shell/browser/notifications/win/notification_presenter_win7.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "atom/browser/notifications/win/win32_notification.h"
|
||||
#include "shell/browser/notifications/win/win32_notification.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
#include "atom/browser/notifications/notification_presenter.h"
|
||||
#include "atom/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.h"
|
||||
#include "shell/browser/notifications/notification_presenter.h"
|
||||
#include "shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
|
|
|
@ -10,15 +10,15 @@
|
|||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
#include "atom/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.h"
|
||||
#include "shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.h"
|
||||
|
||||
#include <windowsx.h>
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "atom/browser/notifications/win/win32_desktop_notifications/common.h"
|
||||
#include "atom/browser/notifications/win/win32_desktop_notifications/toast.h"
|
||||
#include "shell/browser/notifications/win/win32_desktop_notifications/common.h"
|
||||
#include "shell/browser/notifications/win/win32_desktop_notifications/toast.h"
|
||||
|
||||
using std::make_shared;
|
||||
using std::shared_ptr;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include "atom/browser/notifications/win/win32_desktop_notifications/toast.h"
|
||||
#include "shell/browser/notifications/win/win32_desktop_notifications/toast.h"
|
||||
|
||||
#include <combaseapi.h>
|
||||
|
||||
|
@ -16,9 +16,9 @@
|
|||
#include <cmath>
|
||||
#include <memory>
|
||||
|
||||
#include "atom/browser/notifications/win/win32_desktop_notifications/common.h"
|
||||
#include "atom/browser/notifications/win/win32_desktop_notifications/toast_uia.h"
|
||||
#include "base/logging.h"
|
||||
#include "shell/browser/notifications/win/win32_desktop_notifications/common.h"
|
||||
#include "shell/browser/notifications/win/win32_desktop_notifications/toast_uia.h"
|
||||
|
||||
#pragma comment(lib, "msimg32.lib")
|
||||
#pragma comment(lib, "uxtheme.lib")
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include "atom/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.h"
|
||||
#include "shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.h"
|
||||
|
||||
#include "base/logging.h"
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "atom/browser/notifications/win/win32_desktop_notifications/toast_uia.h"
|
||||
#include "shell/browser/notifications/win/win32_desktop_notifications/toast_uia.h"
|
||||
#include <UIAutomation.h>
|
||||
#include "atom/browser/notifications/win/win32_desktop_notifications/common.h"
|
||||
#include "shell/browser/notifications/win/win32_desktop_notifications/common.h"
|
||||
|
||||
#pragma comment(lib, "uiautomationcore.lib")
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#ifndef ATOM_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_TOAST_UIA_H_
|
||||
#define ATOM_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_TOAST_UIA_H_
|
||||
|
||||
#include "atom/browser/notifications/win/win32_desktop_notifications/toast.h"
|
||||
#include "shell/browser/notifications/win/win32_desktop_notifications/toast.h"
|
||||
|
||||
#include <combaseapi.h>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
#include "atom/browser/notifications/win/win32_notification.h"
|
||||
#include "shell/browser/notifications/win/win32_notification.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include <string>
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
#include "atom/browser/notifications/notification.h"
|
||||
#include "atom/browser/notifications/win/notification_presenter_win7.h"
|
||||
#include "shell/browser/notifications/notification.h"
|
||||
#include "shell/browser/notifications/win/notification_presenter_win7.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
|
|
|
@ -6,20 +6,20 @@
|
|||
// this code
|
||||
// and released it as MIT to the world.
|
||||
|
||||
#include "atom/browser/notifications/win/windows_toast_notification.h"
|
||||
#include "shell/browser/notifications/win/windows_toast_notification.h"
|
||||
|
||||
#include <shlobj.h>
|
||||
#include <vector>
|
||||
|
||||
#include "atom/browser/notifications/notification_delegate.h"
|
||||
#include "atom/browser/notifications/win/notification_presenter_win.h"
|
||||
#include "atom/browser/win/scoped_hstring.h"
|
||||
#include "atom/common/application_info.h"
|
||||
#include "base/environment.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "base/task/post_task.h"
|
||||
#include "content/public/browser/browser_task_traits.h"
|
||||
#include "content/public/browser/browser_thread.h"
|
||||
#include "shell/browser/notifications/notification_delegate.h"
|
||||
#include "shell/browser/notifications/win/notification_presenter_win.h"
|
||||
#include "shell/browser/win/scoped_hstring.h"
|
||||
#include "shell/common/application_info.h"
|
||||
|
||||
using ABI::Windows::Data::Xml::Dom::IXmlAttribute;
|
||||
using ABI::Windows::Data::Xml::Dom::IXmlDocument;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "atom/browser/notifications/notification.h"
|
||||
#include "shell/browser/notifications/notification.h"
|
||||
|
||||
using Microsoft::WRL::ClassicCom;
|
||||
using Microsoft::WRL::ComPtr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue