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

Side by Side Diff: components/mus/public/cpp/lib/window_private.h

Issue 1419793006: Makes windowmanager draw non-client area (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add include Created 5 years, 1 month 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_MUS_PUBLIC_CPP_LIB_WINDOW_PRIVATE_H_ 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_PRIVATE_H_
6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_PRIVATE_H_ 6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_PRIVATE_H_
7 7
8 #include "components/mus/public/cpp/window.h" 8 #include "components/mus/public/cpp/window.h"
9 9
10 namespace mus { 10 namespace mus {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 void LocalDestroy() { window_->LocalDestroy(); } 47 void LocalDestroy() { window_->LocalDestroy(); }
48 void LocalAddChild(Window* child) { window_->LocalAddChild(child); } 48 void LocalAddChild(Window* child) { window_->LocalAddChild(child); }
49 void LocalRemoveChild(Window* child) { window_->LocalRemoveChild(child); } 49 void LocalRemoveChild(Window* child) { window_->LocalRemoveChild(child); }
50 void LocalReorder(Window* relative, mojom::OrderDirection direction) { 50 void LocalReorder(Window* relative, mojom::OrderDirection direction) {
51 window_->LocalReorder(relative, direction); 51 window_->LocalReorder(relative, direction);
52 } 52 }
53 void LocalSetBounds(const gfx::Rect& old_bounds, 53 void LocalSetBounds(const gfx::Rect& old_bounds,
54 const gfx::Rect& new_bounds) { 54 const gfx::Rect& new_bounds) {
55 window_->LocalSetBounds(old_bounds, new_bounds); 55 window_->LocalSetBounds(old_bounds, new_bounds);
56 } 56 }
57 void LocalSetClientArea(const gfx::Rect& new_client_area) { 57 void LocalSetClientArea(const gfx::Insets& new_client_area) {
58 window_->LocalSetClientArea(new_client_area); 58 window_->LocalSetClientArea(new_client_area);
59 } 59 }
60 void LocalSetDrawn(bool drawn) { window_->LocalSetDrawn(drawn); } 60 void LocalSetDrawn(bool drawn) { window_->LocalSetDrawn(drawn); }
61 void LocalSetVisible(bool visible) { window_->LocalSetVisible(visible); } 61 void LocalSetVisible(bool visible) { window_->LocalSetVisible(visible); }
62 void LocalSetSharedProperty(const std::string& name, 62 void LocalSetSharedProperty(const std::string& name,
63 const std::vector<uint8_t>* data){ 63 const std::vector<uint8_t>* data){
64 window_->LocalSetSharedProperty(name, data); 64 window_->LocalSetSharedProperty(name, data);
65 } 65 }
66 66
67 private: 67 private:
68 Window* window_; 68 Window* window_;
69 69
70 MOJO_DISALLOW_COPY_AND_ASSIGN(WindowPrivate); 70 MOJO_DISALLOW_COPY_AND_ASSIGN(WindowPrivate);
71 }; 71 };
72 72
73 } // namespace mus 73 } // namespace mus
74 74
75 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_PRIVATE_H_ 75 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_PRIVATE_H_
OLDNEW
« 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