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

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

Issue 1135693006: Fix X11DesktopHandler::ActivateWindow on Unity for known user gestures Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_NATIVE_WIDGET_MAC_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_
7 7
8 #include "ui/gfx/native_widget_types.h" 8 #include "ui/gfx/native_widget_types.h"
9 #include "ui/views/widget/native_widget_private.h" 9 #include "ui/views/widget/native_widget_private.h"
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 void StackBelow(gfx::NativeView native_view) override; 72 void StackBelow(gfx::NativeView native_view) override;
73 void SetShape(gfx::NativeRegion shape) override; 73 void SetShape(gfx::NativeRegion shape) override;
74 void Close() override; 74 void Close() override;
75 void CloseNow() override; 75 void CloseNow() override;
76 void Show() override; 76 void Show() override;
77 void Hide() override; 77 void Hide() override;
78 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; 78 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override;
79 void ShowWithWindowState(ui::WindowShowState state) override; 79 void ShowWithWindowState(ui::WindowShowState state) override;
80 bool IsVisible() const override; 80 bool IsVisible() const override;
81 void Activate() override; 81 void Activate() override;
82 void ActivateForUserGesture() override;
82 void Deactivate() override; 83 void Deactivate() override;
83 bool IsActive() const override; 84 bool IsActive() const override;
84 void SetAlwaysOnTop(bool always_on_top) override; 85 void SetAlwaysOnTop(bool always_on_top) override;
85 bool IsAlwaysOnTop() const override; 86 bool IsAlwaysOnTop() const override;
86 void SetVisibleOnAllWorkspaces(bool always_visible) override; 87 void SetVisibleOnAllWorkspaces(bool always_visible) override;
87 void Maximize() override; 88 void Maximize() override;
88 void Minimize() override; 89 void Minimize() override;
89 bool IsMaximized() const override; 90 bool IsMaximized() const override;
90 bool IsMinimized() const override; 91 bool IsMinimized() const override;
91 void Restore() override; 92 void Restore() override;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 scoped_ptr<BridgedNativeWidget> bridge_; 134 scoped_ptr<BridgedNativeWidget> bridge_;
134 135
135 Widget::InitParams::Ownership ownership_; 136 Widget::InitParams::Ownership ownership_;
136 137
137 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac); 138 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac);
138 }; 139 };
139 140
140 } // namespace views 141 } // namespace views
141 142
142 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ 143 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698