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

Side by Side Diff: ui/wm/core/easy_resize_window_targeter.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 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 | « ui/wm/core/default_activation_client.cc ('k') | ui/wm/core/focus_controller.h » ('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 UI_WM_CORE_EASY_RESIZE_WINDOW_TARGETER_H_ 5 #ifndef UI_WM_CORE_EASY_RESIZE_WINDOW_TARGETER_H_
6 #define UI_WM_CORE_EASY_RESIZE_WINDOW_TARGETER_H_ 6 #define UI_WM_CORE_EASY_RESIZE_WINDOW_TARGETER_H_
7 7
8 #include "ui/aura/window_targeter.h" 8 #include "ui/aura/window_targeter.h"
9 #include "ui/gfx/geometry/insets.h" 9 #include "ui/gfx/geometry/insets.h"
10 #include "ui/wm/wm_export.h" 10 #include "ui/wm/wm_export.h"
(...skipping 16 matching lines...) Expand all
27 mouse_extend_ = mouse_extend; 27 mouse_extend_ = mouse_extend;
28 } 28 }
29 29
30 void set_touch_extend(const gfx::Insets& touch_extend) { 30 void set_touch_extend(const gfx::Insets& touch_extend) {
31 touch_extend_ = touch_extend; 31 touch_extend_ = touch_extend;
32 } 32 }
33 33
34 // ui::EventTargeter: 34 // ui::EventTargeter:
35 virtual bool EventLocationInsideBounds( 35 virtual bool EventLocationInsideBounds(
36 ui::EventTarget* target, 36 ui::EventTarget* target,
37 const ui::LocatedEvent& event) const OVERRIDE; 37 const ui::LocatedEvent& event) const override;
38 38
39 private: 39 private:
40 // Returns true if the hit testing (EventLocationInsideBounds()) should use 40 // Returns true if the hit testing (EventLocationInsideBounds()) should use
41 // the extended bounds. 41 // the extended bounds.
42 bool ShouldUseExtendedBounds(const aura::Window* window) const; 42 bool ShouldUseExtendedBounds(const aura::Window* window) const;
43 43
44 aura::Window* container_; 44 aura::Window* container_;
45 gfx::Insets mouse_extend_; 45 gfx::Insets mouse_extend_;
46 gfx::Insets touch_extend_; 46 gfx::Insets touch_extend_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(EasyResizeWindowTargeter); 48 DISALLOW_COPY_AND_ASSIGN(EasyResizeWindowTargeter);
49 }; 49 };
50 50
51 } // namespace wm 51 } // namespace wm
52 52
53 #endif // UI_WM_CORE_EASY_RESIZE_WINDOW_TARGETER_H_ 53 #endif // UI_WM_CORE_EASY_RESIZE_WINDOW_TARGETER_H_
OLDNEW
« no previous file with comments | « ui/wm/core/default_activation_client.cc ('k') | ui/wm/core/focus_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698