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

Side by Side Diff: ash/wm/workspace/workspace_window_resizer.h

Issue 497733002: Declaring the weak_ptr_factory in proper order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes are incorporated with the comments Created 6 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WORKSPACE_WINDOW_RESIZER_H_ 5 #ifndef ASH_WM_WORKSPACE_WINDOW_RESIZER_H_
6 #define ASH_WM_WORKSPACE_WINDOW_RESIZER_H_ 6 #define ASH_WM_WORKSPACE_WINDOW_RESIZER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/wm/window_resizer.h" 10 #include "ash/wm/window_resizer.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 // should attach. 214 // should attach.
215 MatchedEdge magnetism_edge_; 215 MatchedEdge magnetism_edge_;
216 216
217 // Dock container window layout manager. 217 // Dock container window layout manager.
218 DockedWindowLayoutManager* dock_layout_; 218 DockedWindowLayoutManager* dock_layout_;
219 219
220 // Used to determine if this has been deleted during a drag such as when a tab 220 // Used to determine if this has been deleted during a drag such as when a tab
221 // gets dragged into another browser window. 221 // gets dragged into another browser window.
222 base::WeakPtrFactory<WorkspaceWindowResizer> weak_ptr_factory_; 222 base::WeakPtrFactory<WorkspaceWindowResizer> weak_ptr_factory_;
223 223
224 // Current instance for use by the WorkspaceWindowResizerTest.
225 static WorkspaceWindowResizer* instance_;
226
227 DISALLOW_COPY_AND_ASSIGN(WorkspaceWindowResizer); 224 DISALLOW_COPY_AND_ASSIGN(WorkspaceWindowResizer);
228 }; 225 };
229 226
230 } // namespace ash 227 } // namespace ash
231 228
232 #endif // ASH_WM_WORKSPACE_WINDOW_RESIZER_H_ 229 #endif // ASH_WM_WORKSPACE_WINDOW_RESIZER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698