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

Side by Side Diff: cc/resources/shared_bitmap.h

Issue 660333004: cc cleanup: Update paths to geometry headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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
« no previous file with comments | « cc/resources/scoped_ui_resource.h ('k') | cc/resources/shared_bitmap_manager.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 CC_RESOURCES_SHARED_BITMAP_H_ 5 #ifndef CC_RESOURCES_SHARED_BITMAP_H_
6 #define CC_RESOURCES_SHARED_BITMAP_H_ 6 #define CC_RESOURCES_SHARED_BITMAP_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
11 #include "cc/base/cc_export.h" 11 #include "cc/base/cc_export.h"
12 #include "gpu/command_buffer/common/mailbox.h" 12 #include "gpu/command_buffer/common/mailbox.h"
13 #include "ui/gfx/size.h" 13 #include "ui/gfx/geometry/size.h"
14 14
15 namespace base { class SharedMemory; } 15 namespace base { class SharedMemory; }
16 16
17 namespace cc { 17 namespace cc {
18 typedef gpu::Mailbox SharedBitmapId; 18 typedef gpu::Mailbox SharedBitmapId;
19 19
20 class CC_EXPORT SharedBitmap { 20 class CC_EXPORT SharedBitmap {
21 public: 21 public:
22 SharedBitmap(base::SharedMemory* memory, 22 SharedBitmap(base::SharedMemory* memory,
23 const SharedBitmapId& id, 23 const SharedBitmapId& id,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 uint8* pixels_; 61 uint8* pixels_;
62 SharedBitmapId id_; 62 SharedBitmapId id_;
63 base::Callback<void(SharedBitmap* bitmap)> free_callback_; 63 base::Callback<void(SharedBitmap* bitmap)> free_callback_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(SharedBitmap); 65 DISALLOW_COPY_AND_ASSIGN(SharedBitmap);
66 }; 66 };
67 67
68 } // namespace cc 68 } // namespace cc
69 69
70 #endif // CC_RESOURCES_SHARED_BITMAP_H_ 70 #endif // CC_RESOURCES_SHARED_BITMAP_H_
OLDNEW
« no previous file with comments | « cc/resources/scoped_ui_resource.h ('k') | cc/resources/shared_bitmap_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698