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

Side by Side Diff: ui/views/widget/desktop_root_window_host_linux.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_LINUX_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_
7 7
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 9
10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. 10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; 85 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE;
86 virtual void SetWindowTitle(const string16& title) OVERRIDE; 86 virtual void SetWindowTitle(const string16& title) OVERRIDE;
87 virtual void ClearNativeFocus() OVERRIDE; 87 virtual void ClearNativeFocus() OVERRIDE;
88 virtual Widget::MoveLoopResult RunMoveLoop( 88 virtual Widget::MoveLoopResult RunMoveLoop(
89 const gfx::Point& drag_offset) OVERRIDE; 89 const gfx::Point& drag_offset) OVERRIDE;
90 virtual void EndMoveLoop() OVERRIDE; 90 virtual void EndMoveLoop() OVERRIDE;
91 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; 91 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE;
92 virtual bool ShouldUseNativeFrame() OVERRIDE; 92 virtual bool ShouldUseNativeFrame() OVERRIDE;
93 virtual void FrameTypeChanged() OVERRIDE; 93 virtual void FrameTypeChanged() OVERRIDE;
94 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; 94 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
95 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
96 virtual bool IsFullscreen() const OVERRIDE;
97 virtual void SetOpacity(unsigned char opacity) OVERRIDE;
98 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
99 const gfx::ImageSkia& app_icon) OVERRIDE;
100 virtual void SetAccessibleName(const string16& name) OVERRIDE;
101 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE;
102 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE;
103 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE;
104 virtual void FlashFrame(bool flash_frame) OVERRIDE;
95 105
96 // Overridden from aura::RootWindowHost: 106 // Overridden from aura::RootWindowHost:
97 virtual aura::RootWindow* GetRootWindow() OVERRIDE; 107 virtual aura::RootWindow* GetRootWindow() OVERRIDE;
98 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 108 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
99 virtual void Show() OVERRIDE; 109 virtual void Show() OVERRIDE;
100 virtual void Hide() OVERRIDE; 110 virtual void Hide() OVERRIDE;
101 virtual void ToggleFullScreen() OVERRIDE; 111 virtual void ToggleFullScreen() OVERRIDE;
102 virtual gfx::Rect GetBounds() const OVERRIDE; 112 virtual gfx::Rect GetBounds() const OVERRIDE;
103 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 113 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
104 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 114 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 165
156 aura::RootWindowHostDelegate* root_window_host_delegate_; 166 aura::RootWindowHostDelegate* root_window_host_delegate_;
157 aura::Window* content_window_; 167 aura::Window* content_window_;
158 168
159 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux); 169 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux);
160 }; 170 };
161 171
162 } // namespace views 172 } // namespace views
163 173
164 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ 174 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_root_window_host.h ('k') | ui/views/widget/desktop_root_window_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698