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

Unified Diff: content/browser/renderer_host/compositor_resize_lock_aura.h

Issue 196383014: Remove window/host accessors from WED; IWYU for WTH (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/compositor_resize_lock_aura.h
diff --git a/content/browser/renderer_host/compositor_resize_lock_aura.h b/content/browser/renderer_host/compositor_resize_lock_aura.h
index 211aabe3cdda887b83b925e3e68529ee751f26ba..1c2be391053ee78cfd197e4f707a91b6d6ec92c7 100644
--- a/content/browser/renderer_host/compositor_resize_lock_aura.h
+++ b/content/browser/renderer_host/compositor_resize_lock_aura.h
@@ -11,7 +11,7 @@
#include "content/browser/compositor/resize_lock.h"
namespace aura {
-class WindowEventDispatcher;
+class WindowTreeHost;
}
namespace ui {
class CompositorLock;
@@ -22,7 +22,7 @@ namespace content {
// Used to prevent further resizes while a resize is pending.
class CompositorResizeLock : public ResizeLock {
public:
- CompositorResizeLock(aura::WindowEventDispatcher* dispatcher,
+ CompositorResizeLock(aura::WindowTreeHost* host,
const gfx::Size new_size,
bool defer_compositor_lock,
const base::TimeDelta& timeout);
@@ -36,7 +36,7 @@ class CompositorResizeLock : public ResizeLock {
void CancelLock();
private:
- aura::WindowEventDispatcher* dispatcher_;
+ aura::WindowTreeHost* host_;
scoped_refptr<ui::CompositorLock> compositor_lock_;
base::WeakPtrFactory<CompositorResizeLock> weak_ptr_factory_;
bool cancelled_;

Powered by Google App Engine
This is Rietveld 408576698