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

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

Issue 10951033: Plumb ClearNativeFocus to DesktopRootWindowHostWin. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: get rid of FocusNativeView Created 8 years, 3 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
« no previous file with comments | « ui/views/focus/focus_manager_unittest.cc ('k') | ui/views/widget/desktop_native_widget_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_
7 7
8 #include "ui/aura/window_delegate.h" 8 #include "ui/aura/window_delegate.h"
9 #include "ui/views/widget/native_widget_private.h" 9 #include "ui/views/widget/native_widget_private.h"
10 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; 92 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE;
93 virtual void FlashFrame(bool flash_frame) OVERRIDE; 93 virtual void FlashFrame(bool flash_frame) OVERRIDE;
94 virtual bool IsAccessibleWidget() const OVERRIDE; 94 virtual bool IsAccessibleWidget() const OVERRIDE;
95 virtual void RunShellDrag(View* view, 95 virtual void RunShellDrag(View* view,
96 const ui::OSExchangeData& data, 96 const ui::OSExchangeData& data,
97 const gfx::Point& location, 97 const gfx::Point& location,
98 int operation) OVERRIDE; 98 int operation) OVERRIDE;
99 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; 99 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE;
100 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 100 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
101 virtual void ClearNativeFocus() OVERRIDE; 101 virtual void ClearNativeFocus() OVERRIDE;
102 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE;
103 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; 102 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE;
104 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; 103 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE;
105 virtual Widget::MoveLoopResult RunMoveLoop( 104 virtual Widget::MoveLoopResult RunMoveLoop(
106 const gfx::Point& drag_offset) OVERRIDE; 105 const gfx::Point& drag_offset) OVERRIDE;
107 virtual void EndMoveLoop() OVERRIDE; 106 virtual void EndMoveLoop() OVERRIDE;
108 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; 107 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE;
109 108
110 // Overridden from aura::WindowDelegate: 109 // Overridden from aura::WindowDelegate:
111 virtual gfx::Size GetMinimumSize() const OVERRIDE; 110 virtual gfx::Size GetMinimumSize() const OVERRIDE;
112 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, 111 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
(...skipping 28 matching lines...) Expand all
141 aura::Window* window_; 140 aura::Window* window_;
142 Widget::InitParams::Ownership ownership_; 141 Widget::InitParams::Ownership ownership_;
143 internal::NativeWidgetDelegate* native_widget_delegate_; 142 internal::NativeWidgetDelegate* native_widget_delegate_;
144 143
145 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); 144 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura);
146 }; 145 };
147 146
148 } // namespace views 147 } // namespace views
149 148
150 #endif // UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_ 149 #endif // UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/focus/focus_manager_unittest.cc ('k') | ui/views/widget/desktop_native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698