| 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 void FocusedNodeTouched(const gfx::Point& location_dips_screen, | 135 void FocusedNodeTouched(const gfx::Point& location_dips_screen, |
| 136 bool editable) override; | 136 bool editable) override; |
| 137 | 137 |
| 138 // Overridden from RenderWidgetHostViewBase: | 138 // Overridden from RenderWidgetHostViewBase: |
| 139 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 139 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 140 const gfx::Rect& pos) override; | 140 const gfx::Rect& pos) override; |
| 141 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 141 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
| 142 void Focus() override; | 142 void Focus() override; |
| 143 void UpdateCursor(const WebCursor& cursor) override; | 143 void UpdateCursor(const WebCursor& cursor) override; |
| 144 void SetIsLoading(bool is_loading) override; | 144 void SetIsLoading(bool is_loading) override; |
| 145 void ImeCancelComposition() override; | |
| 146 void ImeCompositionRangeChanged( | 145 void ImeCompositionRangeChanged( |
| 147 const gfx::Range& range, | 146 const gfx::Range& range, |
| 148 const std::vector<gfx::Rect>& character_bounds) override; | 147 const std::vector<gfx::Rect>& character_bounds) override; |
| 149 void RenderProcessGone(base::TerminationStatus status, | 148 void RenderProcessGone(base::TerminationStatus status, |
| 150 int error_code) override; | 149 int error_code) override; |
| 151 void Destroy() override; | 150 void Destroy() override; |
| 152 void SetTooltipText(const base::string16& tooltip_text) override; | 151 void SetTooltipText(const base::string16& tooltip_text) override; |
| 153 void SelectionChanged(const base::string16& text, | 152 void SelectionChanged(const base::string16& text, |
| 154 size_t offset, | 153 size_t offset, |
| 155 const gfx::Range& range) override; | 154 const gfx::Range& range) override; |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 void DelegatedFrameHostOnLostCompositorResources() override; | 465 void DelegatedFrameHostOnLostCompositorResources() override; |
| 467 void DelegatedFrameHostUpdateVSyncParameters( | 466 void DelegatedFrameHostUpdateVSyncParameters( |
| 468 const base::TimeTicks& timebase, | 467 const base::TimeTicks& timebase, |
| 469 const base::TimeDelta& interval) override; | 468 const base::TimeDelta& interval) override; |
| 470 void SetBeginFrameSource(cc::BeginFrameSource* source) override; | 469 void SetBeginFrameSource(cc::BeginFrameSource* source) override; |
| 471 | 470 |
| 472 // TextInputManager::Observer implementation. | 471 // TextInputManager::Observer implementation. |
| 473 void OnUpdateTextInputStateCalled(TextInputManager* text_input_manager, | 472 void OnUpdateTextInputStateCalled(TextInputManager* text_input_manager, |
| 474 RenderWidgetHostViewBase* updated_view, | 473 RenderWidgetHostViewBase* updated_view, |
| 475 bool did_update_state) override; | 474 bool did_update_state) override; |
| 475 void OnImeCancelComposition(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 |