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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 10444014: ash: Improved window maximize/restore animations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix workspace mgr, remove ignore_window, cleanup Created 8 years, 6 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 (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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // Should construct only via RenderWidgetHostView::CreateViewForWidget. 178 // Should construct only via RenderWidgetHostView::CreateViewForWidget.
179 explicit RenderWidgetHostViewAura(content::RenderWidgetHost* host); 179 explicit RenderWidgetHostViewAura(content::RenderWidgetHost* host);
180 180
181 private: 181 private:
182 class WindowObserver; 182 class WindowObserver;
183 friend class WindowObserver; 183 friend class WindowObserver;
184 184
185 // Overridden from ui::CompositorObserver: 185 // Overridden from ui::CompositorObserver:
186 virtual void OnCompositingStarted(ui::Compositor* compositor) OVERRIDE; 186 virtual void OnCompositingStarted(ui::Compositor* compositor) OVERRIDE;
187 virtual void OnCompositingEnded(ui::Compositor* compositor) OVERRIDE; 187 virtual void OnCompositingEnded(ui::Compositor* compositor) OVERRIDE;
188 virtual void OnCompositingAborted(ui::Compositor* compositor) OVERRIDE;
188 189
189 // Overridden from ImageTransportFactoryObserver: 190 // Overridden from ImageTransportFactoryObserver:
190 virtual void OnLostResources(ui::Compositor* compositor) OVERRIDE; 191 virtual void OnLostResources(ui::Compositor* compositor) OVERRIDE;
191 192
192 void UpdateCursorIfOverSelf(); 193 void UpdateCursorIfOverSelf();
193 void UpdateExternalTexture(); 194 void UpdateExternalTexture();
194 ui::InputMethod* GetInputMethod() const; 195 ui::InputMethod* GetInputMethod() const;
195 196
196 // Returns whether the widget needs an input grab to work properly. 197 // Returns whether the widget needs an input grab to work properly.
197 bool NeedsInputGrab(); 198 bool NeedsInputGrab();
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 // These locks are the ones waiting for a texture of the right size to come 303 // These locks are the ones waiting for a texture of the right size to come
303 // back from the renderer/GPU process. 304 // back from the renderer/GPU process.
304 std::vector<linked_ptr<ResizeLock> > resize_locks_; 305 std::vector<linked_ptr<ResizeLock> > resize_locks_;
305 // These locks are the ones waiting for a frame to be drawn. 306 // These locks are the ones waiting for a frame to be drawn.
306 std::vector<linked_ptr<ResizeLock> > locks_pending_draw_; 307 std::vector<linked_ptr<ResizeLock> > locks_pending_draw_;
307 308
308 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 309 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
309 }; 310 };
310 311
311 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 312 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698