mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Only include UIAutomationCoreApi.h where necessary
This commit is contained in:
@@ -16,11 +16,9 @@
|
||||
#include "ui/views/widget/widget_observer.h"
|
||||
|
||||
#if defined(OS_WIN)
|
||||
#include <UIAutomationCoreApi.h>
|
||||
#include "atom/browser/ui/win/message_handler_delegate.h"
|
||||
#include "atom/browser/ui/win/taskbar_host.h"
|
||||
#include "base/win/scoped_gdi_object.h"
|
||||
#include "ui/base/win/accessibility_misc_utils.h"
|
||||
#endif
|
||||
|
||||
namespace views {
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
#include "atom/browser/browser.h"
|
||||
#include "atom/browser/native_window_views.h"
|
||||
#include "content/public/browser/browser_accessibility_state.h"
|
||||
#include "ui/base/win/accessibility_misc_utils.h"
|
||||
|
||||
// Must be included after other Windows headers.
|
||||
#include <UIAutomationCoreApi.h>
|
||||
|
||||
namespace atom {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user