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

Side by Side Diff: content/browser/compositor/owned_mailbox.h

Issue 634703003: Replacing the OVERRIDE with override and FINAL with final in content/browser/[accessibility|battery… (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 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 CONTENT_BROWSER_COMPOSITOR_OWNED_MAILBOX_H_ 5 #ifndef CONTENT_BROWSER_COMPOSITOR_OWNED_MAILBOX_H_
6 #define CONTENT_BROWSER_COMPOSITOR_OWNED_MAILBOX_H_ 6 #define CONTENT_BROWSER_COMPOSITOR_OWNED_MAILBOX_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "content/browser/compositor/image_transport_factory.h" 9 #include "content/browser/compositor/image_transport_factory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 16 matching lines...) Expand all
27 uint32 texture_id() const { return texture_id_; } 27 uint32 texture_id() const { return texture_id_; }
28 uint32 target() const { return mailbox_holder_.texture_target; } 28 uint32 target() const { return mailbox_holder_.texture_target; }
29 uint32 sync_point() const { return mailbox_holder_.sync_point; } 29 uint32 sync_point() const { return mailbox_holder_.sync_point; }
30 void UpdateSyncPoint(uint32 sync_point); 30 void UpdateSyncPoint(uint32 sync_point);
31 void Destroy(); 31 void Destroy();
32 32
33 protected: 33 protected:
34 virtual ~OwnedMailbox(); 34 virtual ~OwnedMailbox();
35 35
36 // ImageTransportFactoryObserver implementation. 36 // ImageTransportFactoryObserver implementation.
37 virtual void OnLostResources() OVERRIDE; 37 virtual void OnLostResources() override;
38 38
39 private: 39 private:
40 friend class base::RefCounted<OwnedMailbox>; 40 friend class base::RefCounted<OwnedMailbox>;
41 41
42 uint32 texture_id_; 42 uint32 texture_id_;
43 gpu::MailboxHolder mailbox_holder_; 43 gpu::MailboxHolder mailbox_holder_;
44 GLHelper* gl_helper_; 44 GLHelper* gl_helper_;
45 }; 45 };
46 46
47 } // namespace content 47 } // namespace content
48 48
49 #endif // CONTENT_BROWSER_COMPOSITOR_OWNED_MAILBOX_H_ 49 #endif // CONTENT_BROWSER_COMPOSITOR_OWNED_MAILBOX_H_
OLDNEW
« no previous file with comments | « content/browser/compositor/overlay_candidate_validator_ozone.h ('k') | content/browser/compositor/reflector_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698