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

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

Issue 93863005: ui: Rename ui_export.h to ui_base_export.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: UI_BASE_IMPLEMENTATION Created 6 years, 11 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
« no previous file with comments | « ui/base/android/window_android_observer.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; 16 class SkRegion;
17 17
18 namespace ui { 18 namespace ui {
19 19
20 // Provides an interface to perform actions on windows, and query window 20 // Provides an interface to perform actions on windows, and query window
21 // state. 21 // state.
22 class UI_EXPORT BaseWindow { 22 class UI_BASE_EXPORT BaseWindow {
23 public: 23 public:
24 // Returns true if the window is currently the active/focused window. 24 // Returns true if the window is currently the active/focused window.
25 virtual bool IsActive() const = 0; 25 virtual bool IsActive() const = 0;
26 26
27 // Returns true if the window is maximized (aka zoomed). 27 // Returns true if the window is maximized (aka zoomed).
28 virtual bool IsMaximized() const = 0; 28 virtual bool IsMaximized() const = 0;
29 29
30 // Returns true if the window is minimized. 30 // Returns true if the window is minimized.
31 virtual bool IsMinimized() const = 0; 31 virtual bool IsMinimized() const = 0;
32 32
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual bool IsAlwaysOnTop() const = 0; 90 virtual bool IsAlwaysOnTop() const = 0;
91 91
92 // If set to true, the window will stay on top of other windows which do not 92 // If set to true, the window will stay on top of other windows which do not
93 // have this flag enabled. 93 // have this flag enabled.
94 virtual void SetAlwaysOnTop(bool always_on_top) = 0; 94 virtual void SetAlwaysOnTop(bool always_on_top) = 0;
95 }; 95 };
96 96
97 } // namespace ui 97 } // namespace ui
98 98
99 #endif // UI_BASE_BASE_WINDOW_H_ 99 #endif // UI_BASE_BASE_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/base/android/window_android_observer.h ('k') | ui/base/clipboard/clipboard.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698