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

Unified Diff: components/mus/ws/connection_manager.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/ws/connection_manager.h ('k') | components/mus/ws/event_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/connection_manager.cc
diff --git a/components/mus/ws/connection_manager.cc b/components/mus/ws/connection_manager.cc
index e4ee980cb6eb12ca5f996337f45b5ef8ea277a4d..ede74e9ecd942b93dc4520aeb0f9a3179bc2704e 100644
--- a/components/mus/ws/connection_manager.cc
+++ b/components/mus/ws/connection_manager.cc
@@ -255,8 +255,8 @@ void ConnectionManager::ProcessWindowBoundsChanged(
void ConnectionManager::ProcessClientAreaChanged(
const ServerWindow* window,
- const gfx::Rect& old_client_area,
- const gfx::Rect& new_client_area) {
+ const gfx::Insets& old_client_area,
+ const gfx::Insets& new_client_area) {
for (auto& pair : connection_map_) {
pair.second->service()->ProcessClientAreaChanged(
window, old_client_area, new_client_area, IsChangeSource(pair.first));
@@ -387,8 +387,8 @@ void ConnectionManager::OnWindowBoundsChanged(ServerWindow* window,
void ConnectionManager::OnWindowClientAreaChanged(
ServerWindow* window,
- const gfx::Rect& old_client_area,
- const gfx::Rect& new_client_area) {
+ const gfx::Insets& old_client_area,
+ const gfx::Insets& new_client_area) {
if (in_destructor_)
return;
« no previous file with comments | « components/mus/ws/connection_manager.h ('k') | components/mus/ws/event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698