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

Side by Side Diff: content/browser/renderer_host/render_widget_host_mac.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_impl.h" 5 #include "content/browser/renderer_host/render_widget_host_impl.h"
6 #include "content/common/gpu/gpu_messages.h" 6 #include "content/common/gpu/gpu_messages.h"
7 #include "content/port/browser/render_widget_host_view_port.h" 7 #include "content/port/browser/render_widget_host_view_port.h"
8 8
9 using content::RenderWidgetHostImpl; 9 namespace content {
10 10
11 void RenderWidgetHostImpl::OnMsgPluginFocusChanged(bool focused, 11 void RenderWidgetHostImpl::OnMsgPluginFocusChanged(bool focused,
12 int plugin_id) { 12 int plugin_id) {
13 if (view_) 13 if (view_)
14 view_->PluginFocusChanged(focused, plugin_id); 14 view_->PluginFocusChanged(focused, plugin_id);
15 } 15 }
16 16
17 void RenderWidgetHostImpl::OnMsgStartPluginIme() { 17 void RenderWidgetHostImpl::OnMsgStartPluginIme() {
18 if (view_) 18 if (view_)
19 view_->StartPluginIme(); 19 view_->StartPluginIme();
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 if (view_) { 67 if (view_) {
68 // This code path could be updated to implement flow control for 68 // This code path could be updated to implement flow control for
69 // updating of accelerated plugins as well. However, if we add support 69 // updating of accelerated plugins as well. However, if we add support
70 // for composited plugins then this is not necessary. 70 // for composited plugins then this is not necessary.
71 GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params params; 71 GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params params;
72 params.window = window; 72 params.window = window;
73 params.surface_handle = surface_handle; 73 params.surface_handle = surface_handle;
74 view_->AcceleratedSurfaceBuffersSwapped(params, 0); 74 view_->AcceleratedSurfaceBuffersSwapped(params, 0);
75 } 75 }
76 } 76 }
77
78 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698