| 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 <algorithm> | 7 #include <algorithm> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 RenderWidgetHostView* parent_host_view, | 226 RenderWidgetHostView* parent_host_view, |
| 227 const gfx::Rect& bounds) { | 227 const gfx::Rect& bounds) { |
| 228 NOTREACHED(); | 228 NOTREACHED(); |
| 229 } | 229 } |
| 230 | 230 |
| 231 void RenderWidgetHostViewChildFrame::InitAsFullscreen( | 231 void RenderWidgetHostViewChildFrame::InitAsFullscreen( |
| 232 RenderWidgetHostView* reference_host_view) { | 232 RenderWidgetHostView* reference_host_view) { |
| 233 NOTREACHED(); | 233 NOTREACHED(); |
| 234 } | 234 } |
| 235 | 235 |
| 236 void RenderWidgetHostViewChildFrame::ImeCancelComposition() { | |
| 237 // TODO(kenrb): Fix OOPIF Ime. | |
| 238 } | |
| 239 | |
| 240 void RenderWidgetHostViewChildFrame::ImeCompositionRangeChanged( | 236 void RenderWidgetHostViewChildFrame::ImeCompositionRangeChanged( |
| 241 const gfx::Range& range, | 237 const gfx::Range& range, |
| 242 const std::vector<gfx::Rect>& character_bounds) { | 238 const std::vector<gfx::Rect>& character_bounds) { |
| 243 // TODO(kenrb): Fix OOPIF Ime. | 239 // TODO(kenrb): Fix OOPIF Ime. |
| 244 } | 240 } |
| 245 | 241 |
| 246 void RenderWidgetHostViewChildFrame::UpdateCursor(const WebCursor& cursor) { | 242 void RenderWidgetHostViewChildFrame::UpdateCursor(const WebCursor& cursor) { |
| 247 if (frame_connector_) | 243 if (frame_connector_) |
| 248 frame_connector_->UpdateCursor(cursor); | 244 frame_connector_->UpdateCursor(cursor); |
| 249 } | 245 } |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 | 690 |
| 695 bool RenderWidgetHostViewChildFrame::IsChildFrameForTesting() const { | 691 bool RenderWidgetHostViewChildFrame::IsChildFrameForTesting() const { |
| 696 return true; | 692 return true; |
| 697 } | 693 } |
| 698 | 694 |
| 699 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const { | 695 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const { |
| 700 return surface_id_; | 696 return surface_id_; |
| 701 }; | 697 }; |
| 702 | 698 |
| 703 } // namespace content | 699 } // namespace content |
| OLD | NEW |