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

Side by Side Diff: content/browser/renderer_host/compositor_resize_lock_aura.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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 | Annotate | Revision Log
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 #include "content/browser/renderer_host/compositor_resize_lock_aura.h" 5 #include "content/browser/renderer_host/compositor_resize_lock_aura.h"
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
8 #include "content/public/browser/browser_thread.h" 8 #include "content/public/browser/browser_thread.h"
9 #include "ui/aura/root_window.h" 9 #include "ui/aura/window_event_dispatcher.h"
10 #include "ui/compositor/compositor.h" 10 #include "ui/compositor/compositor.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 CompositorResizeLock::CompositorResizeLock( 14 CompositorResizeLock::CompositorResizeLock(
15 aura::WindowEventDispatcher* dispatcher, 15 aura::WindowEventDispatcher* dispatcher,
16 const gfx::Size new_size, 16 const gfx::Size new_size,
17 bool defer_compositor_lock, 17 bool defer_compositor_lock,
18 const base::TimeDelta& timeout) 18 const base::TimeDelta& timeout)
19 : ResizeLock(new_size, defer_compositor_lock), 19 : ResizeLock(new_size, defer_compositor_lock),
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 void CompositorResizeLock::CancelLock() { 58 void CompositorResizeLock::CancelLock() {
59 if (cancelled_) 59 if (cancelled_)
60 return; 60 return;
61 cancelled_ = true; 61 cancelled_ = true;
62 UnlockCompositor(); 62 UnlockCompositor();
63 dispatcher_->ReleasePointerMoves(); 63 dispatcher_->ReleasePointerMoves();
64 } 64 }
65 65
66 } // namespace content 66 } // namespace content
OLDNEW
« no previous file with comments | « chrome/test/base/view_event_test_base.cc ('k') | content/browser/renderer_host/input/synthetic_gesture_target_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698