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

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

Issue 375183002: Add app.window.alphaEnabled() and onAlphaEnabledChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase Created 6 years, 5 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_WINDOW_TREE_HOST_X11_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 virtual bool IsFullscreen() const OVERRIDE; 139 virtual bool IsFullscreen() const OVERRIDE;
140 virtual void SetOpacity(unsigned char opacity) OVERRIDE; 140 virtual void SetOpacity(unsigned char opacity) OVERRIDE;
141 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, 141 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
142 const gfx::ImageSkia& app_icon) OVERRIDE; 142 const gfx::ImageSkia& app_icon) OVERRIDE;
143 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; 143 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE;
144 virtual void FlashFrame(bool flash_frame) OVERRIDE; 144 virtual void FlashFrame(bool flash_frame) OVERRIDE;
145 virtual void OnRootViewLayout() OVERRIDE; 145 virtual void OnRootViewLayout() OVERRIDE;
146 virtual void OnNativeWidgetFocus() OVERRIDE; 146 virtual void OnNativeWidgetFocus() OVERRIDE;
147 virtual void OnNativeWidgetBlur() OVERRIDE; 147 virtual void OnNativeWidgetBlur() OVERRIDE;
148 virtual bool IsAnimatingClosed() const OVERRIDE; 148 virtual bool IsAnimatingClosed() const OVERRIDE;
149 virtual bool IsTranslucentWindowOpacitySupported() const OVERRIDE;
149 150
150 // Overridden from aura::WindowTreeHost: 151 // Overridden from aura::WindowTreeHost:
151 virtual ui::EventSource* GetEventSource() OVERRIDE; 152 virtual ui::EventSource* GetEventSource() OVERRIDE;
152 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 153 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
153 virtual void Show() OVERRIDE; 154 virtual void Show() OVERRIDE;
154 virtual void Hide() OVERRIDE; 155 virtual void Hide() OVERRIDE;
155 virtual gfx::Rect GetBounds() const OVERRIDE; 156 virtual gfx::Rect GetBounds() const OVERRIDE;
156 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 157 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
157 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 158 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
158 virtual void SetCapture() OVERRIDE; 159 virtual void SetCapture() OVERRIDE;
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 bool urgency_hint_set_; 340 bool urgency_hint_set_;
340 341
341 base::CancelableCallback<void()> delayed_resize_task_; 342 base::CancelableCallback<void()> delayed_resize_task_;
342 343
343 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); 344 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11);
344 }; 345 };
345 346
346 } // namespace views 347 } // namespace views
347 348
348 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 349 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698