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

Unified Diff: components/mus/public/cpp/lib/window_private.h

Issue 1864113002: Fixes problems with drawn state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: parentdrawn and merge Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/public/cpp/lib/window.cc ('k') | components/mus/public/cpp/lib/window_tree_client_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/window_private.h
diff --git a/components/mus/public/cpp/lib/window_private.h b/components/mus/public/cpp/lib/window_private.h
index e042035fd38cae0d7c809ddd49c8a95c4a9b65ce..3974a9daff80e23c0a410199b3bf9584e0272706 100644
--- a/components/mus/public/cpp/lib/window_private.h
+++ b/components/mus/public/cpp/lib/window_private.h
@@ -35,8 +35,8 @@ class WindowPrivate {
void set_visible(bool visible) { window_->visible_ = visible; }
- void set_drawn(bool drawn) { window_->drawn_ = drawn; }
- bool drawn() { return window_->drawn_; }
+ void set_parent_drawn(bool drawn) { window_->parent_drawn_ = drawn; }
+ bool parent_drawn() { return window_->parent_drawn_; }
void set_id(Id id) { window_->id_ = id; }
@@ -75,7 +75,7 @@ class WindowPrivate {
const std::vector<gfx::Rect>& additional_client_areas) {
window_->LocalSetClientArea(client_area, additional_client_areas);
}
- void LocalSetDrawn(bool drawn) { window_->LocalSetDrawn(drawn); }
+ void LocalSetParentDrawn(bool drawn) { window_->LocalSetParentDrawn(drawn); }
void LocalSetVisible(bool visible) { window_->LocalSetVisible(visible); }
void LocalSetPredefinedCursor(mojom::Cursor cursor) {
window_->LocalSetPredefinedCursor(cursor);
« no previous file with comments | « components/mus/public/cpp/lib/window.cc ('k') | components/mus/public/cpp/lib/window_tree_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698