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