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

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

Issue 1359163005: Remove surface_id from RenderWidget/RenderWidgetHost and friends (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@channel_creation_preempt
Patch Set: fix more tests Created 5 years, 3 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
« no previous file with comments | « no previous file | content/browser/android/in_process/synchronous_compositor_factory_impl.cc » ('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 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 22 matching lines...) Expand all
33 class SynchronousCompositorFactoryImpl : public SynchronousCompositorFactory { 33 class SynchronousCompositorFactoryImpl : public SynchronousCompositorFactory {
34 public: 34 public:
35 SynchronousCompositorFactoryImpl(); 35 SynchronousCompositorFactoryImpl();
36 ~SynchronousCompositorFactoryImpl() override; 36 ~SynchronousCompositorFactoryImpl() override;
37 37
38 // SynchronousCompositorFactory 38 // SynchronousCompositorFactory
39 scoped_refptr<base::SingleThreadTaskRunner> GetCompositorTaskRunner() 39 scoped_refptr<base::SingleThreadTaskRunner> GetCompositorTaskRunner()
40 override; 40 override;
41 scoped_ptr<cc::OutputSurface> CreateOutputSurface( 41 scoped_ptr<cc::OutputSurface> CreateOutputSurface(
42 int routing_id, 42 int routing_id,
43 int surface_id,
44 scoped_refptr<content::FrameSwapMessageQueue> frame_swap_message_queue) 43 scoped_refptr<content::FrameSwapMessageQueue> frame_swap_message_queue)
45 override; 44 override;
46 InputHandlerManagerClient* GetInputHandlerManagerClient() override; 45 InputHandlerManagerClient* GetInputHandlerManagerClient() override;
47 scoped_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource( 46 scoped_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource(
48 int routing_id) override; 47 int routing_id) override;
49 scoped_refptr<StreamTextureFactory> CreateStreamTextureFactory( 48 scoped_refptr<StreamTextureFactory> CreateStreamTextureFactory(
50 int view_id) override; 49 int view_id) override;
51 bool OverrideWithFactory() override; 50 bool OverrideWithFactory() override;
52 scoped_refptr<cc_blink::ContextProviderWebContext> 51 scoped_refptr<cc_blink::ContextProviderWebContext>
53 CreateOffscreenContextProvider( 52 CreateOffscreenContextProvider(
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 // |num_hardware_compositor_lock_| is updated on UI thread only but can be 98 // |num_hardware_compositor_lock_| is updated on UI thread only but can be
100 // read on renderer main thread. 99 // read on renderer main thread.
101 base::Lock num_hardware_compositor_lock_; 100 base::Lock num_hardware_compositor_lock_;
102 unsigned int num_hardware_compositors_; 101 unsigned int num_hardware_compositors_;
103 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; 102 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
104 }; 103 };
105 104
106 } // namespace content 105 } // namespace content
107 106
108 #endif // CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_FACTORY_IMP L_H_ 107 #endif // CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_FACTORY_IMP L_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/in_process/synchronous_compositor_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698