| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 46 |
| 47 // RenderWidgetHostView implementation. | 47 // RenderWidgetHostView implementation. |
| 48 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 48 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
| 49 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; | 49 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; |
| 50 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 50 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
| 51 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 51 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
| 52 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 52 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 53 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 53 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
| 54 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 54 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
| 55 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 55 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
| 56 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 56 virtual void SetBackgroundOpaque(bool opaque) OVERRIDE; |
| 57 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; | 57 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; |
| 58 virtual base::string16 GetSelectedText() const OVERRIDE; | 58 virtual base::string16 GetSelectedText() const OVERRIDE; |
| 59 | 59 |
| 60 // RenderWidgetHostViewBase implementation. | 60 // RenderWidgetHostViewBase implementation. |
| 61 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 61 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 62 const gfx::Rect& pos) OVERRIDE; | 62 const gfx::Rect& pos) OVERRIDE; |
| 63 virtual void InitAsFullscreen( | 63 virtual void InitAsFullscreen( |
| 64 RenderWidgetHostView* reference_host_view) OVERRIDE; | 64 RenderWidgetHostView* reference_host_view) OVERRIDE; |
| 65 virtual void WasShown() OVERRIDE; | 65 virtual void WasShown() OVERRIDE; |
| 66 virtual void WasHidden() OVERRIDE; | 66 virtual void WasHidden() OVERRIDE; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 RenderWidgetHostViewBase* platform_view_; | 175 RenderWidgetHostViewBase* platform_view_; |
| 176 #if defined(USE_AURA) | 176 #if defined(USE_AURA) |
| 177 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 177 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
| 178 #endif | 178 #endif |
| 179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 180 }; | 180 }; |
| 181 | 181 |
| 182 } // namespace content | 182 } // namespace content |
| 183 | 183 |
| 184 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 184 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |