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

Side by Side Diff: content/common/host_shared_bitmap_manager.h

Issue 630853003: Replace OVERRIDE and FINAL with override and final in content/common/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_COMMON_HOST_SHARED_BITMAP_MANAGER_H_ 5 #ifndef CONTENT_COMMON_HOST_SHARED_BITMAP_MANAGER_H_
6 #define CONTENT_COMMON_HOST_SHARED_BITMAP_MANAGER_H_ 6 #define CONTENT_COMMON_HOST_SHARED_BITMAP_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 28 matching lines...) Expand all
39 39
40 class CONTENT_EXPORT HostSharedBitmapManager : public cc::SharedBitmapManager { 40 class CONTENT_EXPORT HostSharedBitmapManager : public cc::SharedBitmapManager {
41 public: 41 public:
42 HostSharedBitmapManager(); 42 HostSharedBitmapManager();
43 virtual ~HostSharedBitmapManager(); 43 virtual ~HostSharedBitmapManager();
44 44
45 static HostSharedBitmapManager* current(); 45 static HostSharedBitmapManager* current();
46 46
47 // cc::SharedBitmapManager implementation. 47 // cc::SharedBitmapManager implementation.
48 virtual scoped_ptr<cc::SharedBitmap> AllocateSharedBitmap( 48 virtual scoped_ptr<cc::SharedBitmap> AllocateSharedBitmap(
49 const gfx::Size& size) OVERRIDE; 49 const gfx::Size& size) override;
50 virtual scoped_ptr<cc::SharedBitmap> GetSharedBitmapFromId( 50 virtual scoped_ptr<cc::SharedBitmap> GetSharedBitmapFromId(
51 const gfx::Size& size, 51 const gfx::Size& size,
52 const cc::SharedBitmapId&) OVERRIDE; 52 const cc::SharedBitmapId&) override;
53 virtual scoped_ptr<cc::SharedBitmap> GetBitmapForSharedMemory( 53 virtual scoped_ptr<cc::SharedBitmap> GetBitmapForSharedMemory(
54 base::SharedMemory*) OVERRIDE; 54 base::SharedMemory*) override;
55 55
56 void AllocateSharedBitmapForChild( 56 void AllocateSharedBitmapForChild(
57 base::ProcessHandle process_handle, 57 base::ProcessHandle process_handle,
58 size_t buffer_size, 58 size_t buffer_size,
59 const cc::SharedBitmapId& id, 59 const cc::SharedBitmapId& id,
60 base::SharedMemoryHandle* shared_memory_handle); 60 base::SharedMemoryHandle* shared_memory_handle);
61 void ChildAllocatedSharedBitmap(size_t buffer_size, 61 void ChildAllocatedSharedBitmap(size_t buffer_size,
62 const base::SharedMemoryHandle& handle, 62 const base::SharedMemoryHandle& handle,
63 base::ProcessHandle process_handle, 63 base::ProcessHandle process_handle,
64 const cc::SharedBitmapId& id); 64 const cc::SharedBitmapId& id);
(...skipping 12 matching lines...) Expand all
77 BitmapMap handle_map_; 77 BitmapMap handle_map_;
78 78
79 typedef base::hash_map<base::ProcessHandle, 79 typedef base::hash_map<base::ProcessHandle,
80 base::hash_set<cc::SharedBitmapId> > ProcessMap; 80 base::hash_set<cc::SharedBitmapId> > ProcessMap;
81 ProcessMap process_map_; 81 ProcessMap process_map_;
82 }; 82 };
83 83
84 } // namespace content 84 } // namespace content
85 85
86 #endif // CONTENT_COMMON_HOST_SHARED_BITMAP_MANAGER_H_ 86 #endif // CONTENT_COMMON_HOST_SHARED_BITMAP_MANAGER_H_
OLDNEW
« no previous file with comments | « content/common/gpu/stream_texture_android.h ('k') | content/common/input/synthetic_pinch_gesture_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698