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

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

Issue 11269022: Add Vector2d classes that represent offsets, instead of using Point. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more vector use fixes Created 8 years, 1 month 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_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
7 7
8 #include "ui/aura/root_window_host.h" 8 #include "ui/aura/root_window_host.h"
9 #include "ui/views/views_export.h" 9 #include "ui/views/views_export.h"
10 #include "ui/views/widget/desktop_root_window_host.h" 10 #include "ui/views/widget/desktop_root_window_host.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 virtual void Restore() OVERRIDE; 68 virtual void Restore() OVERRIDE;
69 virtual bool IsMaximized() const OVERRIDE; 69 virtual bool IsMaximized() const OVERRIDE;
70 virtual bool IsMinimized() const OVERRIDE; 70 virtual bool IsMinimized() const OVERRIDE;
71 virtual bool HasCapture() const OVERRIDE; 71 virtual bool HasCapture() const OVERRIDE;
72 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; 72 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE;
73 virtual InputMethod* CreateInputMethod() OVERRIDE; 73 virtual InputMethod* CreateInputMethod() OVERRIDE;
74 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; 74 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE;
75 virtual void SetWindowTitle(const string16& title) OVERRIDE; 75 virtual void SetWindowTitle(const string16& title) OVERRIDE;
76 virtual void ClearNativeFocus() OVERRIDE; 76 virtual void ClearNativeFocus() OVERRIDE;
77 virtual Widget::MoveLoopResult RunMoveLoop( 77 virtual Widget::MoveLoopResult RunMoveLoop(
78 const gfx::Point& drag_offset) OVERRIDE; 78 const gfx::Vector2d& drag_offset) OVERRIDE;
79 virtual void EndMoveLoop() OVERRIDE; 79 virtual void EndMoveLoop() OVERRIDE;
80 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; 80 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE;
81 virtual bool ShouldUseNativeFrame() OVERRIDE; 81 virtual bool ShouldUseNativeFrame() OVERRIDE;
82 virtual void FrameTypeChanged() OVERRIDE; 82 virtual void FrameTypeChanged() OVERRIDE;
83 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; 83 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
84 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 84 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
85 virtual bool IsFullscreen() const OVERRIDE; 85 virtual bool IsFullscreen() const OVERRIDE;
86 virtual void SetOpacity(unsigned char opacity) OVERRIDE; 86 virtual void SetOpacity(unsigned char opacity) OVERRIDE;
87 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, 87 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
88 const gfx::ImageSkia& app_icon) OVERRIDE; 88 const gfx::ImageSkia& app_icon) OVERRIDE;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 // The RootWindow's CompoundEventFilter. 228 // The RootWindow's CompoundEventFilter.
229 aura::shared::CompoundEventFilter* root_window_event_filter_; 229 aura::shared::CompoundEventFilter* root_window_event_filter_;
230 230
231 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); 231 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin);
232 }; 232 };
233 233
234 } // namespace views 234 } // namespace views
235 235
236 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 236 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698