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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 409723003: content: Add DeletedGpuMemoryBuffer IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unused code Created 6 years, 5 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
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 size_t size) OVERRIDE; 418 size_t size) OVERRIDE;
419 virtual CreateCommandBufferResult CreateViewCommandBuffer( 419 virtual CreateCommandBufferResult CreateViewCommandBuffer(
420 int32 surface_id, 420 int32 surface_id,
421 const GPUCreateCommandBufferConfig& init_params, 421 const GPUCreateCommandBufferConfig& init_params,
422 int32 route_id) OVERRIDE; 422 int32 route_id) OVERRIDE;
423 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( 423 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer(
424 size_t width, 424 size_t width,
425 size_t height, 425 size_t height,
426 unsigned internalformat, 426 unsigned internalformat,
427 unsigned usage) OVERRIDE; 427 unsigned usage) OVERRIDE;
428 virtual void DeleteGpuMemoryBuffer(
429 scoped_ptr<gfx::GpuMemoryBuffer> buffer) OVERRIDE;
428 430
429 void Init(); 431 void Init();
430 432
431 void OnSetZoomLevelForCurrentURL(const std::string& scheme, 433 void OnSetZoomLevelForCurrentURL(const std::string& scheme,
432 const std::string& host, 434 const std::string& host,
433 double zoom_level); 435 double zoom_level);
434 void OnCreateNewView(const ViewMsg_New_Params& params); 436 void OnCreateNewView(const ViewMsg_New_Params& params);
435 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 437 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
436 void OnPurgePluginListCache(bool reload_pages); 438 void OnPurgePluginListCache(bool reload_pages);
437 void OnNetworkTypeChanged(net::NetworkChangeNotifier::ConnectionType type); 439 void OnNetworkTypeChanged(net::NetworkChangeNotifier::ConnectionType type);
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 bool is_one_copy_enabled_; 579 bool is_one_copy_enabled_;
578 580
579 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; 581 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_;
580 582
581 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 583 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
582 }; 584 };
583 585
584 } // namespace content 586 } // namespace content
585 587
586 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 588 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698