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

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, 9 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/activation_change_observer.h" 10 #include "ui/aura/client/activation_change_observer.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 virtual void ReorderNativeViews() OVERRIDE; 69 virtual void ReorderNativeViews() OVERRIDE;
70 virtual void ViewRemoved(View* view) OVERRIDE; 70 virtual void ViewRemoved(View* view) OVERRIDE;
71 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; 71 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE;
72 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; 72 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE;
73 virtual TooltipManager* GetTooltipManager() const OVERRIDE; 73 virtual TooltipManager* GetTooltipManager() const OVERRIDE;
74 virtual void SetCapture() OVERRIDE; 74 virtual void SetCapture() OVERRIDE;
75 virtual void ReleaseCapture() OVERRIDE; 75 virtual void ReleaseCapture() OVERRIDE;
76 virtual bool HasCapture() const OVERRIDE; 76 virtual bool HasCapture() const OVERRIDE;
77 virtual InputMethod* CreateInputMethod() OVERRIDE; 77 virtual InputMethod* CreateInputMethod() OVERRIDE;
78 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; 78 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE;
79 virtual ui::InputMethod* GetHostInputMethod() OVERRIDE;
79 virtual void CenterWindow(const gfx::Size& size) OVERRIDE; 80 virtual void CenterWindow(const gfx::Size& size) OVERRIDE;
80 virtual void GetWindowPlacement( 81 virtual void GetWindowPlacement(
81 gfx::Rect* bounds, 82 gfx::Rect* bounds,
82 ui::WindowShowState* maximized) const OVERRIDE; 83 ui::WindowShowState* maximized) const OVERRIDE;
83 virtual bool SetWindowTitle(const base::string16& title) OVERRIDE; 84 virtual bool SetWindowTitle(const base::string16& title) OVERRIDE;
84 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, 85 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
85 const gfx::ImageSkia& app_icon) OVERRIDE; 86 const gfx::ImageSkia& app_icon) OVERRIDE;
86 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; 87 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE;
87 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE; 88 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE;
88 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; 89 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 232
232 scoped_ptr<DropHelper> drop_helper_; 233 scoped_ptr<DropHelper> drop_helper_;
233 int last_drop_operation_; 234 int last_drop_operation_;
234 235
235 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 236 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
236 }; 237 };
237 238
238 } // namespace views 239 } // namespace views
239 240
240 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 241 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698