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( | |
437 const gfx::Rect& damage_rect_in_dip) OVERRIDE; | |
438 virtual bool IsVisible() OVERRIDE; | 436 virtual bool IsVisible() OVERRIDE; |
439 virtual scoped_ptr<ResizeLock> CreateResizeLock( | 437 virtual scoped_ptr<ResizeLock> CreateResizeLock( |
440 bool defer_compositor_lock) OVERRIDE; | 438 bool defer_compositor_lock) OVERRIDE; |
441 virtual gfx::Size DesiredFrameSize() OVERRIDE; | 439 virtual gfx::Size DesiredFrameSize() OVERRIDE; |
442 virtual float CurrentDeviceScaleFactor() OVERRIDE; | 440 virtual float CurrentDeviceScaleFactor() OVERRIDE; |
443 virtual gfx::Size ConvertViewSizeToPixel(const gfx::Size& size) OVERRIDE; | 441 virtual gfx::Size ConvertViewSizeToPixel(const gfx::Size& size) OVERRIDE; |
444 | 442 |
445 // Detaches |this| from the input method object. | 443 // Detaches |this| from the input method object. |
446 void DetachFromInputMethod(); | 444 void DetachFromInputMethod(); |
447 | 445 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; | 603 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; |
606 | 604 |
607 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 605 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
608 | 606 |
609 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 607 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
610 }; | 608 }; |
611 | 609 |
612 } // namespace content | 610 } // namespace content |
613 | 611 |
614 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 612 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |