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

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

Issue 464643003: Stop painting when receiving delegated frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix crashes Created 6 years, 4 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 <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 // Called after |window_| is parented to a WindowEventDispatcher. 425 // Called after |window_| is parented to a WindowEventDispatcher.
426 void AddedToRootWindow(); 426 void AddedToRootWindow();
427 427
428 // Called prior to removing |window_| from a WindowEventDispatcher. 428 // Called prior to removing |window_| from a WindowEventDispatcher.
429 void RemovingFromRootWindow(); 429 void RemovingFromRootWindow();
430 430
431 // DelegatedFrameHostClient implementation. 431 // DelegatedFrameHostClient implementation.
432 virtual ui::Compositor* GetCompositor() const OVERRIDE; 432 virtual ui::Compositor* GetCompositor() const OVERRIDE;
433 virtual ui::Layer* GetLayer() OVERRIDE; 433 virtual ui::Layer* GetLayer() OVERRIDE;
434 virtual RenderWidgetHostImpl* GetHost() OVERRIDE; 434 virtual RenderWidgetHostImpl* GetHost() OVERRIDE;
435 virtual void SchedulePaintInRect(
436 const gfx::Rect& damage_rect_in_dip) OVERRIDE;
437 virtual bool IsVisible() OVERRIDE; 435 virtual bool IsVisible() OVERRIDE;
438 virtual scoped_ptr<ResizeLock> CreateResizeLock( 436 virtual scoped_ptr<ResizeLock> CreateResizeLock(
439 bool defer_compositor_lock) OVERRIDE; 437 bool defer_compositor_lock) OVERRIDE;
440 virtual gfx::Size DesiredFrameSize() OVERRIDE; 438 virtual gfx::Size DesiredFrameSize() OVERRIDE;
441 virtual float CurrentDeviceScaleFactor() OVERRIDE; 439 virtual float CurrentDeviceScaleFactor() OVERRIDE;
442 virtual gfx::Size ConvertViewSizeToPixel(const gfx::Size& size) OVERRIDE; 440 virtual gfx::Size ConvertViewSizeToPixel(const gfx::Size& size) OVERRIDE;
443 441
444 // Detaches |this| from the input method object. 442 // Detaches |this| from the input method object.
445 void DetachFromInputMethod(); 443 void DetachFromInputMethod();
446 444
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; 602 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_;
605 603
606 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 604 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
607 605
608 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 606 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
609 }; 607 };
610 608
611 } // namespace content 609 } // namespace content
612 610
613 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 611 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698