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

Side by Side Diff: ui/aura/window_port_for_shutdown.h

Issue 2875753002: Implement aura::WindowPortMus::CreateCompositorFrameSink() (Closed)
Patch Set: Fix unittests Created 3 years, 6 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 UI_AURA_WINDOW_PORT_FOR_SHUTDOWN_H_ 5 #ifndef UI_AURA_WINDOW_PORT_FOR_SHUTDOWN_H_
6 #define UI_AURA_WINDOW_PORT_FOR_SHUTDOWN_H_ 6 #define UI_AURA_WINDOW_PORT_FOR_SHUTDOWN_H_
7 7
8 #include "ui/aura/window_port.h" 8 #include "ui/aura/window_port.h"
9 9
10 namespace aura { 10 namespace aura {
(...skipping 15 matching lines...) Expand all
26 void OnWillRemoveChild(Window* child) override; 26 void OnWillRemoveChild(Window* child) override;
27 void OnWillMoveChild(size_t current_index, size_t dest_index) override; 27 void OnWillMoveChild(size_t current_index, size_t dest_index) override;
28 void OnVisibilityChanged(bool visible) override; 28 void OnVisibilityChanged(bool visible) override;
29 void OnDidChangeBounds(const gfx::Rect& old_bounds, 29 void OnDidChangeBounds(const gfx::Rect& old_bounds,
30 const gfx::Rect& new_bounds) override; 30 const gfx::Rect& new_bounds) override;
31 std::unique_ptr<ui::PropertyData> OnWillChangeProperty( 31 std::unique_ptr<ui::PropertyData> OnWillChangeProperty(
32 const void* key) override; 32 const void* key) override;
33 void OnPropertyChanged(const void* key, 33 void OnPropertyChanged(const void* key,
34 int64_t old_value, 34 int64_t old_value,
35 std::unique_ptr<ui::PropertyData> data) override; 35 std::unique_ptr<ui::PropertyData> data) override;
36 std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink() override; 36 std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink(
37 scoped_refptr<cc::ContextProvider> context_provider,
38 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager) override;
37 cc::SurfaceId GetSurfaceId() const override; 39 cc::SurfaceId GetSurfaceId() const override;
38 void OnWindowAddedToRootWindow() override; 40 void OnWindowAddedToRootWindow() override;
39 void OnWillRemoveWindowFromRootWindow() override; 41 void OnWillRemoveWindowFromRootWindow() override;
40 42
41 private: 43 private:
42 DISALLOW_COPY_AND_ASSIGN(WindowPortForShutdown); 44 DISALLOW_COPY_AND_ASSIGN(WindowPortForShutdown);
43 }; 45 };
44 46
45 } // namespace aura 47 } // namespace aura
46 48
47 #endif // UI_AURA_WINDOW_PORT_FOR_SHUTDOWN_H_ 49 #endif // UI_AURA_WINDOW_PORT_FOR_SHUTDOWN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698