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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 const gfx::Range& replacement_range, | 343 const gfx::Range& replacement_range, |
344 bool keep_selection); | 344 bool keep_selection); |
345 | 345 |
346 // Cancels an ongoing composition. | 346 // Cancels an ongoing composition. |
347 void ImeCancelComposition(); | 347 void ImeCancelComposition(); |
348 | 348 |
349 // Deletes the current selection plus the specified number of characters | 349 // Deletes the current selection plus the specified number of characters |
350 // before and after the selection or caret. | 350 // before and after the selection or caret. |
351 void ExtendSelectionAndDelete(size_t before, size_t after); | 351 void ExtendSelectionAndDelete(size_t before, size_t after); |
352 | 352 |
| 353 // Message from the renderer that the focused node has changed. |
| 354 void FocusedNodeChanged(bool is_editable_node); |
| 355 |
353 // This is for derived classes to give us access to the resizer rect. | 356 // This is for derived classes to give us access to the resizer rect. |
354 // And to also expose it to the RenderWidgetHostView. | 357 // And to also expose it to the RenderWidgetHostView. |
355 virtual gfx::Rect GetRootWindowResizerRect() const; | 358 virtual gfx::Rect GetRootWindowResizerRect() const; |
356 | 359 |
357 bool ignore_input_events() const { | 360 bool ignore_input_events() const { |
358 return ignore_input_events_; | 361 return ignore_input_events_; |
359 } | 362 } |
360 | 363 |
361 bool input_method_active() const { | 364 bool input_method_active() const { |
362 return input_method_active_; | 365 return input_method_active_; |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
920 int64 last_input_number_; | 923 int64 last_input_number_; |
921 | 924 |
922 BrowserRenderingStats rendering_stats_; | 925 BrowserRenderingStats rendering_stats_; |
923 | 926 |
924 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 927 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
925 }; | 928 }; |
926 | 929 |
927 } // namespace content | 930 } // namespace content |
928 | 931 |
929 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 932 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |