| OLD | NEW |
| 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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 // Called after |window_| is parented to a WindowEventDispatcher. | 426 // Called after |window_| is parented to a WindowEventDispatcher. |
| 427 void AddedToRootWindow(); | 427 void AddedToRootWindow(); |
| 428 | 428 |
| 429 // Called prior to removing |window_| from a WindowEventDispatcher. | 429 // Called prior to removing |window_| from a WindowEventDispatcher. |
| 430 void RemovingFromRootWindow(); | 430 void RemovingFromRootWindow(); |
| 431 | 431 |
| 432 // DelegatedFrameHostClient implementation. | 432 // DelegatedFrameHostClient implementation. |
| 433 virtual ui::Compositor* GetCompositor() const OVERRIDE; | 433 virtual ui::Compositor* GetCompositor() const OVERRIDE; |
| 434 virtual ui::Layer* GetLayer() OVERRIDE; | 434 virtual ui::Layer* GetLayer() OVERRIDE; |
| 435 virtual RenderWidgetHostImpl* GetHost() OVERRIDE; | 435 virtual RenderWidgetHostImpl* GetHost() OVERRIDE; |
| 436 virtual void SchedulePaintInRect( | 436 virtual void NotifyDamage(const gfx::Rect& damage_rect_in_dip) OVERRIDE; |
| 437 const gfx::Rect& damage_rect_in_dip) OVERRIDE; | |
| 438 virtual bool IsVisible() OVERRIDE; | 437 virtual bool IsVisible() OVERRIDE; |
| 439 virtual scoped_ptr<ResizeLock> CreateResizeLock( | 438 virtual scoped_ptr<ResizeLock> CreateResizeLock( |
| 440 bool defer_compositor_lock) OVERRIDE; | 439 bool defer_compositor_lock) OVERRIDE; |
| 441 virtual gfx::Size DesiredFrameSize() OVERRIDE; | 440 virtual gfx::Size DesiredFrameSize() OVERRIDE; |
| 442 virtual float CurrentDeviceScaleFactor() OVERRIDE; | 441 virtual float CurrentDeviceScaleFactor() OVERRIDE; |
| 443 virtual gfx::Size ConvertViewSizeToPixel(const gfx::Size& size) OVERRIDE; | 442 virtual gfx::Size ConvertViewSizeToPixel(const gfx::Size& size) OVERRIDE; |
| 444 | 443 |
| 445 // Detaches |this| from the input method object. | 444 // Detaches |this| from the input method object. |
| 446 void DetachFromInputMethod(); | 445 void DetachFromInputMethod(); |
| 447 | 446 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; | 604 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; |
| 606 | 605 |
| 607 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 606 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
| 608 | 607 |
| 609 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 608 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 610 }; | 609 }; |
| 611 | 610 |
| 612 } // namespace content | 611 } // namespace content |
| 613 | 612 |
| 614 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 613 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |