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

Side by Side Diff: ash/aura/wm_root_window_controller_aura.h

Issue 2041423003: Converts ShellObserver from aura::Window to ash::WmWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/app_list/app_list_presenter_delegate.cc ('k') | ash/aura/wm_root_window_controller_aura.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_AURA_WM_ROOT_CONTROLLER_AURA_H_ 5 #ifndef ASH_AURA_WM_ROOT_CONTROLLER_AURA_H_
6 #define ASH_AURA_WM_ROOT_CONTROLLER_AURA_H_ 6 #define ASH_AURA_WM_ROOT_CONTROLLER_AURA_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/wm_root_window_controller.h" 9 #include "ash/common/wm_root_window_controller.h"
10 #include "ash/shell_observer.h" 10 #include "ash/shell_observer.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 views::Widget* widget, 43 views::Widget* widget,
44 int shell_container_id, 44 int shell_container_id,
45 views::Widget::InitParams* init_params) override; 45 views::Widget::InitParams* init_params) override;
46 WmWindow* FindEventTarget(const gfx::Point& location_in_screen) override; 46 WmWindow* FindEventTarget(const gfx::Point& location_in_screen) override;
47 void AddObserver(WmRootWindowControllerObserver* observer) override; 47 void AddObserver(WmRootWindowControllerObserver* observer) override;
48 void RemoveObserver(WmRootWindowControllerObserver* observer) override; 48 void RemoveObserver(WmRootWindowControllerObserver* observer) override;
49 49
50 // ShellObserver: 50 // ShellObserver:
51 void OnDisplayWorkAreaInsetsChanged() override; 51 void OnDisplayWorkAreaInsetsChanged() override;
52 void OnFullscreenStateChanged(bool is_fullscreen, 52 void OnFullscreenStateChanged(bool is_fullscreen,
53 aura::Window* root_window) override; 53 WmWindow* root_window) override;
54 void OnShelfAlignmentChanged(aura::Window* root_window) override; 54 void OnShelfAlignmentChanged(WmWindow* root_window) override;
55 55
56 private: 56 private:
57 RootWindowController* root_window_controller_; 57 RootWindowController* root_window_controller_;
58 base::ObserverList<WmRootWindowControllerObserver> observers_; 58 base::ObserverList<WmRootWindowControllerObserver> observers_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(WmRootWindowControllerAura); 60 DISALLOW_COPY_AND_ASSIGN(WmRootWindowControllerAura);
61 }; 61 };
62 62
63 } // namespace ash 63 } // namespace ash
64 64
65 #endif // ASH_AURA_WM_ROOT_CONTROLLER_AURA_H_ 65 #endif // ASH_AURA_WM_ROOT_CONTROLLER_AURA_H_
OLDNEW
« no previous file with comments | « ash/app_list/app_list_presenter_delegate.cc ('k') | ash/aura/wm_root_window_controller_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698