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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; | 159 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; |
160 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; | 160 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; |
161 #endif // defined(TOOLKIT_GTK) | 161 #endif // defined(TOOLKIT_GTK) |
162 | 162 |
163 #if defined(OS_WIN) | 163 #if defined(OS_WIN) |
164 virtual void SetParentNativeViewAccessible( | 164 virtual void SetParentNativeViewAccessible( |
165 gfx::NativeViewAccessible accessible_parent) OVERRIDE; | 165 gfx::NativeViewAccessible accessible_parent) OVERRIDE; |
166 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; | 166 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; |
167 #endif | 167 #endif |
168 | 168 |
| 169 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; |
| 170 |
169 protected: | 171 protected: |
170 friend class RenderWidgetHostView; | 172 friend class RenderWidgetHostView; |
171 | 173 |
172 // Members will become private when RenderWidgetHostViewGuest is removed. | 174 // Members will become private when RenderWidgetHostViewGuest is removed. |
173 // The model object. | 175 // The model object. |
174 RenderWidgetHostImpl* host_; | 176 RenderWidgetHostImpl* host_; |
175 | 177 |
176 // frame_connector_ provides a platform abstraction. Messages | 178 // frame_connector_ provides a platform abstraction. Messages |
177 // sent through it are routed to the embedding renderer process. | 179 // sent through it are routed to the embedding renderer process. |
178 CrossProcessFrameConnector* frame_connector_; | 180 CrossProcessFrameConnector* frame_connector_; |
179 | 181 |
180 private: | 182 private: |
181 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 183 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
182 }; | 184 }; |
183 | 185 |
184 } // namespace content | 186 } // namespace content |
185 | 187 |
186 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 188 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |