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

Side by Side Diff: chrome/common/chrome_notification_types.h

Issue 10388251: Support maximize window command. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "Use notification only when maximization happens asynchronously (OS Linux)." Created 8 years, 6 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
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 CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/public/browser/notification_types.h" 9 #include "content/public/browser/notification_types.h"
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // disallowing closing. This notification implies that no BROWSER_CLOSING or 47 // disallowing closing. This notification implies that no BROWSER_CLOSING or
48 // BROWSER_CLOSED notification will be sent. 48 // BROWSER_CLOSED notification will be sent.
49 // The source is a Source<Browser> containing the affected browser. No details 49 // The source is a Source<Browser> containing the affected browser. No details
50 // are expected. 50 // are expected.
51 NOTIFICATION_BROWSER_CLOSE_CANCELLED, 51 NOTIFICATION_BROWSER_CLOSE_CANCELLED,
52 52
53 // Indicates that a top window has been closed. The source is the HWND 53 // Indicates that a top window has been closed. The source is the HWND
54 // that was closed, no details are expected. 54 // that was closed, no details are expected.
55 NOTIFICATION_WINDOW_CLOSED, 55 NOTIFICATION_WINDOW_CLOSED,
56 56
57 // Indicates that the window has been maximized. The source is the
kkania 2012/06/01 04:14:03 #if defined(OS_LINUX)
zori 2012/06/02 01:20:54 Done.
58 // BrowserWindow that was maximized (only used on Linux, so currently
59 // BrowserWindowGtk), no details are expected.
kkania 2012/06/01 04:14:03 update and reword this comment
zori 2012/06/02 01:20:54 Done.
60 NOTIFICATION_BROWSER_WINDOW_MAXIMIZED,
61
57 // Sent when the language (English, French...) for a page has been detected. 62 // Sent when the language (English, French...) for a page has been detected.
58 // The details Details<std::string> contain the ISO 639-1 language code and 63 // The details Details<std::string> contain the ISO 639-1 language code and
59 // the source is Source<WebContents>. 64 // the source is Source<WebContents>.
60 NOTIFICATION_TAB_LANGUAGE_DETERMINED, 65 NOTIFICATION_TAB_LANGUAGE_DETERMINED,
61 66
62 // Sent when a page has been translated. The source is the tab for that page 67 // Sent when a page has been translated. The source is the tab for that page
63 // (Source<WebContents>) and the details are the language the page was 68 // (Source<WebContents>) and the details are the language the page was
64 // originally in and the language it was translated to 69 // originally in and the language it was translated to
65 // (std::pair<std::string, std::string>). 70 // (std::pair<std::string, std::string>).
66 NOTIFICATION_PAGE_TRANSLATED, 71 NOTIFICATION_PAGE_TRANSLATED,
(...skipping 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 // Currently only Content and Chrome define and use notifications. 1121 // Currently only Content and Chrome define and use notifications.
1117 // Custom notifications not belonging to Content and Chrome should start 1122 // Custom notifications not belonging to Content and Chrome should start
1118 // from here. 1123 // from here.
1119 NOTIFICATION_CHROME_END, 1124 NOTIFICATION_CHROME_END,
1120 }; 1125 };
1121 1126
1122 } // namespace chrome 1127 } // namespace chrome
1123 1128
1124 1129
1125 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1130 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698