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

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: RenderText fixup 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual void Restore() OVERRIDE; 71 virtual void Restore() OVERRIDE;
72 virtual bool IsMaximized() const OVERRIDE; 72 virtual bool IsMaximized() const OVERRIDE;
73 virtual bool IsMinimized() const OVERRIDE; 73 virtual bool IsMinimized() const OVERRIDE;
74 virtual bool HasCapture() const OVERRIDE; 74 virtual bool HasCapture() const OVERRIDE;
75 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; 75 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE;
76 virtual InputMethod* CreateInputMethod() OVERRIDE; 76 virtual InputMethod* CreateInputMethod() OVERRIDE;
77 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; 77 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE;
78 virtual void SetWindowTitle(const string16& title) OVERRIDE; 78 virtual void SetWindowTitle(const string16& title) OVERRIDE;
79 virtual void ClearNativeFocus() OVERRIDE; 79 virtual void ClearNativeFocus() OVERRIDE;
80 virtual Widget::MoveLoopResult RunMoveLoop( 80 virtual Widget::MoveLoopResult RunMoveLoop(
81 const gfx::Point& drag_offset) OVERRIDE; 81 const gfx::Vector2d& drag_offset) OVERRIDE;
82 virtual void EndMoveLoop() OVERRIDE; 82 virtual void EndMoveLoop() OVERRIDE;
83 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; 83 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE;
84 virtual bool ShouldUseNativeFrame() OVERRIDE; 84 virtual bool ShouldUseNativeFrame() OVERRIDE;
85 virtual void FrameTypeChanged() OVERRIDE; 85 virtual void FrameTypeChanged() OVERRIDE;
86 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; 86 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
87 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 87 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
88 virtual bool IsFullscreen() const OVERRIDE; 88 virtual bool IsFullscreen() const OVERRIDE;
89 virtual void SetOpacity(unsigned char opacity) OVERRIDE; 89 virtual void SetOpacity(unsigned char opacity) OVERRIDE;
90 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, 90 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
91 const gfx::ImageSkia& app_icon) OVERRIDE; 91 const gfx::ImageSkia& app_icon) OVERRIDE;
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 233
234 // The RootWindow's CompoundEventFilter. 234 // The RootWindow's CompoundEventFilter.
235 aura::shared::CompoundEventFilter* root_window_event_filter_; 235 aura::shared::CompoundEventFilter* root_window_event_filter_;
236 236
237 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); 237 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin);
238 }; 238 };
239 239
240 } // namespace views 240 } // namespace views
241 241
242 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 242 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698