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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.cc

Issue 11343017: Move remaining files in content\browser\renderer_host to content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 1 month 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) 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_base.h" 5 #include "content/browser/renderer_host/render_widget_host_view_base.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/browser/accessibility/browser_accessibility_manager.h" 8 #include "content/browser/accessibility/browser_accessibility_manager.h"
9 #include "content/browser/renderer_host/render_widget_host_impl.h" 9 #include "content/browser/renderer_host/render_widget_host_impl.h"
10 #include "content/port/browser/smooth_scroll_gesture.h" 10 #include "content/port/browser/smooth_scroll_gesture.h"
(...skipping 26 matching lines...) Expand all
37 namespace content { 37 namespace content {
38 38
39 // static 39 // static
40 RenderWidgetHostViewPort* RenderWidgetHostViewPort::FromRWHV( 40 RenderWidgetHostViewPort* RenderWidgetHostViewPort::FromRWHV(
41 RenderWidgetHostView* rwhv) { 41 RenderWidgetHostView* rwhv) {
42 return static_cast<RenderWidgetHostViewPort*>(rwhv); 42 return static_cast<RenderWidgetHostViewPort*>(rwhv);
43 } 43 }
44 44
45 // static 45 // static
46 RenderWidgetHostViewPort* RenderWidgetHostViewPort::CreateViewForWidget( 46 RenderWidgetHostViewPort* RenderWidgetHostViewPort::CreateViewForWidget(
47 content::RenderWidgetHost* widget) { 47 RenderWidgetHost* widget) {
48 return FromRWHV(RenderWidgetHostView::CreateViewForWidget(widget)); 48 return FromRWHV(RenderWidgetHostView::CreateViewForWidget(widget));
49 } 49 }
50 50
51 #if defined(OS_WIN) 51 #if defined(OS_WIN)
52 52
53 namespace { 53 namespace {
54 54
55 // |window| is the plugin HWND, created and destroyed in the plugin process. 55 // |window| is the plugin HWND, created and destroyed in the plugin process.
56 // |parent| is the parent HWND, created and destroyed on the browser UI thread. 56 // |parent| is the parent HWND, created and destroyed on the browser UI thread.
57 void NotifyPluginProcessHostHelper(HWND window, HWND parent, int tries) { 57 void NotifyPluginProcessHostHelper(HWND window, HWND parent, int tries) {
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 return new BasicMouseWheelSmoothScrollGesture(scroll_down, pixels_to_scroll, 460 return new BasicMouseWheelSmoothScrollGesture(scroll_down, pixels_to_scroll,
461 mouse_event_x, mouse_event_y); 461 mouse_event_x, mouse_event_y);
462 } 462 }
463 463
464 void RenderWidgetHostViewBase::ProcessAckedTouchEvent( 464 void RenderWidgetHostViewBase::ProcessAckedTouchEvent(
465 const WebKit::WebTouchEvent& touch, 465 const WebKit::WebTouchEvent& touch,
466 bool processed) { 466 bool processed) {
467 } 467 }
468 468
469 } // namespace content 469 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698