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

Side by Side Diff: content/browser/renderer_host/software_frame_manager.h

Issue 616603004: Replacing the OVERRIDE with override and FINAL with final in content/browser/renderer_host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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 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 CONTENT_BROWSER_RENDERER_HOST_SOFTWARE_FRAME_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_SOFTWARE_FRAME_MANAGER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_SOFTWARE_FRAME_MANAGER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_SOFTWARE_FRAME_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 cc::TextureMailbox* mailbox, 57 cc::TextureMailbox* mailbox,
58 scoped_ptr<cc::SingleReleaseCallback>* callback); 58 scoped_ptr<cc::SingleReleaseCallback>* callback);
59 void* GetCurrentFramePixels() const; 59 void* GetCurrentFramePixels() const;
60 float GetCurrentFrameDeviceScaleFactor() const; 60 float GetCurrentFrameDeviceScaleFactor() const;
61 gfx::Size GetCurrentFrameSizeInPixels() const; 61 gfx::Size GetCurrentFrameSizeInPixels() const;
62 gfx::Size GetCurrentFrameSizeInDIP() const; 62 gfx::Size GetCurrentFrameSizeInDIP() const;
63 63
64 private: 64 private:
65 // Called by SoftwareFrameMemoryManager to demand that the current frame 65 // Called by SoftwareFrameMemoryManager to demand that the current frame
66 // be evicted. 66 // be evicted.
67 virtual void EvictCurrentFrame() OVERRIDE; 67 virtual void EvictCurrentFrame() override;
68 68
69 base::WeakPtr<SoftwareFrameManagerClient> client_; 69 base::WeakPtr<SoftwareFrameManagerClient> client_;
70 70
71 // This holds the current software framebuffer. 71 // This holds the current software framebuffer.
72 scoped_refptr<SoftwareFrame> current_frame_; 72 scoped_refptr<SoftwareFrame> current_frame_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(SoftwareFrameManager); 74 DISALLOW_COPY_AND_ASSIGN(SoftwareFrameManager);
75 }; 75 };
76 76
77 } // namespace content 77 } // namespace content
78 78
79 #endif // CONTENT_BROWSER_RENDERER_HOST_SOFTWARE_FRAME_MANAGER_H_ 79 #endif // CONTENT_BROWSER_RENDERER_HOST_SOFTWARE_FRAME_MANAGER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/socket_stream_host.h ('k') | content/browser/renderer_host/software_frame_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698