OLD | NEW |
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_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlapp.h> | 9 #include <atlapp.h> |
10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 virtual void GetWindowPlacement( | 209 virtual void GetWindowPlacement( |
210 gfx::Rect* bounds, | 210 gfx::Rect* bounds, |
211 ui::WindowShowState* show_state) const OVERRIDE; | 211 ui::WindowShowState* show_state) const OVERRIDE; |
212 virtual void SetWindowTitle(const string16& title) OVERRIDE; | 212 virtual void SetWindowTitle(const string16& title) OVERRIDE; |
213 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, | 213 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, |
214 const gfx::ImageSkia& app_icon) OVERRIDE; | 214 const gfx::ImageSkia& app_icon) OVERRIDE; |
215 virtual void SetAccessibleName(const string16& name) OVERRIDE; | 215 virtual void SetAccessibleName(const string16& name) OVERRIDE; |
216 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; | 216 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; |
217 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; | 217 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; |
218 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; | 218 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; |
219 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; | 219 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE; |
220 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; | 220 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; |
221 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 221 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
222 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 222 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
223 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 223 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
224 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE; | 224 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE; |
225 virtual void StackAtTop() OVERRIDE; | 225 virtual void StackAtTop() OVERRIDE; |
226 virtual void StackBelow(gfx::NativeView native_view) OVERRIDE; | 226 virtual void StackBelow(gfx::NativeView native_view) OVERRIDE; |
227 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 227 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
228 virtual void Close() OVERRIDE; | 228 virtual void Close() OVERRIDE; |
229 virtual void CloseNow() OVERRIDE; | 229 virtual void CloseNow() OVERRIDE; |
230 virtual void Show() OVERRIDE; | 230 virtual void Show() OVERRIDE; |
(...skipping 18 matching lines...) Expand all Loading... |
249 virtual void FlashFrame(bool flash) OVERRIDE; | 249 virtual void FlashFrame(bool flash) OVERRIDE; |
250 virtual bool IsAccessibleWidget() const OVERRIDE; | 250 virtual bool IsAccessibleWidget() const OVERRIDE; |
251 virtual void RunShellDrag(View* view, | 251 virtual void RunShellDrag(View* view, |
252 const ui::OSExchangeData& data, | 252 const ui::OSExchangeData& data, |
253 const gfx::Point& location, | 253 const gfx::Point& location, |
254 int operation) OVERRIDE; | 254 int operation) OVERRIDE; |
255 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; | 255 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; |
256 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 256 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
257 virtual void ClearNativeFocus() OVERRIDE; | 257 virtual void ClearNativeFocus() OVERRIDE; |
258 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; | 258 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; |
259 virtual gfx::Rect GetWorkAreaScreenBounds() const OVERRIDE; | 259 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; |
260 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; | 260 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; |
261 virtual Widget::MoveLoopResult RunMoveLoop() OVERRIDE; | 261 virtual Widget::MoveLoopResult RunMoveLoop() OVERRIDE; |
262 virtual void EndMoveLoop() OVERRIDE; | 262 virtual void EndMoveLoop() OVERRIDE; |
263 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; | 263 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; |
264 | 264 |
265 protected: | 265 protected: |
266 // Information saved before going into fullscreen mode, used to restore the | 266 // Information saved before going into fullscreen mode, used to restore the |
267 // window afterwards. | 267 // window afterwards. |
268 struct SavedWindowInfo { | 268 struct SavedWindowInfo { |
269 bool maximized; | 269 bool maximized; |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 | 679 |
680 // The set of touch devices currently down. | 680 // The set of touch devices currently down. |
681 TouchIDs touch_ids_; | 681 TouchIDs touch_ids_; |
682 | 682 |
683 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 683 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
684 }; | 684 }; |
685 | 685 |
686 } // namespace views | 686 } // namespace views |
687 | 687 |
688 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 688 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
OLD | NEW |