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

Side by Side Diff: ash/wm/resize_handle_window_targeter.h

Issue 1119423003: Refactors away method implementations in ui::EventTargeter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactors ui::EventTargeter (rebased) Created 5 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/wm/cursor_manager_chromeos.cc ('k') | ash/wm/resize_handle_window_targeter.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 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 ASH_WM_RESIZE_HANDLE_WINDOW_TARGETER_H_ 5 #ifndef ASH_WM_RESIZE_HANDLE_WINDOW_TARGETER_H_
6 #define ASH_WM_RESIZE_HANDLE_WINDOW_TARGETER_H_ 6 #define ASH_WM_RESIZE_HANDLE_WINDOW_TARGETER_H_
7 7
8 #include "ash/wm/window_state_observer.h" 8 #include "ash/wm/window_state_observer.h"
9 #include "ui/aura/window_observer.h" 9 #include "ui/aura/window_observer.h"
10 #include "ui/aura/window_targeter.h" 10 #include "ui/aura/window_targeter.h"
(...skipping 17 matching lines...) Expand all
28 ~ResizeHandleWindowTargeter() override; 28 ~ResizeHandleWindowTargeter() override;
29 29
30 private: 30 private:
31 // wm::WindowStateObserver: 31 // wm::WindowStateObserver:
32 void OnPostWindowStateTypeChange(wm::WindowState* window_state, 32 void OnPostWindowStateTypeChange(wm::WindowState* window_state,
33 wm::WindowStateType old_type) override; 33 wm::WindowStateType old_type) override;
34 // aura::WindowObserver: 34 // aura::WindowObserver:
35 void OnWindowDestroying(aura::Window* window) override; 35 void OnWindowDestroying(aura::Window* window) override;
36 36
37 // aura::WindowTargeter: 37 // aura::WindowTargeter:
38 ui::EventTarget* FindTargetForLocatedEvent(ui::EventTarget* root, 38 aura::Window* FindTargetForLocatedEvent(aura::Window* window,
39 ui::LocatedEvent* event) override; 39 ui::LocatedEvent* event) override;
40 bool SubtreeShouldBeExploredForEvent(ui::EventTarget* target, 40 bool SubtreeShouldBeExploredForEvent(aura::Window* window,
41 const ui::LocatedEvent& event) override; 41 const ui::LocatedEvent& event) override;
42 42
43 // The targeter does not take ownership of |window_| or 43 // The targeter does not take ownership of |window_| or
44 // |immersive_controller_|. 44 // |immersive_controller_|.
45 aura::Window* window_; 45 aura::Window* window_;
46 gfx::Insets frame_border_inset_; 46 gfx::Insets frame_border_inset_;
47 ImmersiveFullscreenController* immersive_controller_; 47 ImmersiveFullscreenController* immersive_controller_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(ResizeHandleWindowTargeter); 49 DISALLOW_COPY_AND_ASSIGN(ResizeHandleWindowTargeter);
50 }; 50 };
51 51
52 } // namespace ash 52 } // namespace ash
53 53
54 #endif // ASH_WM_RESIZE_HANDLE_WINDOW_TARGETER_H_ 54 #endif // ASH_WM_RESIZE_HANDLE_WINDOW_TARGETER_H_
OLDNEW
« no previous file with comments | « ash/wm/cursor_manager_chromeos.cc ('k') | ash/wm/resize_handle_window_targeter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698