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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.h

Issue 860983004: text input focus: Supports Window::GetFocusedTextInputClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months 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
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 UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "ui/aura/client/focus_change_observer.h" 9 #include "ui/aura/client/focus_change_observer.h"
10 #include "ui/aura/window_delegate.h" 10 #include "ui/aura/window_delegate.h"
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 void OnRootViewLayout() override; 180 void OnRootViewLayout() override;
181 bool IsTranslucentWindowOpacitySupported() const override; 181 bool IsTranslucentWindowOpacitySupported() const override;
182 void OnSizeConstraintsChanged() override; 182 void OnSizeConstraintsChanged() override;
183 void RepostNativeEvent(gfx::NativeEvent native_event) override; 183 void RepostNativeEvent(gfx::NativeEvent native_event) override;
184 184
185 // Overridden from aura::WindowDelegate: 185 // Overridden from aura::WindowDelegate:
186 gfx::Size GetMinimumSize() const override; 186 gfx::Size GetMinimumSize() const override;
187 gfx::Size GetMaximumSize() const override; 187 gfx::Size GetMaximumSize() const override;
188 void OnBoundsChanged(const gfx::Rect& old_bounds, 188 void OnBoundsChanged(const gfx::Rect& old_bounds,
189 const gfx::Rect& new_bounds) override {} 189 const gfx::Rect& new_bounds) override {}
190 ui::TextInputClient* GetFocusedTextInputClient() override;
190 gfx::NativeCursor GetCursor(const gfx::Point& point) override; 191 gfx::NativeCursor GetCursor(const gfx::Point& point) override;
191 int GetNonClientComponent(const gfx::Point& point) const override; 192 int GetNonClientComponent(const gfx::Point& point) const override;
192 bool ShouldDescendIntoChildForEventHandling( 193 bool ShouldDescendIntoChildForEventHandling(
193 aura::Window* child, 194 aura::Window* child,
194 const gfx::Point& location) override; 195 const gfx::Point& location) override;
195 bool CanFocus() override; 196 bool CanFocus() override;
196 void OnCaptureLost() override; 197 void OnCaptureLost() override;
197 void OnPaint(gfx::Canvas* canvas) override; 198 void OnPaint(gfx::Canvas* canvas) override;
198 void OnDeviceScaleFactorChanged(float device_scale_factor) override; 199 void OnDeviceScaleFactorChanged(float device_scale_factor) override;
199 void OnWindowDestroying(aura::Window* window) override; 200 void OnWindowDestroying(aura::Window* window) override;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // The following factory is used for calls to close the NativeWidgetAura 315 // The following factory is used for calls to close the NativeWidgetAura
315 // instance. 316 // instance.
316 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; 317 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_;
317 318
318 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); 319 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura);
319 }; 320 };
320 321
321 } // namespace views 322 } // namespace views
322 323
323 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 324 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/controls/native/native_view_host_aura.cc ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698