webappmanager
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SystemUiController.h
Go to the documentation of this file.
1
/* @@@LICENSE
2
*
3
* Copyright (c) 2008-2012 Hewlett-Packard Development Company, L.P.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
* LICENSE@@@ */
18
19
20
21
22
#ifndef SYSTEMUICONTROLLER_H
23
#define SYSTEMUICONTROLLER_H
24
25
class
SystemUiController
26
{
27
public
:
28
// The order of the layers below defines their priorities in terms of direct rendering
29
enum
DirectRenderingEnabledLayers
30
{
31
DISABLE_ALL_DIRECT_RENDERING
= 0,
// virtual layer used to temporarily completely disable direct rendering
32
DOCK_MODE_WINDOW_MANAGER
,
33
TOP_LEVEL_WINDOW_MANAGER
,
34
EMERGENCY_MODE_WINDOW_MANAGER
,
// Temporarily demoted Emergency Mode WM in Dartfish (it is being used for Flash full screen)
35
OVERLAY_WINDOW_MANAGER
,
36
CARD_WINDOW_MANAGER
,
37
NUMBER_OF_LAYERS
38
};
39
40
enum
ModalWinLaunchErrorReason
{
41
LaunchUnknown
= -1,
42
NoErr
= 0,
43
MalformedRequest
,
44
NoMaximizedCard
,
45
ParentDifferent
,
46
AnotherModalActive
,
47
AppToLaunchDoesntExist
,
48
AppToLaunchIsntReady
,
49
//AppToLaunchIsNotHeadless,
50
AnotherInstanceAlreadyRunning
,
51
MissingAppDescriptor
,
52
MissingProcessId
,
53
InternalError
,
54
LaunchErrorMax
55
};
56
57
enum
ModalWinDismissErrorReason
{
58
DismissUnknown
= (
LaunchErrorMax
+1),
59
HomeButtonPressed
,
60
ServiceDismissedModalCard
,
61
ParentCardDismissed
,
62
ActiveCardsSwitched
,
63
UiMinimized
,
64
};
65
enum
LauncherOperations
66
{
67
LAUNCHEROP_ADDCARD
,
68
LAUNCHEROP_REORDER
,
69
LAUNCHEROP_DELETECARD
,
70
LAUNCHEROP_INVOKERENAMECARD
,
71
LAUNCHEROP_UNKNOWN
//keep this as the last one
72
};
73
74
enum
LauncherActions
75
{
76
LAUNCHERACT_MENUACTIVE
,
77
LAUNCHERACT_INFOACTIVE
,
78
LAUNCHERACT_EDITINGCARDTITLE
,
79
LAUNCHERACT_DBG_ACTIVATE_SCREEN_GRID
,
80
LAUNCHERACT_DBG_DEACTIVATE_SCREEN_GRID
,
81
};
82
};
83
84
85
#endif
/* SYSTEMUICONTROLLER_H */
webappmanager
Src
base
SystemUiController.h
Generated on Fri Jun 21 2013 00:58:21 for webappmanager by
1.8.3.1