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

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

Issue 2276153002: Removal of unnecessary views:: and fix comment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <X11/extensions/shape.h> 10 #include <X11/extensions/shape.h>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 gfx::Rect GetX11RootWindowOuterBounds() const; 69 gfx::Rect GetX11RootWindowOuterBounds() const;
70 70
71 // Returns the window shape if the window is not rectangular. Returns NULL 71 // Returns the window shape if the window is not rectangular. Returns NULL
72 // otherwise. 72 // otherwise.
73 ::Region GetWindowShape() const; 73 ::Region GetWindowShape() const;
74 74
75 // Called by X11DesktopHandler to notify us that the native windowing system 75 // Called by X11DesktopHandler to notify us that the native windowing system
76 // has changed our activation. 76 // has changed our activation.
77 void HandleNativeWidgetActivationChanged(bool active); 77 void HandleNativeWidgetActivationChanged(bool active);
78 78
79 void AddObserver(views::DesktopWindowTreeHostObserverX11* observer); 79 void AddObserver(DesktopWindowTreeHostObserverX11* observer);
80 void RemoveObserver(views::DesktopWindowTreeHostObserverX11* observer); 80 void RemoveObserver(DesktopWindowTreeHostObserverX11* observer);
81 81
82 // Swaps the current handler for events in the non client view with |handler|. 82 // Swaps the current handler for events in the non client view with |handler|.
83 void SwapNonClientEventHandler(std::unique_ptr<ui::EventHandler> handler); 83 void SwapNonClientEventHandler(std::unique_ptr<ui::EventHandler> handler);
84 84
85 // Runs the |func| callback for each content-window, and deallocates the 85 // Runs the |func| callback for each content-window, and deallocates the
86 // internal list of open windows. 86 // internal list of open windows.
87 static void CleanUpWindowList(void (*func)(aura::Window* window)); 87 static void CleanUpWindowList(void (*func)(aura::Window* window));
88 88
89 protected: 89 protected:
90 // Overridden from DesktopWindowTreeHost: 90 // Overridden from DesktopWindowTreeHost:
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 base::CancelableCallback<void()> delayed_resize_task_; 361 base::CancelableCallback<void()> delayed_resize_task_;
362 362
363 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; 363 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_;
364 364
365 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); 365 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11);
366 }; 366 };
367 367
368 } // namespace views 368 } // namespace views
369 369
370 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 370 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
OLDNEW
« no previous file with comments | « ui/aura/client/capture_client.h ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698