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

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, let's go! Created 6 years, 11 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_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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 void RequestContentClipping(const gfx::Rect& clipping, 235 void RequestContentClipping(const gfx::Rect& clipping,
236 const gfx::Size& content_size); 236 const gfx::Size& content_size);
237 237
238 // Returns true when animation ticks are still needed. This avoids a separate 238 // Returns true when animation ticks are still needed. This avoids a separate
239 // round-trip for requesting follow-up animation. 239 // round-trip for requesting follow-up animation.
240 bool Animate(base::TimeTicks frame_time); 240 bool Animate(base::TimeTicks frame_time);
241 241
242 void SynchronousFrameMetadata( 242 void SynchronousFrameMetadata(
243 const cc::CompositorFrameMetadata& frame_metadata); 243 const cc::CompositorFrameMetadata& frame_metadata);
244 244
245 void SetOverlayVideoMode(bool enabled);
246
245 private: 247 private:
246 void BuffersSwapped(const gpu::Mailbox& mailbox, 248 void BuffersSwapped(const gpu::Mailbox& mailbox,
247 uint32_t output_surface_id, 249 uint32_t output_surface_id,
248 const base::Closure& ack_callback); 250 const base::Closure& ack_callback);
249 251
250 void RunAckCallbacks(); 252 void RunAckCallbacks();
251 253
252 void DestroyDelegatedContent(); 254 void DestroyDelegatedContent();
253 void SwapDelegatedFrame(uint32 output_surface_id, 255 void SwapDelegatedFrame(uint32 output_surface_id,
254 scoped_ptr<cc::DelegatedFrameData> frame_data); 256 scoped_ptr<cc::DelegatedFrameData> frame_data);
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 const bool using_synchronous_compositor_; 350 const bool using_synchronous_compositor_;
349 351
350 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; 352 scoped_ptr<DelegatedFrameEvictor> frame_evictor_;
351 353
352 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 354 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
353 }; 355 };
354 356
355 } // namespace content 357 } // namespace content
356 358
357 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 359 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698