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

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

Issue 23444051: Move the content-dependent RecreateLayer logic from aura::Window to RWHVA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Better comments Created 7 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 const gfx::Point& location) OVERRIDE; 165 const gfx::Point& location) OVERRIDE;
166 virtual bool CanFocus() OVERRIDE; 166 virtual bool CanFocus() OVERRIDE;
167 virtual void OnCaptureLost() OVERRIDE; 167 virtual void OnCaptureLost() OVERRIDE;
168 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 168 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
169 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 169 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
170 virtual void OnWindowDestroying() OVERRIDE; 170 virtual void OnWindowDestroying() OVERRIDE;
171 virtual void OnWindowDestroyed() OVERRIDE; 171 virtual void OnWindowDestroyed() OVERRIDE;
172 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; 172 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
173 virtual bool HasHitTestMask() const OVERRIDE; 173 virtual bool HasHitTestMask() const OVERRIDE;
174 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; 174 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
175 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; 175 virtual void DidRecreateLayer(ui::Layer* old_layer,
176 ui::Layer* new_layer) OVERRIDE;
176 177
177 // Overridden from ui::EventHandler: 178 // Overridden from ui::EventHandler:
178 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 179 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
179 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 180 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
180 181
181 // Overridden from aura::client::DragDropDelegate: 182 // Overridden from aura::client::DragDropDelegate:
182 virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE; 183 virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE;
183 virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; 184 virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE;
184 virtual void OnDragExited() OVERRIDE; 185 virtual void OnDragExited() OVERRIDE;
185 virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; 186 virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 scoped_ptr<ShadowLayerDelegate> overscroll_shadow_; 229 scoped_ptr<ShadowLayerDelegate> overscroll_shadow_;
229 230
230 scoped_ptr<TouchEditableImplAura> touch_editable_; 231 scoped_ptr<TouchEditableImplAura> touch_editable_;
231 232
232 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); 233 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura);
233 }; 234 };
234 235
235 } // namespace content 236 } // namespace content
236 237
237 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 238 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/aura/image_window_delegate.cc ('k') | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698