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

Side by Side Diff: cc/blink/web_external_bitmap_impl.h

Issue 628443002: replace OVERRIDE and FINAL with override and final in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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/blink/web_content_layer_impl.h ('k') | cc/blink/web_external_texture_layer_impl.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BLINK_WEB_EXTERNAL_BITMAP_IMPL_H_ 5 #ifndef CC_BLINK_WEB_EXTERNAL_BITMAP_IMPL_H_
6 #define CC_BLINK_WEB_EXTERNAL_BITMAP_IMPL_H_ 6 #define CC_BLINK_WEB_EXTERNAL_BITMAP_IMPL_H_
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "cc/blink/cc_blink_export.h" 10 #include "cc/blink/cc_blink_export.h"
(...skipping 10 matching lines...) Expand all
21 // Sets the function that this will use to allocate shared memory. 21 // Sets the function that this will use to allocate shared memory.
22 CC_BLINK_EXPORT void SetSharedMemoryAllocationFunction( 22 CC_BLINK_EXPORT void SetSharedMemoryAllocationFunction(
23 SharedMemoryAllocationFunction); 23 SharedMemoryAllocationFunction);
24 24
25 class WebExternalBitmapImpl : public blink::WebExternalBitmap { 25 class WebExternalBitmapImpl : public blink::WebExternalBitmap {
26 public: 26 public:
27 CC_BLINK_EXPORT explicit WebExternalBitmapImpl(); 27 CC_BLINK_EXPORT explicit WebExternalBitmapImpl();
28 virtual ~WebExternalBitmapImpl(); 28 virtual ~WebExternalBitmapImpl();
29 29
30 // blink::WebExternalBitmap implementation. 30 // blink::WebExternalBitmap implementation.
31 virtual blink::WebSize size() OVERRIDE; 31 virtual blink::WebSize size() override;
32 virtual void setSize(blink::WebSize size) OVERRIDE; 32 virtual void setSize(blink::WebSize size) override;
33 virtual uint8* pixels() OVERRIDE; 33 virtual uint8* pixels() override;
34 34
35 base::SharedMemory* shared_memory() { return shared_memory_.get(); } 35 base::SharedMemory* shared_memory() { return shared_memory_.get(); }
36 36
37 private: 37 private:
38 scoped_ptr<base::SharedMemory> shared_memory_; 38 scoped_ptr<base::SharedMemory> shared_memory_;
39 blink::WebSize size_; 39 blink::WebSize size_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(WebExternalBitmapImpl); 41 DISALLOW_COPY_AND_ASSIGN(WebExternalBitmapImpl);
42 }; 42 };
43 43
44 } // namespace cc_blink 44 } // namespace cc_blink
45 45
46 #endif // CC_BLINK_WEB_EXTERNAL_BITMAP_IMPL_H_ 46 #endif // CC_BLINK_WEB_EXTERNAL_BITMAP_IMPL_H_
OLDNEW
« no previous file with comments | « cc/blink/web_content_layer_impl.h ('k') | cc/blink/web_external_texture_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698