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

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

Issue 645513008: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « ash/wm/window_state_unittest.cc ('k') | ash/wm/workspace_controller_unittest.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_WM_EVENT_H_ 5 #ifndef ASH_WM_WM_EVENT_H_
6 #define ASH_WM_WM_EVENT_H_ 6 #define ASH_WM_WM_EVENT_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/wm/wm_types.h" 9 #include "ash/wm/wm_types.h"
10 #include "ui/gfx/rect.h" 10 #include "ui/gfx/rect.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 private: 99 private:
100 WMEventType type_; 100 WMEventType type_;
101 DISALLOW_COPY_AND_ASSIGN(WMEvent); 101 DISALLOW_COPY_AND_ASSIGN(WMEvent);
102 }; 102 };
103 103
104 // An WMEvent to request new bounds for the window. 104 // An WMEvent to request new bounds for the window.
105 class SetBoundsEvent : public WMEvent { 105 class SetBoundsEvent : public WMEvent {
106 public: 106 public:
107 SetBoundsEvent(WMEventType type, const gfx::Rect& requested_bounds); 107 SetBoundsEvent(WMEventType type, const gfx::Rect& requested_bounds);
108 virtual ~SetBoundsEvent(); 108 ~SetBoundsEvent() override;
109 109
110 const gfx::Rect& requested_bounds() const { return requested_bounds_; } 110 const gfx::Rect& requested_bounds() const { return requested_bounds_; }
111 111
112 private: 112 private:
113 gfx::Rect requested_bounds_; 113 gfx::Rect requested_bounds_;
114 114
115 DISALLOW_COPY_AND_ASSIGN(SetBoundsEvent); 115 DISALLOW_COPY_AND_ASSIGN(SetBoundsEvent);
116 }; 116 };
117 117
118 } // namespace wm 118 } // namespace wm
119 } // namespace ash 119 } // namespace ash
120 120
121 #endif // ASH_WM_WM_EVENT_H_ 121 #endif // ASH_WM_WM_EVENT_H_
122 122
OLDNEW
« no previous file with comments | « ash/wm/window_state_unittest.cc ('k') | ash/wm/workspace_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698