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

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

Issue 2700523004: Remove docked windows entirely in M59. (Closed)
Patch Set: Rebase Created 3 years, 9 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_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 int OnDragUpdated(const ui::DropTargetEvent& event) override; 197 int OnDragUpdated(const ui::DropTargetEvent& event) override;
198 void OnDragExited() override; 198 void OnDragExited() override;
199 int OnPerformDrop(const ui::DropTargetEvent& event) override; 199 int OnPerformDrop(const ui::DropTargetEvent& event) override;
200 200
201 protected: 201 protected:
202 ~NativeWidgetAura() override; 202 ~NativeWidgetAura() override;
203 203
204 internal::NativeWidgetDelegate* delegate() { return delegate_; } 204 internal::NativeWidgetDelegate* delegate() { return delegate_; }
205 205
206 private: 206 private:
207 bool IsDocked() const;
208 void SetInitialFocus(ui::WindowShowState show_state); 207 void SetInitialFocus(ui::WindowShowState show_state);
209 208
210 internal::NativeWidgetDelegate* delegate_; 209 internal::NativeWidgetDelegate* delegate_;
211 210
212 // True if the Widget is created in the window-manager and another client is 211 // True if the Widget is created in the window-manager and another client is
213 // embedded in it. When true certain operations are not performed. 212 // embedded in it. When true certain operations are not performed.
214 const bool is_parallel_widget_in_window_manager_; 213 const bool is_parallel_widget_in_window_manager_;
215 214
216 // WARNING: set to NULL when destroyed. As the Widget is not necessarily 215 // WARNING: set to NULL when destroyed. As the Widget is not necessarily
217 // destroyed along with |window_| all usage of |window_| should first verify 216 // destroyed along with |window_| all usage of |window_| should first verify
(...skipping 23 matching lines...) Expand all
241 // The following factory is used for calls to close the NativeWidgetAura 240 // The following factory is used for calls to close the NativeWidgetAura
242 // instance. 241 // instance.
243 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; 242 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_;
244 243
245 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 244 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
246 }; 245 };
247 246
248 } // namespace views 247 } // namespace views
249 248
250 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 249 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698