summaryrefslogtreecommitdiffstats
path: root/chrome/app/chrome_dll.rc
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-23 17:37:01 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-23 17:37:01 +0000
commitb7ea1bbd496aa5f4be2b0f557da9db36d7aecd4d (patch)
tree8b9656aacd50ad174ed6799f1624153edb837305 /chrome/app/chrome_dll.rc
parent24345572cf23b3f14651e2e15512ca17d7fa3612 (diff)
downloadchromium_src-b7ea1bbd496aa5f4be2b0f557da9db36d7aecd4d.zip
chromium_src-b7ea1bbd496aa5f4be2b0f557da9db36d7aecd4d.tar.gz
chromium_src-b7ea1bbd496aa5f4be2b0f557da9db36d7aecd4d.tar.bz2
Copy remoting notification bar to chrome and use it for screen capture API.
Chrome must show notification bar when screen capture API is used to capture the screen. This CL reuses the notification bar that's currently used by remoting host (see src/remoting/host/disconnect_window*). The new files are mostly copy of the existing code in remoting (except different names). The plan is to keep it temporarily and replace it with something better before the API is enabled for everybody. BUG=190156 Review URL: https://chromiumcodereview.appspot.com/12453019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190041 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/chrome_dll.rc')
-rw-r--r--chrome/app/chrome_dll.rc11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/app/chrome_dll.rc b/chrome/app/chrome_dll.rc
index 21d1df4..bc0f7313e 100644
--- a/chrome/app/chrome_dll.rc
+++ b/chrome/app/chrome_dll.rc
@@ -225,6 +225,17 @@ BEGIN
PUSHBUTTON "None",IDC_MessagesNone,121,7,56,13
END
+IDD_SCREEN_CAPTURE_NOTIFICATION DIALOGEX 0, 0, 145, 24
+STYLE DS_SETFONT | WS_POPUP
+EXSTYLE WS_EX_TOPMOST | WS_EX_TOOLWINDOW
+FONT 9, "Microsoft Sans Serif", 400, 0, 0x0
+BEGIN
+ DEFPUSHBUTTON "kDisconnectButton",IDC_SCREEN_CAPTURE_STOP,68,5,70,14
+ LTEXT "kSharingWith",IDC_SCREEN_CAPTURE_TEXT,18,7,43,8
+ CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT,6,6,1,12
+ CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT,8,6,1,12
+END
+
/////////////////////////////////////////////////////////////////////////////
//