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 <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 virtual void OnWindowDestroying() OVERRIDE; | 179 virtual void OnWindowDestroying() OVERRIDE; |
180 virtual void OnWindowDestroyed() OVERRIDE; | 180 virtual void OnWindowDestroyed() OVERRIDE; |
181 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; | 181 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; |
182 virtual bool HasHitTestMask() const OVERRIDE; | 182 virtual bool HasHitTestMask() const OVERRIDE; |
183 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; | 183 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; |
184 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; | 184 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; |
185 | 185 |
186 // Overridden from ui::EventHandler: | 186 // Overridden from ui::EventHandler: |
187 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE; | 187 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE; |
188 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; | 188 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; |
189 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE; | 189 virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE; |
190 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; | 190 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; |
191 | 191 |
192 // Overridden from aura::client::ActivationDelegate: | 192 // Overridden from aura::client::ActivationDelegate: |
193 virtual bool ShouldActivate(const ui::Event* event) OVERRIDE; | 193 virtual bool ShouldActivate(const ui::Event* event) OVERRIDE; |
194 virtual void OnActivated() OVERRIDE; | 194 virtual void OnActivated() OVERRIDE; |
195 virtual void OnLostActive() OVERRIDE; | 195 virtual void OnLostActive() OVERRIDE; |
196 | 196 |
197 protected: | 197 protected: |
198 friend class RenderWidgetHostView; | 198 friend class RenderWidgetHostView; |
199 | 199 |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 | 384 |
385 // This lock is for waiting for a front surface to become available to draw. | 385 // This lock is for waiting for a front surface to become available to draw. |
386 scoped_refptr<aura::CompositorLock> released_front_lock_; | 386 scoped_refptr<aura::CompositorLock> released_front_lock_; |
387 | 387 |
388 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 388 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
389 }; | 389 }; |
390 | 390 |
391 } // namespace content | 391 } // namespace content |
392 | 392 |
393 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 393 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |