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

Side by Side Diff: ui/views/widget/desktop_root_window_host.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_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_H_
7 7
8 #include "ui/base/ui_base_types.h" 8 #include "ui/base/ui_base_types.h"
9 #include "ui/views/views_export.h" 9 #include "ui/views/views_export.h"
10 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 virtual void SetAlwaysOnTop(bool always_on_top) = 0; 76 virtual void SetAlwaysOnTop(bool always_on_top) = 0;
77 77
78 virtual InputMethod* CreateInputMethod() = 0; 78 virtual InputMethod* CreateInputMethod() = 0;
79 virtual internal::InputMethodDelegate* GetInputMethodDelegate() = 0; 79 virtual internal::InputMethodDelegate* GetInputMethodDelegate() = 0;
80 80
81 virtual void SetWindowTitle(const string16& title) = 0; 81 virtual void SetWindowTitle(const string16& title) = 0;
82 82
83 virtual void ClearNativeFocus() = 0; 83 virtual void ClearNativeFocus() = 0;
84 84
85 virtual Widget::MoveLoopResult RunMoveLoop(const gfx::Point& drag_offset) = 0; 85 virtual Widget::MoveLoopResult RunMoveLoop(
86 const gfx::Vector2d& drag_offset) = 0;
86 virtual void EndMoveLoop() = 0; 87 virtual void EndMoveLoop() = 0;
87 88
88 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0; 89 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0;
89 90
90 virtual bool ShouldUseNativeFrame() = 0; 91 virtual bool ShouldUseNativeFrame() = 0;
91 virtual void FrameTypeChanged() = 0; 92 virtual void FrameTypeChanged() = 0;
92 virtual NonClientFrameView* CreateNonClientFrameView() = 0; 93 virtual NonClientFrameView* CreateNonClientFrameView() = 0;
93 94
94 virtual void SetFullscreen(bool fullscreen) = 0; 95 virtual void SetFullscreen(bool fullscreen) = 0;
95 virtual bool IsFullscreen() const = 0; 96 virtual bool IsFullscreen() const = 0;
(...skipping 13 matching lines...) Expand all
109 110
110 // Called when the DesktopNativeWidgetAura's aura::Window is focused and 111 // Called when the DesktopNativeWidgetAura's aura::Window is focused and
111 // blurred. 112 // blurred.
112 virtual void OnNativeWidgetFocus() = 0; 113 virtual void OnNativeWidgetFocus() = 0;
113 virtual void OnNativeWidgetBlur() = 0; 114 virtual void OnNativeWidgetBlur() = 0;
114 }; 115 };
115 116
116 } // namespace views 117 } // namespace views
117 118
118 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_H_ 119 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698