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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |