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

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

Issue 24303008: cc: Provide notifications when resources are available. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: callback-rwhva2: fixandroid Created 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/trees/layer_tree_host_unittest_delegated.cc ('k') | no next file » | 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_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // cc::TextureLayerClient implementation. 188 // cc::TextureLayerClient implementation.
189 virtual unsigned PrepareTexture() OVERRIDE; 189 virtual unsigned PrepareTexture() OVERRIDE;
190 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE; 190 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE;
191 virtual bool PrepareTextureMailbox( 191 virtual bool PrepareTextureMailbox(
192 cc::TextureMailbox* mailbox, 192 cc::TextureMailbox* mailbox,
193 scoped_ptr<cc::SingleReleaseCallback>* release_callback, 193 scoped_ptr<cc::SingleReleaseCallback>* release_callback,
194 bool use_shared_memory) OVERRIDE; 194 bool use_shared_memory) OVERRIDE;
195 195
196 // cc::DelegatedRendererLayerClient implementation. 196 // cc::DelegatedRendererLayerClient implementation.
197 virtual void DidCommitFrameData() OVERRIDE; 197 virtual void DidCommitFrameData() OVERRIDE;
198 virtual void UnusedResourcesAreAvailable() OVERRIDE {}
198 199
199 // ImageTransportFactoryAndroidObserver implementation. 200 // ImageTransportFactoryAndroidObserver implementation.
200 virtual void OnLostResources() OVERRIDE; 201 virtual void OnLostResources() OVERRIDE;
201 202
202 // Non-virtual methods 203 // Non-virtual methods
203 void SetContentViewCore(ContentViewCoreImpl* content_view_core); 204 void SetContentViewCore(ContentViewCoreImpl* content_view_core);
204 SkColor GetCachedBackgroundColor() const; 205 SkColor GetCachedBackgroundColor() const;
205 void SendKeyEvent(const NativeWebKeyboardEvent& event); 206 void SendKeyEvent(const NativeWebKeyboardEvent& event);
206 void SendTouchEvent(const WebKit::WebTouchEvent& event); 207 void SendTouchEvent(const WebKit::WebTouchEvent& event);
207 void SendMouseEvent(const WebKit::WebMouseEvent& event); 208 void SendMouseEvent(const WebKit::WebMouseEvent& event);
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 // Used to render overscroll overlays. 328 // Used to render overscroll overlays.
328 bool overscroll_effect_enabled_; 329 bool overscroll_effect_enabled_;
329 scoped_ptr<OverscrollGlow> overscroll_effect_; 330 scoped_ptr<OverscrollGlow> overscroll_effect_;
330 331
331 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 332 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
332 }; 333 };
333 334
334 } // namespace content 335 } // namespace content
335 336
336 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 337 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_delegated.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698