OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/views/chrome_views_delegate.h" | 5 #include "chrome/browser/ui/views/chrome_views_delegate.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 #include "ui/views/controls/menu/menu_controller.h" | 33 #include "ui/views/controls/menu/menu_controller.h" |
34 #include "ui/views/widget/native_widget.h" | 34 #include "ui/views/widget/native_widget.h" |
35 #include "ui/views/widget/widget.h" | 35 #include "ui/views/widget/widget.h" |
36 | 36 |
37 #if defined(OS_WIN) | 37 #if defined(OS_WIN) |
38 #include <dwmapi.h> | 38 #include <dwmapi.h> |
39 #include <shellapi.h> | 39 #include <shellapi.h> |
40 #include "base/profiler/scoped_tracker.h" | 40 #include "base/profiler/scoped_tracker.h" |
41 #include "base/task_runner_util.h" | 41 #include "base/task_runner_util.h" |
42 #include "base/win/windows_version.h" | 42 #include "base/win/windows_version.h" |
43 #include "chrome/browser/app_icon_win.h" | 43 #include "chrome/browser/win/app_icon.h" |
44 #include "content/public/browser/browser_thread.h" | 44 #include "content/public/browser/browser_thread.h" |
45 #include "ui/base/win/shell.h" | 45 #include "ui/base/win/shell.h" |
46 #endif | 46 #endif |
47 | 47 |
48 #if defined(USE_AURA) | 48 #if defined(USE_AURA) |
49 #include "chrome/browser/ui/aura/accessibility/automation_manager_aura.h" | 49 #include "chrome/browser/ui/aura/accessibility/automation_manager_aura.h" |
50 #include "ui/aura/window.h" | 50 #include "ui/aura/window.h" |
51 #include "ui/aura/window_event_dispatcher.h" | 51 #include "ui/aura/window_event_dispatcher.h" |
52 #endif | 52 #endif |
53 | 53 |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 return content::BrowserThread::GetBlockingPool(); | 505 return content::BrowserThread::GetBlockingPool(); |
506 } | 506 } |
507 | 507 |
508 #if !defined(USE_ASH) | 508 #if !defined(USE_ASH) |
509 views::Widget::InitParams::WindowOpacity | 509 views::Widget::InitParams::WindowOpacity |
510 ChromeViewsDelegate::GetOpacityForInitParams( | 510 ChromeViewsDelegate::GetOpacityForInitParams( |
511 const views::Widget::InitParams& params) { | 511 const views::Widget::InitParams& params) { |
512 return views::Widget::InitParams::OPAQUE_WINDOW; | 512 return views::Widget::InitParams::OPAQUE_WINDOW; |
513 } | 513 } |
514 #endif | 514 #endif |
OLD | NEW |