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

Side by Side Diff: ui/views/widget/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/widget/desktop_root_window_host_win.cc ('k') | ui/views/widget/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_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_delegate.h" 10 #include "ui/aura/client/activation_delegate.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; 111 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE;
112 virtual void FlashFrame(bool flash_frame) OVERRIDE; 112 virtual void FlashFrame(bool flash_frame) OVERRIDE;
113 virtual bool IsAccessibleWidget() const OVERRIDE; 113 virtual bool IsAccessibleWidget() const OVERRIDE;
114 virtual void RunShellDrag(View* view, 114 virtual void RunShellDrag(View* view,
115 const ui::OSExchangeData& data, 115 const ui::OSExchangeData& data,
116 const gfx::Point& location, 116 const gfx::Point& location,
117 int operation) OVERRIDE; 117 int operation) OVERRIDE;
118 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; 118 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE;
119 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 119 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
120 virtual void ClearNativeFocus() OVERRIDE; 120 virtual void ClearNativeFocus() OVERRIDE;
121 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE;
122 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; 121 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE;
123 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; 122 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE;
124 virtual Widget::MoveLoopResult RunMoveLoop( 123 virtual Widget::MoveLoopResult RunMoveLoop(
125 const gfx::Point& drag_offset) OVERRIDE; 124 const gfx::Point& drag_offset) OVERRIDE;
126 virtual void EndMoveLoop() OVERRIDE; 125 virtual void EndMoveLoop() OVERRIDE;
127 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; 126 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE;
128 127
129 // Overridden from views::InputMethodDelegate: 128 // Overridden from views::InputMethodDelegate:
130 virtual void DispatchKeyEventPostIME(const ui::KeyEvent& key) OVERRIDE; 129 virtual void DispatchKeyEventPostIME(const ui::KeyEvent& key) OVERRIDE;
131 130
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 207
209 scoped_ptr<DropHelper> drop_helper_; 208 scoped_ptr<DropHelper> drop_helper_;
210 int last_drop_operation_; 209 int last_drop_operation_;
211 210
212 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 211 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
213 }; 212 };
214 213
215 } // namespace views 214 } // namespace views
216 215
217 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 216 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_root_window_host_win.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698