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

Side by Side Diff: services/ui/public/cpp/window_private.h

Issue 2414683003: Mus+Ash: propagate Surface ID to parents (Closed)
Patch Set: Added TODO Created 4 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 SERVICES_UI_PUBLIC_CPP_WINDOW_PRIVATE_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_PRIVATE_H_
6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_PRIVATE_H_ 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_PRIVATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void LocalSetOpacity(float opacity) { window_->LocalSetOpacity(opacity); } 80 void LocalSetOpacity(float opacity) { window_->LocalSetOpacity(opacity); }
81 void LocalSetPredefinedCursor(mojom::Cursor cursor) { 81 void LocalSetPredefinedCursor(mojom::Cursor cursor) {
82 window_->LocalSetPredefinedCursor(cursor); 82 window_->LocalSetPredefinedCursor(cursor);
83 } 83 }
84 void LocalSetSharedProperty(const std::string& name, 84 void LocalSetSharedProperty(const std::string& name,
85 mojo::Array<uint8_t> new_data); 85 mojo::Array<uint8_t> new_data);
86 void LocalSetSharedProperty(const std::string& name, 86 void LocalSetSharedProperty(const std::string& name,
87 const std::vector<uint8_t>* data) { 87 const std::vector<uint8_t>* data) {
88 window_->LocalSetSharedProperty(name, data); 88 window_->LocalSetSharedProperty(name, data);
89 } 89 }
90 void LocalSetSurfaceId(const cc::SurfaceId& surface_id,
91 const cc::SurfaceSequence& surface_sequence,
92 const gfx::Size& frame_size,
93 float device_scale_factor) {
94 window_->LocalSetSurfaceId(surface_id, surface_sequence, frame_size,
95 device_scale_factor);
96 }
97
90 void NotifyWindowStackingChanged() { window_->NotifyWindowStackingChanged(); } 98 void NotifyWindowStackingChanged() { window_->NotifyWindowStackingChanged(); }
91 99
92 private: 100 private:
93 Window* window_; 101 Window* window_;
94 102
95 DISALLOW_COPY_AND_ASSIGN(WindowPrivate); 103 DISALLOW_COPY_AND_ASSIGN(WindowPrivate);
96 }; 104 };
97 105
98 } // namespace ui 106 } // namespace ui
99 107
100 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_PRIVATE_H_ 108 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698