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 "content/browser/renderer_host/render_widget_host_view_win.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_win.h" |
6 | 6 |
7 #include <InputScope.h> | 7 #include <InputScope.h> |
8 #include <wtsapi32.h> | 8 #include <wtsapi32.h> |
9 #pragma comment(lib, "wtsapi32.lib") | 9 #pragma comment(lib, "wtsapi32.lib") |
10 | 10 |
11 #include <algorithm> | 11 #include <algorithm> |
12 #include <map> | 12 #include <map> |
13 #include <stack> | 13 #include <stack> |
14 | 14 |
15 #include "base/bind.h" | 15 #include "base/bind.h" |
16 #include "base/bind_helpers.h" | 16 #include "base/bind_helpers.h" |
17 #include "base/command_line.h" | 17 #include "base/command_line.h" |
18 #include "base/debug/trace_event.h" | 18 #include "base/debug/trace_event.h" |
19 #include "base/i18n/rtl.h" | 19 #include "base/i18n/rtl.h" |
20 #include "base/metrics/histogram.h" | 20 #include "base/metrics/histogram.h" |
21 #include "base/process_util.h" | |
22 #include "base/threading/thread.h" | 21 #include "base/threading/thread.h" |
23 #include "base/win/metro.h" | 22 #include "base/win/metro.h" |
24 #include "base/win/scoped_comptr.h" | 23 #include "base/win/scoped_comptr.h" |
25 #include "base/win/scoped_gdi_object.h" | 24 #include "base/win/scoped_gdi_object.h" |
26 #include "base/win/win_util.h" | 25 #include "base/win/win_util.h" |
27 #include "base/win/windows_version.h" | 26 #include "base/win/windows_version.h" |
28 #include "base/win/wrapped_window_proc.h" | 27 #include "base/win/wrapped_window_proc.h" |
29 #include "content/browser/accessibility/browser_accessibility_manager_win.h" | 28 #include "content/browser/accessibility/browser_accessibility_manager_win.h" |
30 #include "content/browser/accessibility/browser_accessibility_state_impl.h" | 29 #include "content/browser/accessibility/browser_accessibility_state_impl.h" |
31 #include "content/browser/accessibility/browser_accessibility_win.h" | 30 #include "content/browser/accessibility/browser_accessibility_win.h" |
(...skipping 3168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3200 return new RenderWidgetHostViewWin(widget); | 3199 return new RenderWidgetHostViewWin(widget); |
3201 } | 3200 } |
3202 | 3201 |
3203 // static | 3202 // static |
3204 void RenderWidgetHostViewPort::GetDefaultScreenInfo( | 3203 void RenderWidgetHostViewPort::GetDefaultScreenInfo( |
3205 WebKit::WebScreenInfo* results) { | 3204 WebKit::WebScreenInfo* results) { |
3206 GetScreenInfoForWindow(0, results); | 3205 GetScreenInfoForWindow(0, results); |
3207 } | 3206 } |
3208 | 3207 |
3209 } // namespace content | 3208 } // namespace content |
OLD | NEW |