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

Side by Side Diff: content/browser/renderer_host/render_widget_host_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_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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 const gfx::Point& location) OVERRIDE; 291 const gfx::Point& location) OVERRIDE;
292 virtual bool CanFocus() OVERRIDE; 292 virtual bool CanFocus() OVERRIDE;
293 virtual void OnCaptureLost() OVERRIDE; 293 virtual void OnCaptureLost() OVERRIDE;
294 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 294 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
295 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 295 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
296 virtual void OnWindowDestroying() OVERRIDE; 296 virtual void OnWindowDestroying() OVERRIDE;
297 virtual void OnWindowDestroyed() OVERRIDE; 297 virtual void OnWindowDestroyed() OVERRIDE;
298 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; 298 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
299 virtual bool HasHitTestMask() const OVERRIDE; 299 virtual bool HasHitTestMask() const OVERRIDE;
300 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; 300 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
301 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; 301 virtual void DidRecreateLayer(ui::Layer *old_layer,
302 ui::Layer *new_layer) OVERRIDE;
302 303
303 // Overridden from ui::EventHandler: 304 // Overridden from ui::EventHandler:
304 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 305 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
305 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 306 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
306 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; 307 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE;
307 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 308 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
308 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 309 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
309 310
310 // Overridden from aura::client::ActivationDelegate: 311 // Overridden from aura::client::ActivationDelegate:
311 virtual bool ShouldActivate() const OVERRIDE; 312 virtual bool ShouldActivate() const OVERRIDE;
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 TouchEditingClient* touch_editing_client_; 703 TouchEditingClient* touch_editing_client_;
703 704
704 ui::LatencyInfo software_latency_info_; 705 ui::LatencyInfo software_latency_info_;
705 706
706 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 707 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
707 }; 708 };
708 709
709 } // namespace content 710 } // namespace content
710 711
711 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 712 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller.cc ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698