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

Side by Side Diff: content/browser/android/in_process/synchronous_compositor_factory_impl.h

Issue 1126963006: Move VISUAL_STATE promise to activation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Current state (presubmit warnings, cc_unittests tests failing) Created 5 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_FACTORY_IMPL_H _ 5 #ifndef CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_FACTORY_IMPL_H _
6 #define CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_FACTORY_IMPL_H _ 6 #define CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_FACTORY_IMPL_H _
7 7
8 #include "base/synchronization/lock.h" 8 #include "base/synchronization/lock.h"
9 #include "cc/blink/context_provider_web_context.h" 9 #include "cc/blink/context_provider_web_context.h"
10 #include "content/browser/android/in_process/synchronous_input_event_filter.h" 10 #include "content/browser/android/in_process/synchronous_input_event_filter.h"
(...skipping 14 matching lines...) Expand all
25 class SynchronousCompositorFactoryImpl : public SynchronousCompositorFactory { 25 class SynchronousCompositorFactoryImpl : public SynchronousCompositorFactory {
26 public: 26 public:
27 SynchronousCompositorFactoryImpl(); 27 SynchronousCompositorFactoryImpl();
28 ~SynchronousCompositorFactoryImpl() override; 28 ~SynchronousCompositorFactoryImpl() override;
29 29
30 // SynchronousCompositorFactory 30 // SynchronousCompositorFactory
31 scoped_refptr<base::MessageLoopProxy> GetCompositorMessageLoop() override; 31 scoped_refptr<base::MessageLoopProxy> GetCompositorMessageLoop() override;
32 bool RecordFullLayer() override; 32 bool RecordFullLayer() override;
33 scoped_ptr<cc::OutputSurface> CreateOutputSurface( 33 scoped_ptr<cc::OutputSurface> CreateOutputSurface(
34 int routing_id, 34 int routing_id,
35 scoped_refptr<content::FrameSwapMessageQueue> frame_swap_message_queue) 35 scoped_refptr<content::FrameUpdateMessageQueue> frame_update_message_queue )
36 override; 36 override;
37 InputHandlerManagerClient* GetInputHandlerManagerClient() override; 37 InputHandlerManagerClient* GetInputHandlerManagerClient() override;
38 scoped_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource( 38 scoped_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource(
39 int routing_id) override; 39 int routing_id) override;
40 scoped_refptr<cc_blink::ContextProviderWebContext> 40 scoped_refptr<cc_blink::ContextProviderWebContext>
41 CreateOffscreenContextProvider( 41 CreateOffscreenContextProvider(
42 const blink::WebGraphicsContext3D::Attributes& attributes, 42 const blink::WebGraphicsContext3D::Attributes& attributes,
43 const std::string& debug_name) override; 43 const std::string& debug_name) override;
44 scoped_refptr<StreamTextureFactory> CreateStreamTextureFactory( 44 scoped_refptr<StreamTextureFactory> CreateStreamTextureFactory(
45 int view_id) override; 45 int view_id) override;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // |num_hardware_compositor_lock_| is updated on UI thread only but can be 77 // |num_hardware_compositor_lock_| is updated on UI thread only but can be
78 // read on renderer main thread. 78 // read on renderer main thread.
79 base::Lock num_hardware_compositor_lock_; 79 base::Lock num_hardware_compositor_lock_;
80 unsigned int num_hardware_compositors_; 80 unsigned int num_hardware_compositors_;
81 scoped_refptr<base::MessageLoopProxy> main_thread_proxy_; 81 scoped_refptr<base::MessageLoopProxy> main_thread_proxy_;
82 }; 82 };
83 83
84 } // namespace content 84 } // namespace content
85 85
86 #endif // CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_FACTORY_IMP L_H_ 86 #endif // CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_FACTORY_IMP L_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698