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

Side by Side Diff: content/browser/web_contents/web_contents_view_aura.h

Issue 10910242: Makes copying layers clone external textures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks 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_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 const gfx::Point& location) OVERRIDE; 102 const gfx::Point& location) OVERRIDE;
103 virtual bool CanFocus() OVERRIDE; 103 virtual bool CanFocus() OVERRIDE;
104 virtual void OnCaptureLost() OVERRIDE; 104 virtual void OnCaptureLost() OVERRIDE;
105 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 105 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
106 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 106 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
107 virtual void OnWindowDestroying() OVERRIDE; 107 virtual void OnWindowDestroying() OVERRIDE;
108 virtual void OnWindowDestroyed() OVERRIDE; 108 virtual void OnWindowDestroyed() OVERRIDE;
109 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; 109 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
110 virtual bool HasHitTestMask() const OVERRIDE; 110 virtual bool HasHitTestMask() const OVERRIDE;
111 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; 111 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
112 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE;
112 113
113 // Overridden from ui::EventHandler: 114 // Overridden from ui::EventHandler:
114 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 115 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
115 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 116 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
116 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 117 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
117 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 118 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
118 119
119 // Overridden from aura::client::DragDropDelegate: 120 // Overridden from aura::client::DragDropDelegate:
120 virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE; 121 virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE;
121 virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; 122 virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE;
(...skipping 22 matching lines...) Expand all
144 // We keep track of the render view host we're dragging over. If it changes 145 // We keep track of the render view host we're dragging over. If it changes
145 // during a drag, we need to re-send the DragEnter message. WARNING: 146 // during a drag, we need to re-send the DragEnter message. WARNING:
146 // this pointer should never be dereferenced. We only use it for comparing 147 // this pointer should never be dereferenced. We only use it for comparing
147 // pointers. 148 // pointers.
148 void* current_rvh_for_drag_; 149 void* current_rvh_for_drag_;
149 150
150 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); 151 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura);
151 }; 152 };
152 153
153 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 154 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698