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