| 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_CHILD_FRAME_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 9 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 #if defined(OS_ANDROID) | 141 #if defined(OS_ANDROID) |
| 142 // RenderWidgetHostViewBase implementation. | 142 // RenderWidgetHostViewBase implementation. |
| 143 virtual void ShowDisambiguationPopup( | 143 virtual void ShowDisambiguationPopup( |
| 144 const gfx::Rect& target_rect, | 144 const gfx::Rect& target_rect, |
| 145 const SkBitmap& zoomed_bitmap) OVERRIDE; | 145 const SkBitmap& zoomed_bitmap) OVERRIDE; |
| 146 virtual void LockCompositingSurface() OVERRIDE; | 146 virtual void LockCompositingSurface() OVERRIDE; |
| 147 virtual void UnlockCompositingSurface() OVERRIDE; | 147 virtual void UnlockCompositingSurface() OVERRIDE; |
| 148 #endif // defined(OS_ANDROID) | 148 #endif // defined(OS_ANDROID) |
| 149 | 149 |
| 150 #if defined(OS_WIN) | 150 #if defined(OS_WIN) |
| 151 virtual void SetParentNativeViewAccessible( | 151 virtual HWND GetAccessibleParentHWND() const OVERRIDE; |
| 152 gfx::NativeViewAccessible accessible_parent) OVERRIDE; | 152 virtual IAccessible* GetParentIAccessible() const OVERRIDE; |
| 153 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; | 153 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; |
| 154 #endif | 154 #endif |
| 155 | 155 |
| 156 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; | 156 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; |
| 157 | 157 |
| 158 protected: | 158 protected: |
| 159 friend class RenderWidgetHostView; | 159 friend class RenderWidgetHostView; |
| 160 | 160 |
| 161 // Members will become private when RenderWidgetHostViewGuest is removed. | 161 // Members will become private when RenderWidgetHostViewGuest is removed. |
| 162 // The model object. | 162 // The model object. |
| 163 RenderWidgetHostImpl* host_; | 163 RenderWidgetHostImpl* host_; |
| 164 | 164 |
| 165 // frame_connector_ provides a platform abstraction. Messages | 165 // frame_connector_ provides a platform abstraction. Messages |
| 166 // sent through it are routed to the embedding renderer process. | 166 // sent through it are routed to the embedding renderer process. |
| 167 CrossProcessFrameConnector* frame_connector_; | 167 CrossProcessFrameConnector* frame_connector_; |
| 168 | 168 |
| 169 private: | 169 private: |
| 170 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 170 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
| 171 }; | 171 }; |
| 172 | 172 |
| 173 } // namespace content | 173 } // namespace content |
| 174 | 174 |
| 175 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 175 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| OLD | NEW |