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

Side by Side Diff: content/common/gpu/gpu_command_buffer_stub.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_GPU_GPU_COMMAND_BUFFER_STUB_H_ 5 #ifndef CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
6 #define CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ 6 #define CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 bool use_virtualized_gl_context, 76 bool use_virtualized_gl_context,
77 int32 route_id, 77 int32 route_id,
78 int32 surface_id, 78 int32 surface_id,
79 GpuWatchdog* watchdog, 79 GpuWatchdog* watchdog,
80 bool software, 80 bool software,
81 const GURL& active_url); 81 const GURL& active_url);
82 82
83 virtual ~GpuCommandBufferStub(); 83 virtual ~GpuCommandBufferStub();
84 84
85 // IPC::Listener implementation: 85 // IPC::Listener implementation:
86 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 86 virtual bool OnMessageReceived(const IPC::Message& message) override;
87 87
88 // IPC::Sender implementation: 88 // IPC::Sender implementation:
89 virtual bool Send(IPC::Message* msg) OVERRIDE; 89 virtual bool Send(IPC::Message* msg) override;
90 90
91 // GpuMemoryManagerClient implementation: 91 // GpuMemoryManagerClient implementation:
92 virtual gfx::Size GetSurfaceSize() const OVERRIDE; 92 virtual gfx::Size GetSurfaceSize() const override;
93 virtual gpu::gles2::MemoryTracker* GetMemoryTracker() const OVERRIDE; 93 virtual gpu::gles2::MemoryTracker* GetMemoryTracker() const override;
94 virtual void SetMemoryAllocation( 94 virtual void SetMemoryAllocation(
95 const gpu::MemoryAllocation& allocation) OVERRIDE; 95 const gpu::MemoryAllocation& allocation) override;
96 virtual void SuggestHaveFrontBuffer(bool suggest_have_frontbuffer) OVERRIDE; 96 virtual void SuggestHaveFrontBuffer(bool suggest_have_frontbuffer) override;
97 virtual bool GetTotalGpuMemory(uint64* bytes) OVERRIDE; 97 virtual bool GetTotalGpuMemory(uint64* bytes) override;
98 98
99 // Whether this command buffer can currently handle IPC messages. 99 // Whether this command buffer can currently handle IPC messages.
100 bool IsScheduled(); 100 bool IsScheduled();
101 101
102 // If the command buffer is pre-empted and cannot process commands. 102 // If the command buffer is pre-empted and cannot process commands.
103 bool IsPreempted() const { 103 bool IsPreempted() const {
104 return scheduler_.get() && scheduler_->IsPreempted(); 104 return scheduler_.get() && scheduler_->IsPreempted();
105 } 105 }
106 106
107 // Whether there are commands in the buffer that haven't been processed. 107 // Whether there are commands in the buffer that haven't been processed.
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 size_t total_gpu_memory_; 276 size_t total_gpu_memory_;
277 scoped_ptr<WaitForCommandState> wait_for_token_; 277 scoped_ptr<WaitForCommandState> wait_for_token_;
278 scoped_ptr<WaitForCommandState> wait_for_get_offset_; 278 scoped_ptr<WaitForCommandState> wait_for_get_offset_;
279 279
280 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); 280 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub);
281 }; 281 };
282 282
283 } // namespace content 283 } // namespace content
284 284
285 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ 285 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_channel_manager.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698