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

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

Issue 25040002: Enables fullscreen subtitle and media control from Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@build_hack
Patch Set: rebased, +option flag Created 7 years 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_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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 void RequestContentClipping(const gfx::Rect& clipping, 236 void RequestContentClipping(const gfx::Rect& clipping,
237 const gfx::Size& content_size); 237 const gfx::Size& content_size);
238 238
239 // Returns true when animation ticks are still needed. This avoids a separate 239 // Returns true when animation ticks are still needed. This avoids a separate
240 // round-trip for requesting follow-up animation. 240 // round-trip for requesting follow-up animation.
241 bool Animate(base::TimeTicks frame_time); 241 bool Animate(base::TimeTicks frame_time);
242 242
243 void SynchronousFrameMetadata( 243 void SynchronousFrameMetadata(
244 const cc::CompositorFrameMetadata& frame_metadata); 244 const cc::CompositorFrameMetadata& frame_metadata);
245 245
246 void SetOverlayVideoMode(bool enabled);
247
246 private: 248 private:
247 void BuffersSwapped(const gpu::Mailbox& mailbox, 249 void BuffersSwapped(const gpu::Mailbox& mailbox,
248 uint32_t output_surface_id, 250 uint32_t output_surface_id,
249 const base::Closure& ack_callback); 251 const base::Closure& ack_callback);
250 252
251 void RunAckCallbacks(); 253 void RunAckCallbacks();
252 254
253 void DestroyDelegatedContent(); 255 void DestroyDelegatedContent();
254 void SwapDelegatedFrame(uint32 output_surface_id, 256 void SwapDelegatedFrame(uint32 output_surface_id,
255 scoped_ptr<cc::DelegatedFrameData> frame_data); 257 scoped_ptr<cc::DelegatedFrameData> frame_data);
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 const bool using_synchronous_compositor_; 351 const bool using_synchronous_compositor_;
350 352
351 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; 353 scoped_ptr<DelegatedFrameEvictor> frame_evictor_;
352 354
353 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 355 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
354 }; 356 };
355 357
356 } // namespace content 358 } // namespace content
357 359
358 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 360 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698