Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: content/port/browser/render_widget_host_view_port.h

Issue 56643003: Start using FocusedNodedChanged to restartInput. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed RWHVI Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/process/kill.h" 10 #include "base/process/kill.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 virtual void SetIsLoading(bool is_loading) = 0; 98 virtual void SetIsLoading(bool is_loading) = 0;
99 99
100 // Updates the type of the input method attached to the view. 100 // Updates the type of the input method attached to the view.
101 virtual void TextInputTypeChanged(ui::TextInputType type, 101 virtual void TextInputTypeChanged(ui::TextInputType type,
102 ui::TextInputMode mode, 102 ui::TextInputMode mode,
103 bool can_compose_inline) = 0; 103 bool can_compose_inline) = 0;
104 104
105 // Cancel the ongoing composition of the input method attached to the view. 105 // Cancel the ongoing composition of the input method attached to the view.
106 virtual void ImeCancelComposition() = 0; 106 virtual void ImeCancelComposition() = 0;
107 107
108 virtual void FocusedNodeChanged(bool is_editable_node) = 0;
Nico 2013/11/20 01:03:10 needs comment
aurimas (slooooooooow) 2013/11/20 01:12:39 Done.
109
108 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) 110 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA)
109 // Updates the range of the marked text in an IME composition. 111 // Updates the range of the marked text in an IME composition.
110 virtual void ImeCompositionRangeChanged( 112 virtual void ImeCompositionRangeChanged(
111 const gfx::Range& range, 113 const gfx::Range& range,
112 const std::vector<gfx::Rect>& character_bounds) = 0; 114 const std::vector<gfx::Rect>& character_bounds) = 0;
113 #endif 115 #endif
114 116
115 // Informs the view that a portion of the widget's backing store was scrolled 117 // Informs the view that a portion of the widget's backing store was scrolled
116 // and/or painted. The view should ensure this gets copied to the screen. 118 // and/or painted. The view should ensure this gets copied to the screen.
117 // 119 //
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 353
352 #if defined(OS_WIN) && defined(USE_AURA) 354 #if defined(OS_WIN) && defined(USE_AURA)
353 virtual void SetParentNativeViewAccessible( 355 virtual void SetParentNativeViewAccessible(
354 gfx::NativeViewAccessible accessible_parent) = 0; 356 gfx::NativeViewAccessible accessible_parent) = 0;
355 #endif 357 #endif
356 }; 358 };
357 359
358 } // namespace content 360 } // namespace content
359 361
360 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 362 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698