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

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

Issue 2828913003: Replace "nested message loop" with "nested run loop" in comments. (Closed)
Patch Set: rebase Created 3 years, 7 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/root_window_controller.h ('k') | base/message_loop/message_loop.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 (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_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ 5 #ifndef ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_
6 #define ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ 6 #define ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/wm/wm_toplevel_window_event_handler.h" 9 #include "ash/wm/wm_toplevel_window_event_handler.h"
10 #include "ash/wm/wm_types.h" 10 #include "ash/wm/wm_types.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 private: 47 private:
48 // Callback from WmToplevelWindowEventHandler once the drag completes. 48 // Callback from WmToplevelWindowEventHandler once the drag completes.
49 void OnDragCompleted( 49 void OnDragCompleted(
50 wm::WmToplevelWindowEventHandler::DragResult* result_return_value, 50 wm::WmToplevelWindowEventHandler::DragResult* result_return_value,
51 base::RunLoop* run_loop, 51 base::RunLoop* run_loop,
52 wm::WmToplevelWindowEventHandler::DragResult result); 52 wm::WmToplevelWindowEventHandler::DragResult result);
53 53
54 wm::WmToplevelWindowEventHandler wm_toplevel_window_event_handler_; 54 wm::WmToplevelWindowEventHandler wm_toplevel_window_event_handler_;
55 55
56 // Are we running a nested message loop from RunMoveLoop(). 56 // Are we running a nested run loop from RunMoveLoop().
57 bool in_move_loop_ = false; 57 bool in_move_loop_ = false;
58 58
59 base::WeakPtrFactory<ToplevelWindowEventHandler> weak_factory_; 59 base::WeakPtrFactory<ToplevelWindowEventHandler> weak_factory_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(ToplevelWindowEventHandler); 61 DISALLOW_COPY_AND_ASSIGN(ToplevelWindowEventHandler);
62 }; 62 };
63 63
64 } // namespace ash 64 } // namespace ash
65 65
66 #endif // ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ 66 #endif // ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller.h ('k') | base/message_loop/message_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698