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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin_manager.cc

Issue 1159553007: Move Tuple to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
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/renderer/browser_plugin/browser_plugin_manager.h" 5 #include "content/renderer/browser_plugin/browser_plugin_manager.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "content/common/browser_plugin/browser_plugin_constants.h" 7 #include "content/common/browser_plugin/browser_plugin_constants.h"
8 #include "content/common/browser_plugin/browser_plugin_messages.h" 8 #include "content/common/browser_plugin/browser_plugin_messages.h"
9 #include "content/common/frame_messages.h" 9 #include "content/common/frame_messages.h"
10 #include "content/public/renderer/browser_plugin_delegate.h" 10 #include "content/public/renderer/browser_plugin_delegate.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 return RenderThreadImpl::current()->Send(msg); 117 return RenderThreadImpl::current()->Send(msg);
118 } 118 }
119 119
120 void BrowserPluginManager::OnCompositorFrameSwappedPluginUnavailable( 120 void BrowserPluginManager::OnCompositorFrameSwappedPluginUnavailable(
121 const IPC::Message& message) { 121 const IPC::Message& message) {
122 BrowserPluginMsg_CompositorFrameSwapped::Param param; 122 BrowserPluginMsg_CompositorFrameSwapped::Param param;
123 if (!BrowserPluginMsg_CompositorFrameSwapped::Read(&message, &param)) 123 if (!BrowserPluginMsg_CompositorFrameSwapped::Read(&message, &param))
124 return; 124 return;
125 125
126 FrameHostMsg_CompositorFrameSwappedACK_Params params; 126 FrameHostMsg_CompositorFrameSwappedACK_Params params;
127 params.producing_host_id = get<1>(param).producing_host_id; 127 params.producing_host_id = base::get<1>(param).producing_host_id;
128 params.producing_route_id = get<1>(param).producing_route_id; 128 params.producing_route_id = base::get<1>(param).producing_route_id;
129 params.output_surface_id = get<1>(param).output_surface_id; 129 params.output_surface_id = base::get<1>(param).output_surface_id;
130 Send(new BrowserPluginHostMsg_CompositorFrameSwappedACK( 130 Send(new BrowserPluginHostMsg_CompositorFrameSwappedACK(
131 get<0>(param), params)); 131 base::get<0>(param), params));
132 } 132 }
133 133
134 } // namespace content 134 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.cc ('k') | content/renderer/external_popup_menu_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698