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

Side by Side Diff: content/browser/android/browser_surface_texture_manager.h

Issue 897773002: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 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 | « no previous file | content/browser/android/composited_touch_handle_drawable.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 CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_
6 #define CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_ 6 #define CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_
7 7
8 #include "content/common/android/surface_texture_manager.h" 8 #include "content/common/android/surface_texture_manager.h"
9 9
10 #include "content/common/android/surface_texture_peer.h" 10 #include "content/common/android/surface_texture_peer.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 class BrowserSurfaceTextureManager : public SurfaceTextureManager, 14 class BrowserSurfaceTextureManager : public SurfaceTextureManager,
15 public SurfaceTexturePeer { 15 public SurfaceTexturePeer {
16 public: 16 public:
17 BrowserSurfaceTextureManager(); 17 BrowserSurfaceTextureManager();
18 virtual ~BrowserSurfaceTextureManager(); 18 ~BrowserSurfaceTextureManager() override;
19 19
20 // Overridden from SurfaceTextureManager: 20 // Overridden from SurfaceTextureManager:
21 virtual void RegisterSurfaceTexture( 21 void RegisterSurfaceTexture(int surface_texture_id,
22 int surface_texture_id, 22 int client_id,
23 int client_id, 23 gfx::SurfaceTexture* surface_texture) override;
24 gfx::SurfaceTexture* surface_texture) override; 24 void UnregisterSurfaceTexture(int surface_texture_id, int client_id) override;
25 virtual void UnregisterSurfaceTexture(int surface_texture_id, 25 gfx::AcceleratedWidget AcquireNativeWidgetForSurfaceTexture(
26 int client_id) override;
27 virtual gfx::AcceleratedWidget AcquireNativeWidgetForSurfaceTexture(
28 int surface_texture_id) override; 26 int surface_texture_id) override;
29 27
30 // Overridden from SurfaceTexturePeer: 28 // Overridden from SurfaceTexturePeer:
31 virtual void EstablishSurfaceTexturePeer( 29 void EstablishSurfaceTexturePeer(
32 base::ProcessHandle render_process_handle, 30 base::ProcessHandle render_process_handle,
33 scoped_refptr<gfx::SurfaceTexture> surface_texture, 31 scoped_refptr<gfx::SurfaceTexture> surface_texture,
34 int render_frame_id, 32 int render_frame_id,
35 int player_id) override; 33 int player_id) override;
36 34
37 private: 35 private:
38 DISALLOW_COPY_AND_ASSIGN(BrowserSurfaceTextureManager); 36 DISALLOW_COPY_AND_ASSIGN(BrowserSurfaceTextureManager);
39 }; 37 };
40 38
41 } // namespace content 39 } // namespace content
42 40
43 #endif // CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_ 41 #endif // CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/composited_touch_handle_drawable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698