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

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

Issue 1057873004: Pass a ui::PaintContext from ui::Layer to layer delegates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: layer-paintcontext: mac Created 5 years, 8 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
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 <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 void OnBoundsChanged(const gfx::Rect& old_bounds, 276 void OnBoundsChanged(const gfx::Rect& old_bounds,
277 const gfx::Rect& new_bounds) override; 277 const gfx::Rect& new_bounds) override;
278 ui::TextInputClient* GetFocusedTextInputClient() override; 278 ui::TextInputClient* GetFocusedTextInputClient() override;
279 gfx::NativeCursor GetCursor(const gfx::Point& point) override; 279 gfx::NativeCursor GetCursor(const gfx::Point& point) override;
280 int GetNonClientComponent(const gfx::Point& point) const override; 280 int GetNonClientComponent(const gfx::Point& point) const override;
281 bool ShouldDescendIntoChildForEventHandling( 281 bool ShouldDescendIntoChildForEventHandling(
282 aura::Window* child, 282 aura::Window* child,
283 const gfx::Point& location) override; 283 const gfx::Point& location) override;
284 bool CanFocus() override; 284 bool CanFocus() override;
285 void OnCaptureLost() override; 285 void OnCaptureLost() override;
286 void OnPaint(gfx::Canvas* canvas) override; 286 void OnPaint(const ui::PaintContext& context) override;
287 void OnDeviceScaleFactorChanged(float device_scale_factor) override; 287 void OnDeviceScaleFactorChanged(float device_scale_factor) override;
288 void OnWindowDestroying(aura::Window* window) override; 288 void OnWindowDestroying(aura::Window* window) override;
289 void OnWindowDestroyed(aura::Window* window) override; 289 void OnWindowDestroyed(aura::Window* window) override;
290 void OnWindowTargetVisibilityChanged(bool visible) override; 290 void OnWindowTargetVisibilityChanged(bool visible) override;
291 bool HasHitTestMask() const override; 291 bool HasHitTestMask() const override;
292 void GetHitTestMask(gfx::Path* mask) const override; 292 void GetHitTestMask(gfx::Path* mask) const override;
293 293
294 // Overridden from ui::EventHandler: 294 // Overridden from ui::EventHandler:
295 void OnKeyEvent(ui::KeyEvent* event) override; 295 void OnKeyEvent(ui::KeyEvent* event) override;
296 void OnMouseEvent(ui::MouseEvent* event) override; 296 void OnMouseEvent(ui::MouseEvent* event) override;
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 // compositing surface and showing the disambiguation popup. 658 // compositing surface and showing the disambiguation popup.
659 gfx::Vector2dF disambiguation_scroll_offset_; 659 gfx::Vector2dF disambiguation_scroll_offset_;
660 660
661 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 661 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
662 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 662 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
663 }; 663 };
664 664
665 } // namespace content 665 } // namespace content
666 666
667 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 667 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/ui/focus_ring_layer.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