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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 virtual void Hide() OVERRIDE; | 67 virtual void Hide() OVERRIDE; |
68 virtual bool IsShowing() OVERRIDE; | 68 virtual bool IsShowing() OVERRIDE; |
69 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 69 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
70 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 70 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
71 | 71 |
72 // Overridden from RenderWidgetHostViewPort: | 72 // Overridden from RenderWidgetHostViewPort: |
73 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 73 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
74 const gfx::Rect& pos) OVERRIDE; | 74 const gfx::Rect& pos) OVERRIDE; |
75 virtual void InitAsFullscreen( | 75 virtual void InitAsFullscreen( |
76 RenderWidgetHostView* reference_host_view) OVERRIDE; | 76 RenderWidgetHostView* reference_host_view) OVERRIDE; |
77 virtual void WasRestored() OVERRIDE; | 77 virtual void WasShown() OVERRIDE; |
78 virtual void WasHidden() OVERRIDE; | 78 virtual void WasHidden() OVERRIDE; |
79 virtual void MovePluginWindows( | 79 virtual void MovePluginWindows( |
80 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 80 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
81 virtual void Focus() OVERRIDE; | 81 virtual void Focus() OVERRIDE; |
82 virtual void Blur() OVERRIDE; | 82 virtual void Blur() OVERRIDE; |
83 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 83 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
84 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 84 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
85 virtual void TextInputStateChanged(ui::TextInputType type, | 85 virtual void TextInputStateChanged(ui::TextInputType type, |
86 bool can_compose_inline) OVERRIDE; | 86 bool can_compose_inline) OVERRIDE; |
87 virtual void ImeCancelComposition() OVERRIDE; | 87 virtual void ImeCancelComposition() OVERRIDE; |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 | 373 |
374 // This lock is for waiting for a front surface to become available to draw. | 374 // This lock is for waiting for a front surface to become available to draw. |
375 scoped_refptr<aura::CompositorLock> released_front_lock_; | 375 scoped_refptr<aura::CompositorLock> released_front_lock_; |
376 | 376 |
377 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 377 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
378 }; | 378 }; |
379 | 379 |
380 } // namespace content | 380 } // namespace content |
381 | 381 |
382 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 382 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |