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

Side by Side Diff: ui/views/widget/native_widget_aura.h

Issue 173803002: Redesigns the text input focus handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced. Created 6 years, 7 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 | 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 UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
7 7
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "ui/aura/client/focus_change_observer.h" 10 #include "ui/aura/client/focus_change_observer.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 virtual void ReorderNativeViews() OVERRIDE; 65 virtual void ReorderNativeViews() OVERRIDE;
66 virtual void ViewRemoved(View* view) OVERRIDE; 66 virtual void ViewRemoved(View* view) OVERRIDE;
67 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; 67 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE;
68 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; 68 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE;
69 virtual TooltipManager* GetTooltipManager() const OVERRIDE; 69 virtual TooltipManager* GetTooltipManager() const OVERRIDE;
70 virtual void SetCapture() OVERRIDE; 70 virtual void SetCapture() OVERRIDE;
71 virtual void ReleaseCapture() OVERRIDE; 71 virtual void ReleaseCapture() OVERRIDE;
72 virtual bool HasCapture() const OVERRIDE; 72 virtual bool HasCapture() const OVERRIDE;
73 virtual InputMethod* CreateInputMethod() OVERRIDE; 73 virtual InputMethod* CreateInputMethod() OVERRIDE;
74 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; 74 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE;
75 virtual ui::InputMethod* GetHostInputMethod() OVERRIDE;
75 virtual void CenterWindow(const gfx::Size& size) OVERRIDE; 76 virtual void CenterWindow(const gfx::Size& size) OVERRIDE;
76 virtual void GetWindowPlacement( 77 virtual void GetWindowPlacement(
77 gfx::Rect* bounds, 78 gfx::Rect* bounds,
78 ui::WindowShowState* maximized) const OVERRIDE; 79 ui::WindowShowState* maximized) const OVERRIDE;
79 virtual bool SetWindowTitle(const base::string16& title) OVERRIDE; 80 virtual bool SetWindowTitle(const base::string16& title) OVERRIDE;
80 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, 81 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
81 const gfx::ImageSkia& app_icon) OVERRIDE; 82 const gfx::ImageSkia& app_icon) OVERRIDE;
82 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; 83 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE;
83 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE; 84 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE;
84 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; 85 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE;
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 225
225 scoped_ptr<DropHelper> drop_helper_; 226 scoped_ptr<DropHelper> drop_helper_;
226 int last_drop_operation_; 227 int last_drop_operation_;
227 228
228 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 229 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
229 }; 230 };
230 231
231 } // namespace views 232 } // namespace views
232 233
233 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 234 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/x11_desktop_handler.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698