Searched refs:focused (Results 1 - 25 of 136) sorted by relevance

123456

/external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/
H A Dcontent_script.js10 var focused = document.activeElement;
12 if (focused) {
14 selectedText = focused.value.substring(
15 focused.selectionStart, focused.selectionEnd);
/external/chromium_org/ui/base/ime/
H A Dinput_method_tsf.cc40 // "always focused" model.
50 // "always focused" model. See the comment in the constructor.
59 // "always focused" model. See the comment in the constructor.
128 TextInputClient* focused) {
136 TextInputClient* focused) {
137 if (IsWindowFocused(focused) && IsTextInputClientFocused(focused)) {
139 GetAttachedWindowHandle(focused), focused); local
144 OnTextInputTypeChanged(focused);
127 OnWillChangeFocusedClient(TextInputClient* focused_before, TextInputClient* focused) argument
135 OnDidChangeFocusedClient(TextInputClient* focused_before, TextInputClient* focused) argument
[all...]
H A Dinput_method_auralinux.cc53 void InputMethodAuraLinux::Init(bool focused) { argument
60 InputMethodBase::Init(focused);
62 if (focused) {
179 TextInputClient* focused) {
182 focused ? focused->GetTextInputType() : TEXT_INPUT_TYPE_NONE);
184 InputMethodBase::OnDidChangeFocusedClient(focused_before, focused);
177 OnDidChangeFocusedClient( TextInputClient* focused_before, TextInputClient* focused) argument
H A Dinput_method_base.h36 virtual void Init(bool focused) OVERRIDE;
59 TextInputClient* focused) {}
61 TextInputClient* focused) {}
63 // Returns true if |client| is currently focused.
66 // Checks if the focused text input client's text input type is
67 // TEXT_INPUT_TYPE_NONE. Also returns true if there is no focused text
71 // Convenience method to call the focused text input client's
58 OnWillChangeFocusedClient(TextInputClient* focused_before, TextInputClient* focused) argument
60 OnDidChangeFocusedClient(TextInputClient* focused_before, TextInputClient* focused) argument
H A Dinput_method_auralinux.h29 virtual void Init(bool focused) OVERRIDE;
52 TextInputClient* focused) OVERRIDE;
H A Dinput_method_base_unittest.cc31 // Expects that focused text input client will not be changed.
41 // Expects that focused text input client will be changed from
61 TextInputClient* focused) {
66 EXPECT_EQ(next_client_, focused);
77 TextInputClient* focused) {
82 EXPECT_EQ(next_client_, focused);
175 TextInputClient* focused) OVERRIDE {
176 verifier_->OnWillChangeFocusedClient(focused_before, focused);
180 TextInputClient* focused) OVERRIDE {
181 verifier_->OnDidChangeFocusedClient(focused_before, focused);
60 OnWillChangeFocusedClient(TextInputClient* focused_before, TextInputClient* focused) argument
76 OnDidChangeFocusedClient(TextInputClient* focused_before, TextInputClient* focused) argument
[all...]
H A Dinput_method_tsf.h39 TextInputClient* focused) OVERRIDE;
41 TextInputClient* focused) OVERRIDE;
H A Dinput_method_imm32.h37 TextInputClient* focused) OVERRIDE;
39 TextInputClient* focused) OVERRIDE;
H A Dinput_method_win.h26 virtual void Init(bool focused) OVERRIDE;
38 TextInputClient* focused) OVERRIDE;
95 // Represents if WM_CHAR[wparam=='\r'] should be dispatched to the focused
H A Dinput_method_imm32.cc22 // "always focused" model.
29 // Ignore OnFocus event for "always focused" model. See the comment in the
35 // Ignore OnBlur event for "always focused" model. See the comment in the
101 // The current text input type should not be NONE if |client| is focused.
128 TextInputClient* focused) {
135 TextInputClient* focused) {
136 if (IsWindowFocused(focused)) {
140 OnTextInputTypeChanged(focused);
146 OnCaretBoundsChanged(focused);
148 InputMethodWin::OnDidChangeFocusedClient(focused_before, focused);
126 OnWillChangeFocusedClient( TextInputClient* focused_before, TextInputClient* focused) argument
134 OnDidChangeFocusedClient(TextInputClient* focused_before, TextInputClient* focused) argument
[all...]
H A Dinput_method_base.cc33 void InputMethodBase::Init(bool focused) { argument
34 if (focused)
H A Dinput_method_ibus.h72 TextInputClient* focused) OVERRIDE;
74 TextInputClient* focused) OVERRIDE;
79 // Checks the availability of focused text input client and update focus
84 // A VKEY_PROCESSKEY may be dispatched to the focused View.
90 // Sends input method result caused by the given key event to the focused text
94 // Checks if the pending input method result needs inserting into the focused
128 // It'll be sent to the focused text input client as soon as we receive the
133 // It'll be sent to the focused text input client as soon as we receive the
140 // Indicates if input context is focused or not.
/external/chromium_org/ui/views/controls/button/
H A Dlabel_button_border.h33 // Get or set the painter used for the specified |focused| button |state|.
35 Painter* GetPainter(bool focused, Button::ButtonState state);
36 void SetPainter(bool focused, Button::ButtonState state, Painter* painter);
39 // The painters used for each unfocused or focused button state.
/external/chromium_org/ui/views/ime/
H A Dinput_method_base.cc32 // Alert the InputMethod of the Widget's currently focused view.
33 View* focused = widget->GetFocusManager()->GetFocusedView(); local
34 if (focused)
35 OnWillChangeFocus(NULL, focused);
59 void InputMethodBase::OnWillChangeFocus(View* focused_before, View* focused) {} argument
61 void InputMethodBase::OnDidChangeFocus(View* focused_before, View* focused) {} argument
94 // Convert coordinates if the focused view is inside a child Widget.
H A Dinput_method_base.h40 virtual void OnWillChangeFocus(View* focused_before, View* focused) OVERRIDE;
41 virtual void OnDidChangeFocus(View* focused_before, View* focused) OVERRIDE;
48 // Returns true only if the View is focused and its Widget is active.
51 // Returns true if there is no focused text input client or its type is none.
54 // Calls the focused text input client's OnInputMethodChanged() method.
H A Dinput_method_bridge.cc323 void InputMethodBridge::OnWillChangeFocus(View* focused_before, View* focused) { argument
330 void InputMethodBridge::OnDidChangeFocus(View* focused_before, View* focused) { argument
331 DCHECK_EQ(GetFocusedView(), focused); local
332 OnTextInputTypeChanged(focused);
333 OnCaretBoundsChanged(focused);
/external/chromium_org/content/child/npapi/
H A Dwebplugin_delegate_impl.cc148 void WebPluginDelegateImpl::SetFocus(bool focused) { argument
150 // This is called when internal WebKit focus (the focused element on the page)
159 has_webkit_focus_ = focused;
162 SetPluginHasFocus(focused);
164 SetPluginHasFocus(focused);
168 void WebPluginDelegateImpl::SetPluginHasFocus(bool focused) { argument
169 if (focused == plugin_has_focus_)
171 if (PlatformSetPluginHasFocus(focused))
172 plugin_has_focus_ = focused;
H A Dwebplugin_delegate_impl_android.cc70 bool WebPluginDelegateImpl::PlatformSetPluginHasFocus(bool focused) { argument
H A Dwebplugin_delegate_impl_aura.cc57 bool WebPluginDelegateImpl::PlatformSetPluginHasFocus(bool focused) { argument
/external/chromium_org/ash/display/
H A Dscreen_position_controller.cc182 aura::Window* focused = aura::client::GetFocusClient(window)-> local
189 if (focused)
190 tracker.Add(focused);
191 if (active && focused != active)
198 // Restore focused/active window.
199 if (tracker.Contains(focused)) {
200 aura::client::GetFocusClient(window)->FocusWindow(focused);
203 focused->GetRootWindow());
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/
H A Dwebtreemap.js40 var focused = null; variable
46 focused = tree;
80 if (focused && tree == focused && focused.parent) {
81 focus(focused.parent);
/external/chromium_org/ui/views/controls/combobox/
H A Dcombobox.cc138 const int* GetBodyButtonImageIds(bool focused, argument
145 return focused ? kFocusedBodyButtonImages : kBodyButtonImages;
147 return focused ? kFocusedBodyButtonImages : kBodyButtonImages;
149 return focused ?
152 return focused ?
161 const int* GetMenuButtonImageIds(bool focused, argument
168 return focused ? kFocusedMenuButtonImages : kMenuButtonImages;
170 return focused ? kFocusedMenuButtonImages : kMenuButtonImages;
172 return focused ?
175 return focused
184 GetMenuButtonImages( bool focused, Button::ButtonState state) argument
267 bool focused = !!i; local
681 bool focused = HasFocus(); local
[all...]
/external/chromium_org/content/browser/browser_plugin/
H A Dtest_browser_plugin_guest.cc196 void TestBrowserPluginGuest::OnSetFocus(int instance_id, bool focused) { argument
197 if (focused) {
206 BrowserPluginGuest::OnSetFocus(instance_id, focused);
/external/chromium_org/ui/views/corewm/
H A Dbase_focus_rules.cc87 // The focused window is always inside the active window, so windows that
88 // aren't activatable can't contain the focused window.
158 // If there's already a child window focused in the activatable hierarchy,
161 aura::Window* focused = GetFocusedWindow(activatable); local
162 return activatable->Contains(focused) ? focused : activatable;
/external/chromium_org/chrome/browser/resources/user_manager/
H A Duser_manager.css41 /* For local/unlocked profiles, the name box becomes the focused element.
49 .pod.need-password.focused .name {

Completed in 386 milliseconds

123456