| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 virtual bool OnMessageReceived(const IPC::Message& msg) override; | 53 virtual bool OnMessageReceived(const IPC::Message& msg) override; |
| 54 virtual void InitAsChild(gfx::NativeView parent_view) override; | 54 virtual void InitAsChild(gfx::NativeView parent_view) override; |
| 55 virtual void SetSize(const gfx::Size& size) override; | 55 virtual void SetSize(const gfx::Size& size) override; |
| 56 virtual void SetBounds(const gfx::Rect& rect) override; | 56 virtual void SetBounds(const gfx::Rect& rect) override; |
| 57 virtual void Focus() override; | 57 virtual void Focus() override; |
| 58 virtual bool HasFocus() const override; | 58 virtual bool HasFocus() const override; |
| 59 virtual gfx::NativeView GetNativeView() const override; | 59 virtual gfx::NativeView GetNativeView() const override; |
| 60 virtual gfx::NativeViewId GetNativeViewId() const override; | 60 virtual gfx::NativeViewId GetNativeViewId() const override; |
| 61 virtual gfx::NativeViewAccessible GetNativeViewAccessible() override; | 61 virtual gfx::NativeViewAccessible GetNativeViewAccessible() override; |
| 62 virtual gfx::Rect GetViewBounds() const override; | 62 virtual gfx::Rect GetViewBounds() const override; |
| 63 virtual void SetBackgroundOpaque(bool opaque) override; | 63 virtual void SetBackgroundColor(SkColor color) override; |
| 64 virtual gfx::Size GetPhysicalBackingSize() const override; | 64 virtual gfx::Size GetPhysicalBackingSize() const override; |
| 65 virtual base::string16 GetSelectedText() const override; | 65 virtual base::string16 GetSelectedText() const override; |
| 66 | 66 |
| 67 // RenderWidgetHostViewBase implementation. | 67 // RenderWidgetHostViewBase implementation. |
| 68 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 68 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 69 const gfx::Rect& pos) override; | 69 const gfx::Rect& pos) override; |
| 70 virtual void InitAsFullscreen( | 70 virtual void InitAsFullscreen( |
| 71 RenderWidgetHostView* reference_host_view) override; | 71 RenderWidgetHostView* reference_host_view) override; |
| 72 virtual void WasShown() override; | 72 virtual void WasShown() override; |
| 73 virtual void WasHidden() override; | 73 virtual void WasHidden() override; |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 RenderWidgetHostViewBase* platform_view_; | 180 RenderWidgetHostViewBase* platform_view_; |
| 181 #if defined(USE_AURA) | 181 #if defined(USE_AURA) |
| 182 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 182 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
| 183 #endif | 183 #endif |
| 184 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 184 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 185 }; | 185 }; |
| 186 | 186 |
| 187 } // namespace content | 187 } // namespace content |
| 188 | 188 |
| 189 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 189 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |