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_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/process/kill.h" | 9 #include "base/process/kill.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 virtual void Blur() = 0; | 90 virtual void Blur() = 0; |
91 | 91 |
92 // Sets the cursor to the one associated with the specified cursor_type | 92 // Sets the cursor to the one associated with the specified cursor_type |
93 virtual void UpdateCursor(const WebCursor& cursor) = 0; | 93 virtual void UpdateCursor(const WebCursor& cursor) = 0; |
94 | 94 |
95 // Indicates whether the page has finished loading. | 95 // Indicates whether the page has finished loading. |
96 virtual void SetIsLoading(bool is_loading) = 0; | 96 virtual void SetIsLoading(bool is_loading) = 0; |
97 | 97 |
98 // Updates the type of the input method attached to the view. | 98 // Updates the type of the input method attached to the view. |
99 virtual void TextInputTypeChanged(ui::TextInputType type, | 99 virtual void TextInputTypeChanged(ui::TextInputType type, |
100 bool can_compose_inline, | 100 ui::TextInputMode mode, |
101 ui::TextInputMode mode) = 0; | 101 bool can_compose_inline) = 0; |
102 | 102 |
103 // Cancel the ongoing composition of the input method attached to the view. | 103 // Cancel the ongoing composition of the input method attached to the view. |
104 virtual void ImeCancelComposition() = 0; | 104 virtual void ImeCancelComposition() = 0; |
105 | 105 |
106 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) | 106 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) |
107 // Updates the range of the marked text in an IME composition. | 107 // Updates the range of the marked text in an IME composition. |
108 virtual void ImeCompositionRangeChanged( | 108 virtual void ImeCompositionRangeChanged( |
109 const ui::Range& range, | 109 const ui::Range& range, |
110 const std::vector<gfx::Rect>& character_bounds) = 0; | 110 const std::vector<gfx::Rect>& character_bounds) = 0; |
111 #endif | 111 #endif |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 | 328 |
329 #if defined(OS_WIN) && defined(USE_AURA) | 329 #if defined(OS_WIN) && defined(USE_AURA) |
330 virtual void SetParentNativeViewAccessible( | 330 virtual void SetParentNativeViewAccessible( |
331 gfx::NativeViewAccessible accessible_parent) = 0; | 331 gfx::NativeViewAccessible accessible_parent) = 0; |
332 #endif | 332 #endif |
333 }; | 333 }; |
334 | 334 |
335 } // namespace content | 335 } // namespace content |
336 | 336 |
337 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 337 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
OLD | NEW |