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

1234567

/external/chromium_org/third_party/polymer/components-chromium/paper-focusable/
H A Dpaper-focusable-extracted.js21 * @attribute focused
25 focused: {value: false, reflect: true},
68 this.focused = false;
99 // Only render the "focused" state if the element gains focus due to
101 this.focused = true;
106 this.focused = false;
/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_auralinux.cc24 void InputMethodAuraLinux::Init(bool focused) { argument
34 InputMethodBase::Init(focused);
36 if (focused) {
151 TextInputClient* focused) {
154 focused ? focused->GetTextInputType() : TEXT_INPUT_TYPE_NONE);
156 InputMethodBase::OnDidChangeFocusedClient(focused_before, focused);
149 OnDidChangeFocusedClient( TextInputClient* focused_before, TextInputClient* focused) argument
H A Dinput_method_base.h36 virtual void Init(bool focused) OVERRIDE;
60 TextInputClient* focused) {}
62 TextInputClient* focused) {}
64 // Returns true if |client| is currently focused.
67 // Checks if the focused text input client's text input type is
68 // TEXT_INPUT_TYPE_NONE. Also returns true if there is no focused text
72 // Convenience method to call the focused text input client's
59 OnWillChangeFocusedClient(TextInputClient* focused_before, TextInputClient* focused) argument
61 OnDidChangeFocusedClient(TextInputClient* focused_before, TextInputClient* focused) argument
H A Dinput_method_auralinux.h25 virtual void Init(bool focused) OVERRIDE;
47 TextInputClient* focused) OVERRIDE;
H A Dinput_method_win.h26 virtual void Init(bool focused) OVERRIDE;
45 TextInputClient* focused) OVERRIDE;
47 TextInputClient* focused) OVERRIDE;
125 // Represents if WM_CHAR[wparam=='\r'] should be dispatched to the focused
H A Dinput_method_base_unittest.cc33 // Expects that focused text input client will not be changed.
43 // Expects that focused text input client will be changed from
69 TextInputClient* focused) {
74 EXPECT_EQ(next_client_, focused);
85 TextInputClient* focused) {
90 EXPECT_EQ(next_client_, focused);
180 TextInputClient* focused) OVERRIDE {
181 verifier_->OnWillChangeFocusedClient(focused_before, focused);
185 TextInputClient* focused) OVERRIDE {
186 verifier_->OnDidChangeFocusedClient(focused_before, focused);
68 OnWillChangeFocusedClient(TextInputClient* focused_before, TextInputClient* focused) argument
84 OnDidChangeFocusedClient(TextInputClient* focused_before, TextInputClient* focused) argument
[all...]
H A Dinput_method_chromeos.h62 TextInputClient* focused) OVERRIDE;
64 TextInputClient* focused) OVERRIDE;
69 // Checks the availability of focused text input client and update focus
74 // A VKEY_PROCESSKEY may be dispatched to the focused View.
80 // Sends input method result caused by the given key event to the focused text
84 // Checks if the pending input method result needs inserting into the focused
115 // Returns whether an input field is focused. Note that password field is not
125 // It'll be sent to the focused text input client as soon as we receive the
130 // It'll be sent to the focused text input client as soon as we receive the
/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.
H A Dlabel_button_border.cc43 // Paint any corresponding unfocused painter if there is no focused painter.
142 Painter* LabelButtonBorder::GetPainter(bool focused, argument
144 return painters_[focused ? 1 : 0][state].get();
147 void LabelButtonBorder::SetPainter(bool focused, argument
150 painters_[focused ? 1 : 0][state].reset(painter);
/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_focus_rules_unittest.cc50 aura::Window* focused = local
52 EXPECT_TRUE((focused == NULL) || w2->GetNativeView()->Contains(focused));
/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.
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dgtk2_border.cc37 const bool focused,
42 focused_(focused),
138 bool focused = extra.button.is_focused; local
141 if (border_->GetPainter(focused, views_state) ||
142 (focused && border_->GetPainter(false, views_state))) {
143 gfx::ImageSkia* image = &button_images_[focused][views_state];
152 focused,
35 ButtonImageSkiaSource(const Gtk2UI* gtk2_ui, const GtkStateType state, const bool focused, const bool call_to_action, const gfx::Size& size) argument
/external/chromium_org/chrome/browser/resources/user_manager/
H A Duser_manager.css36 .pod.hovered:not(.focused) {
40 .pod.focused {
45 .pod.focused.locked {
119 .pod.focused:not(.multiprofiles-policy-applied) .auth-container {
124 .pod.focused:not(.locked) .name-container {
134 .pod.focused:not(.locked) .auth-container {
138 .pod.focused.locked .password-entry-container {
/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.cc185 aura::Window* focused = aura::client::GetFocusClient(window)-> local
192 if (focused)
193 tracker.Add(focused);
194 if (active && focused != active)
210 // Restore focused/active window.
211 if (tracker.Contains(focused)) {
212 aura::client::GetFocusClient(window)->FocusWindow(focused);
215 focused->GetRootWindow());
/external/chromium_org/third_party/polymer/components-chromium/paper-input/
H A Dpaper-input-extracted.js53 focused: false,
93 if (this.floatingLabel && !this.focused) {
152 this.$.floatedLabel.classList.add('focused');
156 this.$.underlineHighlight.classList.add('focused');
157 this.$.caret.classList.add('focused');
161 this.focused = true;
173 this.$.underlineHighlight.classList.remove('focused');
174 this.$.caret.classList.remove('focused');
177 this.$.floatedLabel.classList.remove('focused');
194 this.focused
[all...]
/external/chromium_org/third_party/polymer/components-chromium/paper-button/
H A Dpaper-button-extracted.js101 if (this.focused) {
/external/chromium_org/third_party/webtreemap/src/
H A Dwebtreemap.js24 var focused = null; variable
27 focused = tree;
69 if (focused && tree == focused && focused.parent) {
70 focus(focused.parent);
/external/chromium_org/ui/views/controls/combobox/
H A Dcombobox.cc129 const int* GetBodyButtonImageIds(bool focused, argument
136 return focused ? kFocusedBodyButtonImages : kBodyButtonImages;
138 return focused ? kFocusedBodyButtonImages : kBodyButtonImages;
140 return focused ?
143 return focused ?
152 const int* GetMenuButtonImageIds(bool focused, argument
159 return focused ? kFocusedMenuButtonImages : kMenuButtonImages;
161 return focused ? kFocusedMenuButtonImages : kMenuButtonImages;
163 return focused ?
166 return focused
175 GetMenuButtonImages( bool focused, Button::ButtonState state) argument
258 bool focused = !!i; local
709 bool focused = HasFocus(); local
[all...]
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DFullScreenView.java118 public void onFocusChanged(final boolean focused, final int direction, argument
120 super.onFocusChanged(focused, direction, previouslyFocusedRect);
122 focused, direction, previouslyFocusedRect);
/external/chromium_org/ui/wm/core/
H A Dbase_focus_rules.cc86 // The focused window is always inside the active window, so windows that
87 // aren't activatable can't contain the focused window.
157 // If there's already a child window focused in the activatable hierarchy,
160 aura::Window* focused = GetFocusedWindow(activatable); local
161 return activatable->Contains(focused) ? focused : activatable;

Completed in 998 milliseconds

1234567