| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 const gfx::Range& range, | 147 const gfx::Range& range, |
| 148 const std::vector<gfx::Rect>& character_bounds) override; | 148 const std::vector<gfx::Rect>& character_bounds) override; |
| 149 void RenderProcessGone(base::TerminationStatus status, | 149 void RenderProcessGone(base::TerminationStatus status, |
| 150 int error_code) override; | 150 int error_code) override; |
| 151 void Destroy() override; | 151 void Destroy() override; |
| 152 void SetTooltipText(const base::string16& tooltip_text) override; | 152 void SetTooltipText(const base::string16& tooltip_text) override; |
| 153 void SelectionChanged(const base::string16& text, | 153 void SelectionChanged(const base::string16& text, |
| 154 size_t offset, | 154 size_t offset, |
| 155 const gfx::Range& range) override; | 155 const gfx::Range& range) override; |
| 156 gfx::Size GetRequestedRendererSize() const override; | 156 gfx::Size GetRequestedRendererSize() const override; |
| 157 void SelectionBoundsChanged( | |
| 158 const ViewHostMsg_SelectionBounds_Params& params) override; | |
| 159 void CopyFromCompositingSurface( | 157 void CopyFromCompositingSurface( |
| 160 const gfx::Rect& src_subrect, | 158 const gfx::Rect& src_subrect, |
| 161 const gfx::Size& dst_size, | 159 const gfx::Size& dst_size, |
| 162 const ReadbackRequestCallback& callback, | 160 const ReadbackRequestCallback& callback, |
| 163 const SkColorType preferred_color_type) override; | 161 const SkColorType preferred_color_type) override; |
| 164 void CopyFromCompositingSurfaceToVideoFrame( | 162 void CopyFromCompositingSurfaceToVideoFrame( |
| 165 const gfx::Rect& src_subrect, | 163 const gfx::Rect& src_subrect, |
| 166 const scoped_refptr<media::VideoFrame>& target, | 164 const scoped_refptr<media::VideoFrame>& target, |
| 167 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; | 165 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; |
| 168 bool CanCopyToVideoFrame() const override; | 166 bool CanCopyToVideoFrame() const override; |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 void DelegatedFrameHostOnLostCompositorResources() override; | 464 void DelegatedFrameHostOnLostCompositorResources() override; |
| 467 void DelegatedFrameHostUpdateVSyncParameters( | 465 void DelegatedFrameHostUpdateVSyncParameters( |
| 468 const base::TimeTicks& timebase, | 466 const base::TimeTicks& timebase, |
| 469 const base::TimeDelta& interval) override; | 467 const base::TimeDelta& interval) override; |
| 470 void SetBeginFrameSource(cc::BeginFrameSource* source) override; | 468 void SetBeginFrameSource(cc::BeginFrameSource* source) override; |
| 471 | 469 |
| 472 // TextInputManager::Observer implementation. | 470 // TextInputManager::Observer implementation. |
| 473 void OnUpdateTextInputStateCalled(TextInputManager* text_input_manager, | 471 void OnUpdateTextInputStateCalled(TextInputManager* text_input_manager, |
| 474 RenderWidgetHostViewBase* updated_view, | 472 RenderWidgetHostViewBase* updated_view, |
| 475 bool did_update_state) override; | 473 bool did_update_state) override; |
| 474 void OnSelectionBoundsChanged( |
| 475 TextInputManager* text_input_manager, |
| 476 RenderWidgetHostViewBase* updated_view) override; |
| 476 | 477 |
| 477 // cc::BeginFrameObserver implementation. | 478 // cc::BeginFrameObserver implementation. |
| 478 void OnBeginFrame(const cc::BeginFrameArgs& args) override; | 479 void OnBeginFrame(const cc::BeginFrameArgs& args) override; |
| 479 const cc::BeginFrameArgs& LastUsedBeginFrameArgs() const override; | 480 const cc::BeginFrameArgs& LastUsedBeginFrameArgs() const override; |
| 480 void OnBeginFrameSourcePausedChanged(bool paused) override; | 481 void OnBeginFrameSourcePausedChanged(bool paused) override; |
| 481 | 482 |
| 482 // Detaches |this| from the input method object. | 483 // Detaches |this| from the input method object. |
| 483 void DetachFromInputMethod(); | 484 void DetachFromInputMethod(); |
| 484 | 485 |
| 485 // Before calling RenderWidgetHost::ForwardKeyboardEvent(), this method | 486 // Before calling RenderWidgetHost::ForwardKeyboardEvent(), this method |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 bool disable_input_event_router_for_testing_; | 693 bool disable_input_event_router_for_testing_; |
| 693 | 694 |
| 694 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 695 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
| 695 | 696 |
| 696 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 697 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 697 }; | 698 }; |
| 698 | 699 |
| 699 } // namespace content | 700 } // namespace content |
| 700 | 701 |
| 701 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 702 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |