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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_root_window_host_x11.h

Issue 146363002: Linux Aura: Use system title bar is now set by preference, not flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build on Windows. Created 6 years, 10 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_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_
7 7
8 #include <X11/extensions/shape.h> 8 #include <X11/extensions/shape.h>
9 #include <X11/Xlib.h> 9 #include <X11/Xlib.h>
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 virtual bool IsAlwaysOnTop() const OVERRIDE; 110 virtual bool IsAlwaysOnTop() const OVERRIDE;
111 virtual bool SetWindowTitle(const base::string16& title) OVERRIDE; 111 virtual bool SetWindowTitle(const base::string16& title) OVERRIDE;
112 virtual void ClearNativeFocus() OVERRIDE; 112 virtual void ClearNativeFocus() OVERRIDE;
113 virtual Widget::MoveLoopResult RunMoveLoop( 113 virtual Widget::MoveLoopResult RunMoveLoop(
114 const gfx::Vector2d& drag_offset, 114 const gfx::Vector2d& drag_offset,
115 Widget::MoveLoopSource source, 115 Widget::MoveLoopSource source,
116 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE; 116 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE;
117 virtual void EndMoveLoop() OVERRIDE; 117 virtual void EndMoveLoop() OVERRIDE;
118 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; 118 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE;
119 virtual bool ShouldUseNativeFrame() OVERRIDE; 119 virtual bool ShouldUseNativeFrame() OVERRIDE;
120 virtual void FrameTypeChanged() OVERRIDE; 120 virtual void FrameTypeChanged(Widget::FrameType new_type) OVERRIDE;
121 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; 121 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
122 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 122 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
123 virtual bool IsFullscreen() const OVERRIDE; 123 virtual bool IsFullscreen() const OVERRIDE;
124 virtual void SetOpacity(unsigned char opacity) OVERRIDE; 124 virtual void SetOpacity(unsigned char opacity) OVERRIDE;
125 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, 125 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
126 const gfx::ImageSkia& app_icon) OVERRIDE; 126 const gfx::ImageSkia& app_icon) OVERRIDE;
127 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; 127 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE;
128 virtual void FlashFrame(bool flash_frame) OVERRIDE; 128 virtual void FlashFrame(bool flash_frame) OVERRIDE;
129 virtual void OnRootViewLayout() const OVERRIDE; 129 virtual void OnRootViewLayout() const OVERRIDE;
130 virtual void OnNativeWidgetFocus() OVERRIDE; 130 virtual void OnNativeWidgetFocus() OVERRIDE;
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 scoped_ptr<X11ScopedCapture> x11_capture_; 298 scoped_ptr<X11ScopedCapture> x11_capture_;
299 299
300 base::string16 window_title_; 300 base::string16 window_title_;
301 301
302 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); 302 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11);
303 }; 303 };
304 304
305 } // namespace views 305 } // namespace views
306 306
307 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ 307 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698