| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 virtual void SetOpacity(unsigned char opacity) OVERRIDE; | 107 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
| 108 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; | 108 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; |
| 109 virtual bool IsAccessibleWidget() const OVERRIDE; | 109 virtual bool IsAccessibleWidget() const OVERRIDE; |
| 110 virtual void RunShellDrag(View* view, | 110 virtual void RunShellDrag(View* view, |
| 111 const ui::OSExchangeData& data, | 111 const ui::OSExchangeData& data, |
| 112 int operation) OVERRIDE; | 112 int operation) OVERRIDE; |
| 113 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; | 113 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; |
| 114 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 114 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
| 115 virtual void ClearNativeFocus() OVERRIDE; | 115 virtual void ClearNativeFocus() OVERRIDE; |
| 116 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; | 116 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; |
| 117 virtual bool ConvertPointFromAncestor( | |
| 118 const Widget* ancestor, gfx::Point* point) const OVERRIDE; | |
| 119 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; | 117 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; |
| 120 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; | 118 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; |
| 121 | 119 |
| 122 // Overridden from views::InputMethodDelegate: | 120 // Overridden from views::InputMethodDelegate: |
| 123 virtual void DispatchKeyEventPostIME(const KeyEvent& key) OVERRIDE; | 121 virtual void DispatchKeyEventPostIME(const KeyEvent& key) OVERRIDE; |
| 124 | 122 |
| 125 // Overridden from aura::WindowDelegate: | 123 // Overridden from aura::WindowDelegate: |
| 126 virtual void OnBoundsChanging(gfx::Rect* new_bounds) OVERRIDE; | 124 virtual void OnBoundsChanging(gfx::Rect* new_bounds) OVERRIDE; |
| 127 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, | 125 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
| 128 const gfx::Rect& new_bounds) OVERRIDE; | 126 const gfx::Rect& new_bounds) OVERRIDE; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 scoped_ptr<DesktopObserverImpl> desktop_observer_; | 174 scoped_ptr<DesktopObserverImpl> desktop_observer_; |
| 177 | 175 |
| 178 scoped_ptr<DropHelper> drop_helper_; | 176 scoped_ptr<DropHelper> drop_helper_; |
| 179 | 177 |
| 180 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 178 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 181 }; | 179 }; |
| 182 | 180 |
| 183 } // namespace views | 181 } // namespace views |
| 184 | 182 |
| 185 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 183 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |