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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 } | 113 } |
114 | 114 |
115 #if defined(OS_MACOSX) || defined(USE_AURA) | 115 #if defined(OS_MACOSX) || defined(USE_AURA) |
116 void RenderWidgetHostViewChildFrame::ImeCompositionRangeChanged( | 116 void RenderWidgetHostViewChildFrame::ImeCompositionRangeChanged( |
117 const gfx::Range& range, | 117 const gfx::Range& range, |
118 const std::vector<gfx::Rect>& character_bounds) { | 118 const std::vector<gfx::Rect>& character_bounds) { |
119 NOTREACHED(); | 119 NOTREACHED(); |
120 } | 120 } |
121 #endif | 121 #endif |
122 | 122 |
123 void RenderWidgetHostViewChildFrame::DidUpdateBackingStore( | |
124 const gfx::Rect& scroll_rect, | |
125 const gfx::Vector2d& scroll_delta, | |
126 const std::vector<gfx::Rect>& copy_rects, | |
127 const std::vector<ui::LatencyInfo>& latency_info) { | |
128 NOTREACHED(); | |
129 } | |
130 | |
131 void RenderWidgetHostViewChildFrame::WasShown() { | 123 void RenderWidgetHostViewChildFrame::WasShown() { |
132 if (!host_->is_hidden()) | 124 if (!host_->is_hidden()) |
133 return; | 125 return; |
134 host_->WasShown(); | 126 host_->WasShown(); |
135 } | 127 } |
136 | 128 |
137 void RenderWidgetHostViewChildFrame::WasHidden() { | 129 void RenderWidgetHostViewChildFrame::WasHidden() { |
138 if (host_->is_hidden()) | 130 if (host_->is_hidden()) |
139 return; | 131 return; |
140 host_->WasHidden(); | 132 host_->WasHidden(); |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 const { | 346 const { |
355 return NULL; | 347 return NULL; |
356 } | 348 } |
357 #endif // defined(OS_WIN) | 349 #endif // defined(OS_WIN) |
358 | 350 |
359 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { | 351 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { |
360 return SkBitmap::kARGB_8888_Config; | 352 return SkBitmap::kARGB_8888_Config; |
361 } | 353 } |
362 | 354 |
363 } // namespace content | 355 } // namespace content |
OLD | NEW |