Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_win.cc

Issue 5512009: Remove unneeded browser_process.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux build Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/renderer_host/render_widget_host_view_win.h" 5 #include "chrome/browser/renderer_host/render_widget_host_view_win.h"
6 6
7 #include <algorithm>
8
7 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
8 #include "app/l10n_util_win.h" 10 #include "app/l10n_util_win.h"
9 #include "app/resource_bundle.h" 11 #include "app/resource_bundle.h"
10 #include "app/view_prop.h" 12 #include "app/view_prop.h"
11 #include "base/command_line.h" 13 #include "base/command_line.h"
12 #include "base/i18n/rtl.h" 14 #include "base/i18n/rtl.h"
13 #include "base/metrics/histogram.h" 15 #include "base/metrics/histogram.h"
14 #include "base/process_util.h" 16 #include "base/process_util.h"
15 #include "base/scoped_comptr_win.h" 17 #include "base/scoped_comptr_win.h"
16 #include "base/thread.h" 18 #include "base/thread.h"
17 #include "base/win_util.h" 19 #include "base/win_util.h"
18 #include "chrome/browser/accessibility/browser_accessibility_win.h" 20 #include "chrome/browser/accessibility/browser_accessibility_win.h"
19 #include "chrome/browser/accessibility/browser_accessibility_manager.h" 21 #include "chrome/browser/accessibility/browser_accessibility_manager.h"
20 #include "chrome/browser/accessibility/browser_accessibility_state.h" 22 #include "chrome/browser/accessibility/browser_accessibility_state.h"
21 #include "chrome/browser/browser_process.h"
22 #include "chrome/browser/browser_thread.h" 23 #include "chrome/browser/browser_thread.h"
23 #include "chrome/browser/browser_trial.h" 24 #include "chrome/browser/browser_trial.h"
24 #include "chrome/browser/plugin_process_host.h" 25 #include "chrome/browser/plugin_process_host.h"
25 #include "chrome/browser/renderer_host/backing_store.h" 26 #include "chrome/browser/renderer_host/backing_store.h"
26 #include "chrome/browser/renderer_host/backing_store_win.h" 27 #include "chrome/browser/renderer_host/backing_store_win.h"
27 #include "chrome/browser/renderer_host/render_process_host.h" 28 #include "chrome/browser/renderer_host/render_process_host.h"
28 #include "chrome/browser/renderer_host/render_widget_host.h" 29 #include "chrome/browser/renderer_host/render_widget_host.h"
29 #include "chrome/common/chrome_constants.h" 30 #include "chrome/common/chrome_constants.h"
30 #include "chrome/common/chrome_switches.h" 31 #include "chrome/common/chrome_switches.h"
31 #include "chrome/common/native_web_keyboard_event.h" 32 #include "chrome/common/native_web_keyboard_event.h"
(...skipping 1761 matching lines...) Expand 10 before | Expand all | Expand 10 after
1793 } 1794 }
1794 1795
1795 // static 1796 // static
1796 RenderWidgetHostView* 1797 RenderWidgetHostView*
1797 RenderWidgetHostView::GetRenderWidgetHostViewFromNativeView( 1798 RenderWidgetHostView::GetRenderWidgetHostViewFromNativeView(
1798 gfx::NativeView native_view) { 1799 gfx::NativeView native_view) {
1799 return ::IsWindow(native_view) ? 1800 return ::IsWindow(native_view) ?
1800 reinterpret_cast<RenderWidgetHostView*>( 1801 reinterpret_cast<RenderWidgetHostView*>(
1801 ViewProp::GetValue(native_view, kRenderWidgetHostViewKey)) : NULL; 1802 ViewProp::GetValue(native_view, kRenderWidgetHostViewKey)) : NULL;
1802 } 1803 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698