| 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 <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 const std::vector<WebPluginGeometry>& moves) OVERRIDE; | 168 const std::vector<WebPluginGeometry>& moves) OVERRIDE; |
| 169 virtual void Focus() OVERRIDE; | 169 virtual void Focus() OVERRIDE; |
| 170 virtual void Blur() OVERRIDE; | 170 virtual void Blur() OVERRIDE; |
| 171 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 171 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
| 172 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 172 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
| 173 virtual void TextInputTypeChanged(ui::TextInputType type, | 173 virtual void TextInputTypeChanged(ui::TextInputType type, |
| 174 ui::TextInputMode input_mode, | 174 ui::TextInputMode input_mode, |
| 175 bool can_compose_inline) OVERRIDE; | 175 bool can_compose_inline) OVERRIDE; |
| 176 virtual void ImeCancelComposition() OVERRIDE; | 176 virtual void ImeCancelComposition() OVERRIDE; |
| 177 virtual void ImeCompositionRangeChanged( | 177 virtual void ImeCompositionRangeChanged( |
| 178 const ui::Range& range, | 178 const gfx::Range& range, |
| 179 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 179 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
| 180 virtual void DidUpdateBackingStore( | 180 virtual void DidUpdateBackingStore( |
| 181 const gfx::Rect& scroll_rect, | 181 const gfx::Rect& scroll_rect, |
| 182 const gfx::Vector2d& scroll_delta, | 182 const gfx::Vector2d& scroll_delta, |
| 183 const std::vector<gfx::Rect>& copy_rects, | 183 const std::vector<gfx::Rect>& copy_rects, |
| 184 const ui::LatencyInfo& latency_info) OVERRIDE; | 184 const ui::LatencyInfo& latency_info) OVERRIDE; |
| 185 virtual void RenderProcessGone(base::TerminationStatus status, | 185 virtual void RenderProcessGone(base::TerminationStatus status, |
| 186 int error_code) OVERRIDE; | 186 int error_code) OVERRIDE; |
| 187 virtual void Destroy() OVERRIDE; | 187 virtual void Destroy() OVERRIDE; |
| 188 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 188 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; |
| 189 virtual void SelectionChanged(const string16& text, | 189 virtual void SelectionChanged(const string16& text, |
| 190 size_t offset, | 190 size_t offset, |
| 191 const ui::Range& range) OVERRIDE; | 191 const gfx::Range& range) OVERRIDE; |
| 192 virtual void SelectionBoundsChanged( | 192 virtual void SelectionBoundsChanged( |
| 193 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 193 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
| 194 virtual void ScrollOffsetChanged() OVERRIDE; | 194 virtual void ScrollOffsetChanged() OVERRIDE; |
| 195 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 195 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
| 196 virtual void CopyFromCompositingSurface( | 196 virtual void CopyFromCompositingSurface( |
| 197 const gfx::Rect& src_subrect, | 197 const gfx::Rect& src_subrect, |
| 198 const gfx::Size& dst_size, | 198 const gfx::Size& dst_size, |
| 199 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; | 199 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; |
| 200 virtual void CopyFromCompositingSurfaceToVideoFrame( | 200 virtual void CopyFromCompositingSurfaceToVideoFrame( |
| 201 const gfx::Rect& src_subrect, | 201 const gfx::Rect& src_subrect, |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 virtual void InsertText(const string16& text) OVERRIDE; | 254 virtual void InsertText(const string16& text) OVERRIDE; |
| 255 virtual void InsertChar(char16 ch, int flags) OVERRIDE; | 255 virtual void InsertChar(char16 ch, int flags) OVERRIDE; |
| 256 virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE; | 256 virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE; |
| 257 virtual ui::TextInputType GetTextInputType() const OVERRIDE; | 257 virtual ui::TextInputType GetTextInputType() const OVERRIDE; |
| 258 virtual ui::TextInputMode GetTextInputMode() const OVERRIDE; | 258 virtual ui::TextInputMode GetTextInputMode() const OVERRIDE; |
| 259 virtual bool CanComposeInline() const OVERRIDE; | 259 virtual bool CanComposeInline() const OVERRIDE; |
| 260 virtual gfx::Rect GetCaretBounds() OVERRIDE; | 260 virtual gfx::Rect GetCaretBounds() OVERRIDE; |
| 261 virtual bool GetCompositionCharacterBounds(uint32 index, | 261 virtual bool GetCompositionCharacterBounds(uint32 index, |
| 262 gfx::Rect* rect) OVERRIDE; | 262 gfx::Rect* rect) OVERRIDE; |
| 263 virtual bool HasCompositionText() OVERRIDE; | 263 virtual bool HasCompositionText() OVERRIDE; |
| 264 virtual bool GetTextRange(ui::Range* range) OVERRIDE; | 264 virtual bool GetTextRange(gfx::Range* range) OVERRIDE; |
| 265 virtual bool GetCompositionTextRange(ui::Range* range) OVERRIDE; | 265 virtual bool GetCompositionTextRange(gfx::Range* range) OVERRIDE; |
| 266 virtual bool GetSelectionRange(ui::Range* range) OVERRIDE; | 266 virtual bool GetSelectionRange(gfx::Range* range) OVERRIDE; |
| 267 virtual bool SetSelectionRange(const ui::Range& range) OVERRIDE; | 267 virtual bool SetSelectionRange(const gfx::Range& range) OVERRIDE; |
| 268 virtual bool DeleteRange(const ui::Range& range) OVERRIDE; | 268 virtual bool DeleteRange(const gfx::Range& range) OVERRIDE; |
| 269 virtual bool GetTextFromRange(const ui::Range& range, | 269 virtual bool GetTextFromRange(const gfx::Range& range, |
| 270 string16* text) OVERRIDE; | 270 string16* text) OVERRIDE; |
| 271 virtual void OnInputMethodChanged() OVERRIDE; | 271 virtual void OnInputMethodChanged() OVERRIDE; |
| 272 virtual bool ChangeTextDirectionAndLayoutAlignment( | 272 virtual bool ChangeTextDirectionAndLayoutAlignment( |
| 273 base::i18n::TextDirection direction) OVERRIDE; | 273 base::i18n::TextDirection direction) OVERRIDE; |
| 274 virtual void ExtendSelectionAndDelete(size_t before, size_t after) OVERRIDE; | 274 virtual void ExtendSelectionAndDelete(size_t before, size_t after) OVERRIDE; |
| 275 virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE; | 275 virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE; |
| 276 | 276 |
| 277 // Overridden from gfx::DisplayObserver: | 277 // Overridden from gfx::DisplayObserver: |
| 278 virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; | 278 virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; |
| 279 virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; | 279 virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 TouchEditingClient* touch_editing_client_; | 702 TouchEditingClient* touch_editing_client_; |
| 703 | 703 |
| 704 ui::LatencyInfo software_latency_info_; | 704 ui::LatencyInfo software_latency_info_; |
| 705 | 705 |
| 706 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 706 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 707 }; | 707 }; |
| 708 | 708 |
| 709 } // namespace content | 709 } // namespace content |
| 710 | 710 |
| 711 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 711 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |