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

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

Issue 54493003: Propagate source_frame_number from LTH to DevTools (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed android build Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « cc/trees/layer_tree_host_client.h ('k') | content/renderer/gpu/render_widget_compositor.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 (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_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/containers/scoped_ptr_hash_map.h" 10 #include "base/containers/scoped_ptr_hash_map.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual blink::WebGLId GenerateCompressedTexture( 64 virtual blink::WebGLId GenerateCompressedTexture(
65 gfx::Size& size, int data_size, void* data) OVERRIDE; 65 gfx::Size& size, int data_size, void* data) OVERRIDE;
66 virtual void DeleteTexture(blink::WebGLId texture_id) OVERRIDE; 66 virtual void DeleteTexture(blink::WebGLId texture_id) OVERRIDE;
67 virtual bool CopyTextureToBitmap(blink::WebGLId texture_id, 67 virtual bool CopyTextureToBitmap(blink::WebGLId texture_id,
68 gfx::JavaBitmap& bitmap) OVERRIDE; 68 gfx::JavaBitmap& bitmap) OVERRIDE;
69 virtual bool CopyTextureToBitmap(blink::WebGLId texture_id, 69 virtual bool CopyTextureToBitmap(blink::WebGLId texture_id,
70 const gfx::Rect& sub_rect, 70 const gfx::Rect& sub_rect,
71 gfx::JavaBitmap& bitmap) OVERRIDE; 71 gfx::JavaBitmap& bitmap) OVERRIDE;
72 72
73 // LayerTreeHostClient implementation. 73 // LayerTreeHostClient implementation.
74 virtual void WillBeginMainFrame() OVERRIDE {} 74 virtual void WillBeginMainFrame(int frame_id) OVERRIDE {}
75 virtual void DidBeginMainFrame() OVERRIDE {} 75 virtual void DidBeginMainFrame() OVERRIDE {}
76 virtual void Animate(double frame_begin_time) OVERRIDE {} 76 virtual void Animate(double frame_begin_time) OVERRIDE {}
77 virtual void Layout() OVERRIDE {} 77 virtual void Layout() OVERRIDE {}
78 virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta, 78 virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta,
79 float page_scale) OVERRIDE {} 79 float page_scale) OVERRIDE {}
80 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) 80 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback)
81 OVERRIDE; 81 OVERRIDE;
82 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {} 82 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {}
83 virtual void WillCommit() OVERRIDE {} 83 virtual void WillCommit() OVERRIDE {}
84 virtual void DidCommit() OVERRIDE {} 84 virtual void DidCommit() OVERRIDE {}
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 typedef base::ScopedPtrHashMap<cc::UIResourceId, cc::ScopedUIResource> 116 typedef base::ScopedPtrHashMap<cc::UIResourceId, cc::ScopedUIResource>
117 UIResourceMap; 117 UIResourceMap;
118 UIResourceMap ui_resource_map_; 118 UIResourceMap ui_resource_map_;
119 119
120 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); 120 DISALLOW_COPY_AND_ASSIGN(CompositorImpl);
121 }; 121 };
122 122
123 } // namespace content 123 } // namespace content
124 124
125 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 125 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_client.h ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698