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

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

Issue 10910242: Makes copying layers clone external textures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate review feedback Created 8 years, 3 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 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 const gfx::Point& location) OVERRIDE; 170 const gfx::Point& location) OVERRIDE;
171 virtual bool CanFocus() OVERRIDE; 171 virtual bool CanFocus() OVERRIDE;
172 virtual void OnCaptureLost() OVERRIDE; 172 virtual void OnCaptureLost() OVERRIDE;
173 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 173 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
174 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 174 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
175 virtual void OnWindowDestroying() OVERRIDE; 175 virtual void OnWindowDestroying() OVERRIDE;
176 virtual void OnWindowDestroyed() OVERRIDE; 176 virtual void OnWindowDestroyed() OVERRIDE;
177 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; 177 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
178 virtual bool HasHitTestMask() const OVERRIDE; 178 virtual bool HasHitTestMask() const OVERRIDE;
179 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; 179 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
180 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE;
180 181
181 // Overridden from ui::EventHandler: 182 // Overridden from ui::EventHandler:
182 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 183 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
183 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 184 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
184 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 185 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
185 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 186 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
186 187
187 // Overridden from aura::client::ActivationDelegate: 188 // Overridden from aura::client::ActivationDelegate:
188 virtual bool ShouldActivate(const ui::Event* event) OVERRIDE; 189 virtual bool ShouldActivate(const ui::Event* event) OVERRIDE;
189 virtual void OnActivated() OVERRIDE; 190 virtual void OnActivated() OVERRIDE;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 380
380 // This lock is for waiting for a front surface to become available to draw. 381 // This lock is for waiting for a front surface to become available to draw.
381 scoped_refptr<aura::CompositorLock> released_front_lock_; 382 scoped_refptr<aura::CompositorLock> released_front_lock_;
382 383
383 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 384 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
384 }; 385 };
385 386
386 } // namespace content 387 } // namespace content
387 388
388 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 389 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698