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 <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 int GetTextInputFlags() const override; | 245 int GetTextInputFlags() const override; |
246 bool CanComposeInline() const override; | 246 bool CanComposeInline() const override; |
247 gfx::Rect GetCaretBounds() const override; | 247 gfx::Rect GetCaretBounds() const override; |
248 bool GetCompositionCharacterBounds(uint32 index, | 248 bool GetCompositionCharacterBounds(uint32 index, |
249 gfx::Rect* rect) const override; | 249 gfx::Rect* rect) const override; |
250 bool HasCompositionText() const override; | 250 bool HasCompositionText() const override; |
251 bool GetTextRange(gfx::Range* range) const override; | 251 bool GetTextRange(gfx::Range* range) const override; |
252 bool GetCompositionTextRange(gfx::Range* range) const override; | 252 bool GetCompositionTextRange(gfx::Range* range) const override; |
253 bool GetSelectionRange(gfx::Range* range) const override; | 253 bool GetSelectionRange(gfx::Range* range) const override; |
254 bool SetSelectionRange(const gfx::Range& range) override; | 254 bool SetSelectionRange(const gfx::Range& range) override; |
| 255 uint32 GetSelectionOffset() const override; |
255 bool DeleteRange(const gfx::Range& range) override; | 256 bool DeleteRange(const gfx::Range& range) override; |
256 bool GetTextFromRange(const gfx::Range& range, | 257 bool GetTextFromRange(const gfx::Range& range, |
257 base::string16* text) const override; | 258 base::string16* text) const override; |
258 void OnInputMethodChanged() override; | 259 void OnInputMethodChanged() override; |
259 bool ChangeTextDirectionAndLayoutAlignment( | 260 bool ChangeTextDirectionAndLayoutAlignment( |
260 base::i18n::TextDirection direction) override; | 261 base::i18n::TextDirection direction) override; |
261 void ExtendSelectionAndDelete(size_t before, size_t after) override; | 262 void ExtendSelectionAndDelete(size_t before, size_t after) override; |
262 void EnsureCaretInRect(const gfx::Rect& rect) override; | 263 void EnsureCaretInRect(const gfx::Rect& rect) override; |
263 bool IsEditCommandEnabled(int command_id) override; | 264 bool IsEditCommandEnabled(int command_id) override; |
264 void SetEditCommandForNextKeyEvent(int command_id) override; | 265 void SetEditCommandForNextKeyEvent(int command_id) override; |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 | 672 |
672 BeginFrameObserverProxy begin_frame_observer_proxy_; | 673 BeginFrameObserverProxy begin_frame_observer_proxy_; |
673 | 674 |
674 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 675 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
675 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 676 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
676 }; | 677 }; |
677 | 678 |
678 } // namespace content | 679 } // namespace content |
679 | 680 |
680 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 681 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |