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

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

Issue 10958005: Trivial plumbing of some methods from DesktopNativeWidgetAura to DesktopRootWindowHost. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 3 months 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/widget/widget.h" 9 #include "ui/views/widget/widget.h"
10 10
11 namespace aura { 11 namespace aura {
12 class RootWindowHost; 12 class RootWindowHost;
13 class Window; 13 class Window;
14 } 14 }
15 15
16 namespace gfx { 16 namespace gfx {
17 class ImageSkia;
17 class Rect; 18 class Rect;
18 } 19 }
19 20
20 namespace views { 21 namespace views {
21 namespace internal { 22 namespace internal {
22 class InputMethodDelegate; 23 class InputMethodDelegate;
23 class NativeWidgetDelegate; 24 class NativeWidgetDelegate;
24 } 25 }
25 26
26 class DesktopRootWindowHost { 27 class DesktopRootWindowHost {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 virtual void ClearNativeFocus() = 0; 78 virtual void ClearNativeFocus() = 0;
78 79
79 virtual Widget::MoveLoopResult RunMoveLoop(const gfx::Point& drag_offset) = 0; 80 virtual Widget::MoveLoopResult RunMoveLoop(const gfx::Point& drag_offset) = 0;
80 virtual void EndMoveLoop() = 0; 81 virtual void EndMoveLoop() = 0;
81 82
82 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0; 83 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0;
83 84
84 virtual bool ShouldUseNativeFrame() = 0; 85 virtual bool ShouldUseNativeFrame() = 0;
85 virtual void FrameTypeChanged() = 0; 86 virtual void FrameTypeChanged() = 0;
86 virtual NonClientFrameView* CreateNonClientFrameView() = 0; 87 virtual NonClientFrameView* CreateNonClientFrameView() = 0;
88
89 virtual void SetFullscreen(bool fullscreen) = 0;
90 virtual bool IsFullscreen() const = 0;
91
92 virtual void SetOpacity(unsigned char opacity) = 0;
93
94 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
95 const gfx::ImageSkia& app_icon) = 0;
96
97 virtual void SetAccessibleName(const string16& name) = 0;
98 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) = 0;
99 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) = 0;
100
101 virtual void InitModalType(ui::ModalType modal_type) = 0;
102
103 virtual void FlashFrame(bool flash_frame) = 0;
104
87 }; 105 };
88 106
89 } // namespace views 107 } // namespace views
90 108
91 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_H_ 109 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_native_widget_aura.cc ('k') | ui/views/widget/desktop_root_window_host_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698