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

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

Issue 2897663002: chromeos: makes it possible for windows to outlive WindowTreeClient (Closed)
Patch Set: cleanup Created 3 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
« no previous file with comments | « ui/aura/window_port_for_shutdown.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ui/aura/window_port_for_shutdown.h"
6
7 #include "base/memory/ptr_util.h"
8 #include "cc/output/compositor_frame_sink.h"
9 #include "ui/aura/window.h"
10
11 namespace aura {
12
13 WindowPortForShutdown::WindowPortForShutdown() {}
14
15 WindowPortForShutdown::~WindowPortForShutdown() {}
16
17 // static
18 void WindowPortForShutdown::Install(aura::Window* window) {
19 window->port_owner_.reset(new WindowPortForShutdown);
20 window->port_ = window->port_owner_.get();
21 }
22
23 void WindowPortForShutdown::OnPreInit(Window* window) {}
24
25 void WindowPortForShutdown::OnDeviceScaleFactorChanged(
26 float device_scale_factor) {}
27
28 void WindowPortForShutdown::OnWillAddChild(Window* child) {}
29
30 void WindowPortForShutdown::OnWillRemoveChild(Window* child) {}
31
32 void WindowPortForShutdown::OnWillMoveChild(size_t current_index,
33 size_t dest_index) {}
34
35 void WindowPortForShutdown::OnVisibilityChanged(bool visible) {}
36
37 void WindowPortForShutdown::OnDidChangeBounds(const gfx::Rect& old_bounds,
38 const gfx::Rect& new_bounds) {}
39
40 std::unique_ptr<ui::PropertyData> WindowPortForShutdown::OnWillChangeProperty(
41 const void* key) {
42 return nullptr;
43 }
44
45 void WindowPortForShutdown::OnPropertyChanged(
46 const void* key,
47 int64_t old_value,
48 std::unique_ptr<ui::PropertyData> data) {}
49
50 std::unique_ptr<cc::CompositorFrameSink>
51 WindowPortForShutdown::CreateCompositorFrameSink() {
52 return nullptr;
53 }
54
55 cc::SurfaceId WindowPortForShutdown::GetSurfaceId() const {
56 return cc::SurfaceId();
57 }
58
59 void WindowPortForShutdown::OnWindowAddedToRootWindow() {}
60
61 void WindowPortForShutdown::OnWillRemoveWindowFromRootWindow() {}
62
63 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/window_port_for_shutdown.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698