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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 virtual gfx::Size GetMinimumSize() const OVERRIDE; | 109 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
110 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, | 110 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
111 const gfx::Rect& new_bounds) OVERRIDE; | 111 const gfx::Rect& new_bounds) OVERRIDE; |
112 virtual void OnFocus() OVERRIDE; | 112 virtual void OnFocus() OVERRIDE; |
113 virtual void OnBlur() OVERRIDE; | 113 virtual void OnBlur() OVERRIDE; |
114 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE; | 114 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE; |
115 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; | 115 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; |
116 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 116 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
117 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; | 117 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; |
118 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE; | 118 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE; |
| 119 virtual bool CanFocus() OVERRIDE; |
119 virtual bool ShouldActivate(aura::Event* event) OVERRIDE; | 120 virtual bool ShouldActivate(aura::Event* event) OVERRIDE; |
120 virtual void OnActivated() OVERRIDE; | 121 virtual void OnActivated() OVERRIDE; |
121 virtual void OnLostActive() OVERRIDE; | 122 virtual void OnLostActive() OVERRIDE; |
122 virtual void OnCaptureLost() OVERRIDE; | 123 virtual void OnCaptureLost() OVERRIDE; |
123 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 124 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
124 virtual void OnWindowDestroying() OVERRIDE; | 125 virtual void OnWindowDestroying() OVERRIDE; |
125 virtual void OnWindowDestroyed() OVERRIDE; | 126 virtual void OnWindowDestroyed() OVERRIDE; |
126 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE; | 127 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE; |
127 | 128 |
128 private: | 129 private: |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 | 168 |
168 gfx::PluginWindowHandle current_surface_; | 169 gfx::PluginWindowHandle current_surface_; |
169 #endif | 170 #endif |
170 | 171 |
171 bool skip_schedule_paint_; | 172 bool skip_schedule_paint_; |
172 | 173 |
173 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 174 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
174 }; | 175 }; |
175 | 176 |
176 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 177 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |