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

Unified Diff: chrome/plugin/webplugin_delegate_stub.h

Issue 465040: Added CommandBufferClient, CommandBufferStub and some IPC messages.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/plugin/command_buffer_stub.cc ('k') | chrome/plugin/webplugin_delegate_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/webplugin_delegate_stub.h
===================================================================
--- chrome/plugin/webplugin_delegate_stub.h (revision 34152)
+++ chrome/plugin/webplugin_delegate_stub.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -12,6 +12,7 @@
#include "base/shared_memory.h"
#include "base/task.h"
#include "chrome/common/transport_dib.h"
+#include "chrome/plugin/command_buffer_stub.h"
#include "googleurl/src/gurl.h"
#include "ipc/ipc_channel.h"
#include "third_party/npapi/bindings/npapi.h"
@@ -93,6 +94,8 @@
void OnHandleURLRequestReply(
const PluginMsg_URLRequestReply_Params& params);
+ void OnCreateCommandBuffer(int* route_id);
+
void CreateSharedBuffer(size_t size,
base::SharedMemory* shared_buf,
base::SharedMemoryHandle* remote_handle);
@@ -109,6 +112,12 @@
// The url of the main frame hosting the plugin.
GURL page_url_;
+#if defined(ENABLE_GPU)
+ // If this is the GPU plugin, the stub object that forwards to the
+ // command buffer service.
+ scoped_ptr<CommandBufferStub> command_buffer_stub_;
+#endif
+
DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub);
};
« no previous file with comments | « chrome/plugin/command_buffer_stub.cc ('k') | chrome/plugin/webplugin_delegate_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698