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 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" | 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
6 | 6 |
7 #include "content/browser/frame_host/cross_process_frame_connector.h" | 7 #include "content/browser/frame_host/cross_process_frame_connector.h" |
8 #include "content/browser/renderer_host/render_widget_host_impl.h" | 8 #include "content/browser/renderer_host/render_widget_host_impl.h" |
9 #include "content/common/gpu/gpu_messages.h" | 9 #include "content/common/gpu/gpu_messages.h" |
10 #include "content/common/view_messages.h" | 10 #include "content/common/view_messages.h" |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
175 void RenderWidgetHostViewChildFrame::SelectionChanged( | 175 void RenderWidgetHostViewChildFrame::SelectionChanged( |
176 const base::string16& text, | 176 const base::string16& text, |
177 size_t offset, | 177 size_t offset, |
178 const gfx::Range& range) { | 178 const gfx::Range& range) { |
179 } | 179 } |
180 | 180 |
181 void RenderWidgetHostViewChildFrame::SelectionBoundsChanged( | 181 void RenderWidgetHostViewChildFrame::SelectionBoundsChanged( |
182 const ViewHostMsg_SelectionBounds_Params& params) { | 182 const ViewHostMsg_SelectionBounds_Params& params) { |
183 } | 183 } |
184 | 184 |
185 #if defined(OS_ANDROID) | 185 #if defined(OS_ANDROID) || defined(OS_WIN) |
sky
2014/08/04 20:05:19
OS_WIN->TOOLKIT_VIEWS
luken
2014/09/11 01:07:26
Done.
| |
186 void RenderWidgetHostViewChildFrame::ShowDisambiguationPopup( | 186 void RenderWidgetHostViewChildFrame::ShowDisambiguationPopup( |
187 const gfx::Rect& target_rect, | 187 const gfx::Rect& target_rect, |
188 const SkBitmap& zoomed_bitmap) { | 188 const SkBitmap& zoomed_bitmap) { |
189 } | 189 } |
190 #endif | |
190 | 191 |
192 #if defined(OS_ANDROID) | |
191 void RenderWidgetHostViewChildFrame::LockCompositingSurface() { | 193 void RenderWidgetHostViewChildFrame::LockCompositingSurface() { |
192 } | 194 } |
193 | 195 |
194 void RenderWidgetHostViewChildFrame::UnlockCompositingSurface() { | 196 void RenderWidgetHostViewChildFrame::UnlockCompositingSurface() { |
195 } | 197 } |
196 #endif | 198 #endif |
197 | 199 |
198 void RenderWidgetHostViewChildFrame::ScrollOffsetChanged() { | 200 void RenderWidgetHostViewChildFrame::ScrollOffsetChanged() { |
199 } | 201 } |
200 | 202 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
330 const { | 332 const { |
331 return NULL; | 333 return NULL; |
332 } | 334 } |
333 #endif // defined(OS_WIN) | 335 #endif // defined(OS_WIN) |
334 | 336 |
335 SkColorType RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { | 337 SkColorType RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { |
336 return kN32_SkColorType; | 338 return kN32_SkColorType; |
337 } | 339 } |
338 | 340 |
339 } // namespace content | 341 } // namespace content |
OLD | NEW |