summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/chromeos/wm_ipc.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/wm_ipc.h b/chrome/browser/chromeos/wm_ipc.h
index 0cf997f..5a8b826 100644
--- a/chrome/browser/chromeos/wm_ipc.h
+++ b/chrome/browser/chromeos/wm_ipc.h
@@ -74,6 +74,40 @@ class WmIpc {
// centering them over their owner and omit drawing a drop shadow.
WINDOW_TYPE_CHROME_INFO_BUBBLE,
+ // A window showing a view of a tab within a Chrome window.
+ // param[0]: X ID of toplevel window that owns it.
+ // param[1]: index of this tab in the tab order (range is 0 to
+ // sum of all tabs in all browsers).
+ WINDOW_TYPE_CHROME_TAB_SNAPSHOT,
+
+ // The following types are used for the windows that represent a user that
+ // has already logged into the system.
+ //
+ // Visually the BORDER contains the IMAGE and CONTROLS windows, the LABEL
+ // and UNSELECTED_LABEL are placed beneath the BORDER. The LABEL window is
+ // onscreen when the user is selected, otherwise the UNSELECTED_LABEL is
+ // on screen. The GUEST window is used when the user clicks on the entry
+ // that represents the 'guest' user.
+ //
+ // The following parameters are set for these windows (except GUEST and
+ // BACKGROUND):
+ // param[0]: the visual index of the user the window corresponds to.
+ // For example, all windows with an index of 0 occur first,
+ // followed by windows with an index of 1...
+ //
+ // The following additional params are set on the first BORDER window
+ // (BORDER window whose param[0] == 0).
+ // param[1]: the total number of users.
+ // param[2]: size of the unselected image.
+ // param[3]: gap between image and controls.
+ WINDOW_TYPE_LOGIN_BORDER,
+ WINDOW_TYPE_LOGIN_IMAGE,
+ WINDOW_TYPE_LOGIN_CONTROLS,
+ WINDOW_TYPE_LOGIN_LABEL,
+ WINDOW_TYPE_LOGIN_UNSELECTED_LABEL,
+ WINDOW_TYPE_LOGIN_GUEST,
+ WINDOW_TYPE_LOGIN_BACKGROUND,
+
kNumWindowTypes,
};
@@ -184,6 +218,27 @@ class WmIpc {
// param[0]: version of this protocol currently supported
WM_NOTIFY_IPC_VERSION,
+ // Notify Chrome when a tab snapshot has been 'magnified' in the
+ // overview. Sent to the top level window.
+ // param[0]: X ID of the tab snapshot window
+ // param[1]: state (0 means end magnify, 1 means begin magnify)
+ CHROME_NOTIFY_TAB_SNAPSHOT_MAGNIFY,
+
+ // Forces the window manager to hide the login windows.
+ WM_HIDE_LOGIN,
+
+ // Sets whether login is enabled. If true the user can click on any of the
+ // login windows to select one, if false clicks on unselected windows are
+ // ignored. This is used when the user attempts a login to make sure the
+ // user doesn't select another user.
+ //
+ // param[0]: true to enable, false to disable.
+ WM_SET_LOGIN_STATE,
+
+ // Notify chrome when the guest entry is selected and the guest window
+ // hasn't been created yet.
+ CHROME_CREATE_GUEST_WINDOW,
+
kNumTypes,
};