| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 91 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
| 92 virtual void SetHasHorizontalScrollbar( | 92 virtual void SetHasHorizontalScrollbar( |
| 93 bool has_horizontal_scrollbar) OVERRIDE; | 93 bool has_horizontal_scrollbar) OVERRIDE; |
| 94 virtual void SetScrollOffsetPinning( | 94 virtual void SetScrollOffsetPinning( |
| 95 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 95 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
| 96 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; | 96 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; |
| 97 virtual bool LockMouse() OVERRIDE; | 97 virtual bool LockMouse() OVERRIDE; |
| 98 virtual void UnlockMouse() OVERRIDE; | 98 virtual void UnlockMouse() OVERRIDE; |
| 99 | 99 |
| 100 // Overridden from aura::WindowDelegate: | 100 // Overridden from aura::WindowDelegate: |
| 101 virtual void OnBoundsChanging(gfx::Rect* new_bounds) OVERRIDE; |
| 101 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, | 102 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
| 102 const gfx::Rect& new_bounds); | 103 const gfx::Rect& new_bounds) OVERRIDE; |
| 103 virtual void OnFocus() OVERRIDE; | 104 virtual void OnFocus() OVERRIDE; |
| 104 virtual void OnBlur() OVERRIDE; | 105 virtual void OnBlur() OVERRIDE; |
| 105 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE; | 106 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE; |
| 106 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; | 107 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; |
| 107 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 108 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
| 108 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; | 109 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; |
| 109 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE; | 110 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE; |
| 110 virtual bool ShouldActivate(aura::Event* event) OVERRIDE; | 111 virtual bool ShouldActivate(aura::Event* event) OVERRIDE; |
| 111 virtual void OnActivated() OVERRIDE; | 112 virtual void OnActivated() OVERRIDE; |
| 112 virtual void OnLostActive() OVERRIDE; | 113 virtual void OnLostActive() OVERRIDE; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerLinux> > | 156 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerLinux> > |
| 156 accelerated_surface_containers_; | 157 accelerated_surface_containers_; |
| 157 #endif | 158 #endif |
| 158 | 159 |
| 159 bool skip_schedule_paint_; | 160 bool skip_schedule_paint_; |
| 160 | 161 |
| 161 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 162 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 162 }; | 163 }; |
| 163 | 164 |
| 164 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 165 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |