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

Side by Side Diff: components/html_viewer/web_layer_tree_view_impl.h

Issue 1406153004: components/mus/public/interfaces View => Window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet another rebase Created 5 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
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 COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_
6 #define COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_ 6 #define COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 25 matching lines...) Expand all
36 36
37 class WebLayerTreeViewImpl : public blink::WebLayerTreeView, 37 class WebLayerTreeViewImpl : public blink::WebLayerTreeView,
38 public cc::LayerTreeHostClient { 38 public cc::LayerTreeHostClient {
39 public: 39 public:
40 WebLayerTreeViewImpl( 40 WebLayerTreeViewImpl(
41 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner, 41 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner,
42 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager, 42 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
43 cc::TaskGraphRunner* task_graph_runner); 43 cc::TaskGraphRunner* task_graph_runner);
44 ~WebLayerTreeViewImpl() override; 44 ~WebLayerTreeViewImpl() override;
45 45
46 void Initialize(mojo::GpuPtr gpu_service, 46 void Initialize(mus::mojom::GpuPtr gpu_service,
47 mus::Window* window, 47 mus::Window* window,
48 blink::WebWidget* widget); 48 blink::WebWidget* widget);
49 49
50 // cc::LayerTreeHostClient implementation. 50 // cc::LayerTreeHostClient implementation.
51 void WillBeginMainFrame() override; 51 void WillBeginMainFrame() override;
52 void DidBeginMainFrame() override; 52 void DidBeginMainFrame() override;
53 void BeginMainFrame(const cc::BeginFrameArgs& args) override; 53 void BeginMainFrame(const cc::BeginFrameArgs& args) override;
54 void BeginMainFrameNotExpectedSoon() override; 54 void BeginMainFrameNotExpectedSoon() override;
55 void Layout() override; 55 void Layout() override;
56 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 56 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 main_thread_compositor_task_runner_; 117 main_thread_compositor_task_runner_;
118 base::WeakPtr<WebLayerTreeViewImpl> main_thread_bound_weak_ptr_; 118 base::WeakPtr<WebLayerTreeViewImpl> main_thread_bound_weak_ptr_;
119 119
120 base::WeakPtrFactory<WebLayerTreeViewImpl> weak_factory_; 120 base::WeakPtrFactory<WebLayerTreeViewImpl> weak_factory_;
121 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImpl); 121 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImpl);
122 }; 122 };
123 123
124 } // namespace html_viewer 124 } // namespace html_viewer
125 125
126 #endif // COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_ 126 #endif // COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698