Chromium Code Reviews| Index: content/browser/android/content_view_render_view.h |
| diff --git a/content/browser/android/content_view_render_view.h b/content/browser/android/content_view_render_view.h |
| index 1830008ac157cf11428a93253476b2f960ef9e7d..124383a6b5b223343627284983972ec190fe2ea8 100644 |
| --- a/content/browser/android/content_view_render_view.h |
| +++ b/content/browser/android/content_view_render_view.h |
| @@ -26,13 +26,13 @@ class ContentViewRenderView : public CompositorClient { |
| // Methods called from Java via JNI ----------------------------------------- |
| void Destroy(JNIEnv* env, jobject obj); |
| - void SetCurrentContentView(JNIEnv* env, jobject obj, |
| + virtual void SetCurrentContentView(JNIEnv* env, jobject obj, |
| jlong native_content_view); |
|
David Trainor- moved to gerrit
2014/03/18 18:33:28
Fix indenting
Yusuf
2014/03/19 17:35:09
Done.
|
| - void SurfaceCreated(JNIEnv* env, jobject obj); |
| + virtual void SurfaceCreated(JNIEnv* env, jobject obj); |
| void SurfaceDestroyed(JNIEnv* env, jobject obj); |
| void SurfaceChanged(JNIEnv* env, jobject obj, |
| jint format, jint width, jint height, jobject surface); |
| - jboolean Composite(JNIEnv* env, jobject obj); |
| + virtual jboolean Composite(JNIEnv* env, jobject obj); |
| jboolean CompositeToBitmap(JNIEnv* env, jobject obj, jobject java_bitmap); |
| void SetOverlayVideoMode(JNIEnv* env, jobject obj, bool enabled); |
| @@ -40,26 +40,23 @@ class ContentViewRenderView : public CompositorClient { |
| virtual void ScheduleComposite() OVERRIDE; |
| virtual void OnSwapBuffersPosted() OVERRIDE; |
| virtual void OnSwapBuffersCompleted() OVERRIDE; |
| - |
| - private: |
| - virtual ~ContentViewRenderView(); |
| + protected: |
|
David Trainor- moved to gerrit
2014/03/18 18:33:28
New line before protected
Yusuf
2014/03/19 17:35:09
Done.
|
| + scoped_ptr<content::Compositor> compositor_; |
| void InitCompositor(); |
| - |
| + virtual ~ContentViewRenderView(); |
| + private: |
|
David Trainor- moved to gerrit
2014/03/18 18:33:28
New line before private
Yusuf
2014/03/19 17:35:09
Done.
|
| bool buffers_swapped_during_composite_; |
| - base::android::ScopedJavaGlobalRef<jobject> java_obj_; |
| + gfx::NativeWindow root_window_; |
| - scoped_ptr<content::Compositor> compositor_; |
| + base::android::ScopedJavaGlobalRef<jobject> java_obj_; |
| - gfx::NativeWindow root_window_; |
| int current_surface_format_; |
| DISALLOW_COPY_AND_ASSIGN(ContentViewRenderView); |
| }; |
| - |
| - |
| } |
| #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_RENDER_VIEW_H_ |