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

Side by Side Diff: ash/mus/non_client_frame_controller.h

Issue 2369793002: WIP: Propagate SurfaceID up window tree hierarchy
Patch Set: Fix input events: EventDispatcher ignores container windows 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
« no previous file with comments | « ash/mus/bridge/wm_window_mus.cc ('k') | ash/mus/non_client_frame_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 ASH_MUS_NON_CLIENT_FRAME_CONTROLLER_H_ 5 #ifndef ASH_MUS_NON_CLIENT_FRAME_CONTROLLER_H_
6 #define ASH_MUS_NON_CLIENT_FRAME_CONTROLLER_H_ 6 #define ASH_MUS_NON_CLIENT_FRAME_CONTROLLER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "ash/mus/frame/detached_title_area_renderer_host.h" 10 #include "ash/mus/frame/detached_title_area_renderer_host.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void OnTreeChanged(const TreeChangeParams& params) override; 67 void OnTreeChanged(const TreeChangeParams& params) override;
68 void OnWindowSharedPropertyChanged( 68 void OnWindowSharedPropertyChanged(
69 ui::Window* window, 69 ui::Window* window,
70 const std::string& name, 70 const std::string& name,
71 const std::vector<uint8_t>* old_data, 71 const std::vector<uint8_t>* old_data,
72 const std::vector<uint8_t>* new_data) override; 72 const std::vector<uint8_t>* new_data) override;
73 void OnWindowLocalPropertyChanged(ui::Window* window, 73 void OnWindowLocalPropertyChanged(ui::Window* window,
74 const void* key, 74 const void* key,
75 intptr_t old) override; 75 intptr_t old) override;
76 void OnWindowDestroyed(ui::Window* window) override; 76 void OnWindowDestroyed(ui::Window* window) override;
77 void OnChildWindowSurfaceCreated(
78 ui::Window* window,
79 const gfx::Size& size,
80 float device_scale_factor,
81 const cc::SurfaceId& surface_id,
82 const cc::SurfaceSequence& surface_sequence) override;
77 83
78 views::Widget* widget_; 84 views::Widget* widget_;
79 85
80 // WARNING: as widget delays destruction there is a portion of time when this 86 // WARNING: as widget delays destruction there is a portion of time when this
81 // is null. 87 // is null.
82 ui::Window* window_; 88 ui::Window* window_;
83 89
84 // Used if a child window is added that has the 90 // Used if a child window is added that has the
85 // kRendererParentTitleArea_Property set. 91 // kRendererParentTitleArea_Property set.
86 DetachedTitleAreaRenderer* detached_title_area_renderer_ = nullptr; 92 DetachedTitleAreaRenderer* detached_title_area_renderer_ = nullptr;
87 93
88 DISALLOW_COPY_AND_ASSIGN(NonClientFrameController); 94 DISALLOW_COPY_AND_ASSIGN(NonClientFrameController);
89 }; 95 };
90 96
91 } // namespace mus 97 } // namespace mus
92 } // namespace ash 98 } // namespace ash
93 99
94 #endif // ASH_MUS_NON_CLIENT_FRAME_CONTROLLER_H_ 100 #endif // ASH_MUS_NON_CLIENT_FRAME_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_window_mus.cc ('k') | ash/mus/non_client_frame_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698