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

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

Issue 137893007: Add the UI compositor to the Mac build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missed file Created 6 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/aura/compositor_resize_lock.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/root_window.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(aura::RootWindow* root_window, 14 CompositorResizeLock::CompositorResizeLock(aura::RootWindow* root_window,
15 const gfx::Size new_size, 15 const gfx::Size new_size,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 void CompositorResizeLock::CancelLock() { 57 void CompositorResizeLock::CancelLock() {
58 if (cancelled_) 58 if (cancelled_)
59 return; 59 return;
60 cancelled_ = true; 60 cancelled_ = true;
61 UnlockCompositor(); 61 UnlockCompositor();
62 root_window_->ReleasePointerMoves(); 62 root_window_->ReleasePointerMoves();
63 } 63 }
64 64
65 } // namespace content 65 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698