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

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

Issue 9420007: Move RenderWidgetHostView into content namespace. Fix include paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos_gtk build issue not caught by trybots. Created 8 years, 10 months 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) 2011 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.h" 5 #include "content/browser/renderer_host/render_widget_host.h"
6 #include "content/browser/renderer_host/render_widget_host_view.h"
7 #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"
8 8
9 void RenderWidgetHost::OnMsgPluginFocusChanged(bool focused, int plugin_id) { 9 void RenderWidgetHost::OnMsgPluginFocusChanged(bool focused, int plugin_id) {
10 if (view_) 10 if (view_)
11 view_->PluginFocusChanged(focused, plugin_id); 11 view_->PluginFocusChanged(focused, plugin_id);
12 } 12 }
13 13
14 void RenderWidgetHost::OnMsgStartPluginIme() { 14 void RenderWidgetHost::OnMsgStartPluginIme() {
15 if (view_) 15 if (view_)
16 view_->StartPluginIme(); 16 view_->StartPluginIme();
17 } 17 }
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 if (view_) { 64 if (view_) {
65 // This code path could be updated to implement flow control for 65 // This code path could be updated to implement flow control for
66 // updating of accelerated plugins as well. However, if we add support 66 // updating of accelerated plugins as well. However, if we add support
67 // for composited plugins then this is not necessary. 67 // for composited plugins then this is not necessary.
68 GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params params; 68 GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params params;
69 params.window = window; 69 params.window = window;
70 params.surface_id = surface_id; 70 params.surface_id = surface_id;
71 view_->AcceleratedSurfaceBuffersSwapped(params, 0); 71 view_->AcceleratedSurfaceBuffersSwapped(params, 0);
72 } 72 }
73 } 73 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host.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