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

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

Issue 629183002: Replacing the OVERRIDE with override and FINAL with final in content/browser/android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolving Error in android 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_BROWSER_ANDROID_SURFACE_TEXTURE_PEER_BROWSER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_SURFACE_TEXTURE_PEER_BROWSER_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_SURFACE_TEXTURE_PEER_BROWSER_IMPL_H_ 6 #define CONTENT_BROWSER_ANDROID_SURFACE_TEXTURE_PEER_BROWSER_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/common/android/surface_texture_peer.h" 9 #include "content/common/android/surface_texture_peer.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 // The SurfaceTexturePeer implementation for browser process. 13 // The SurfaceTexturePeer implementation for browser process.
14 class SurfaceTexturePeerBrowserImpl : public SurfaceTexturePeer { 14 class SurfaceTexturePeerBrowserImpl : public SurfaceTexturePeer {
15 public: 15 public:
16 // Construct a SurfaceTexturePeerBrowserImpl object. If 16 // Construct a SurfaceTexturePeerBrowserImpl object. If
17 // |player_in_render_process| is true, calling EstablishSurfaceTexturePeer() 17 // |player_in_render_process| is true, calling EstablishSurfaceTexturePeer()
18 // will send the java surface texture object to the render process through 18 // will send the java surface texture object to the render process through
19 // ChildProcessService. Otherwise, it will pass the surface texture 19 // ChildProcessService. Otherwise, it will pass the surface texture
20 // to the MediaPlayerBridge object in the browser process. 20 // to the MediaPlayerBridge object in the browser process.
21 SurfaceTexturePeerBrowserImpl(); 21 SurfaceTexturePeerBrowserImpl();
22 virtual ~SurfaceTexturePeerBrowserImpl(); 22 virtual ~SurfaceTexturePeerBrowserImpl();
23 23
24 // SurfaceTexturePeer implementation. 24 // SurfaceTexturePeer implementation.
25 virtual void EstablishSurfaceTexturePeer( 25 virtual void EstablishSurfaceTexturePeer(
26 base::ProcessHandle render_process_handle, 26 base::ProcessHandle render_process_handle,
27 scoped_refptr<gfx::SurfaceTexture> surface_texture, 27 scoped_refptr<gfx::SurfaceTexture> surface_texture,
28 int render_frame_id, 28 int render_frame_id,
29 int player_id) OVERRIDE; 29 int player_id) override;
30 30
31 private: 31 private:
32 DISALLOW_COPY_AND_ASSIGN(SurfaceTexturePeerBrowserImpl); 32 DISALLOW_COPY_AND_ASSIGN(SurfaceTexturePeerBrowserImpl);
33 }; 33 };
34 34
35 } // namespace content 35 } // namespace content
36 36
37 #endif // CONTENT_BROWSER_ANDROID_SURFACE_TEXTURE_PEER_BROWSER_IMPL_H_ 37 #endif // CONTENT_BROWSER_ANDROID_SURFACE_TEXTURE_PEER_BROWSER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/android/popup_touch_handle_drawable.h ('k') | content/browser/android/system_ui_resource_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698