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

Side by Side Diff: ui/base/base_window.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
« no previous file with comments | « ui/aura/window_tree_host_x11.h ('k') | ui/base/clipboard/clipboard.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BASE_BASE_WINDOW_H_ 5 #ifndef UI_BASE_BASE_WINDOW_H_
6 #define UI_BASE_BASE_WINDOW_H_ 6 #define UI_BASE_BASE_WINDOW_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ui/base/ui_base_types.h" // WindowShowState 9 #include "ui/base/ui_base_types.h" // WindowShowState
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
11 11
12 namespace gfx { 12 namespace gfx {
13 class Rect; 13 class Rect;
14 } 14 }
15 15
16 class SkRegion;
17
18 namespace ui { 16 namespace ui {
19 17
20 // Provides an interface to perform actions on windows, and query window 18 // Provides an interface to perform actions on windows, and query window
21 // state. 19 // state.
22 class UI_BASE_EXPORT BaseWindow { 20 class UI_BASE_EXPORT BaseWindow {
23 public: 21 public:
24 // Returns true if the window is currently the active/focused window. 22 // Returns true if the window is currently the active/focused window.
25 virtual bool IsActive() const = 0; 23 virtual bool IsActive() const = 0;
26 24
27 // Returns true if the window is maximized (aka zoomed). 25 // Returns true if the window is maximized (aka zoomed).
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual bool IsAlwaysOnTop() const = 0; 88 virtual bool IsAlwaysOnTop() const = 0;
91 89
92 // If set to true, the window will stay on top of other windows which do not 90 // If set to true, the window will stay on top of other windows which do not
93 // have this flag enabled. 91 // have this flag enabled.
94 virtual void SetAlwaysOnTop(bool always_on_top) = 0; 92 virtual void SetAlwaysOnTop(bool always_on_top) = 0;
95 }; 93 };
96 94
97 } // namespace ui 95 } // namespace ui
98 96
99 #endif // UI_BASE_BASE_WINDOW_H_ 97 #endif // UI_BASE_BASE_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/aura/window_tree_host_x11.h ('k') | ui/base/clipboard/clipboard.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698