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

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: |BrowserWindow| (gtk and cocoa) will notify when a window is maximized. 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 window
kkania 2012/05/30 01:03:58 window -> BrowserWindow
zori 2012/05/31 23:38:22 Done.
58 // that was maximized, no details are expected.
59 NOTIFICATION_WINDOW_MAXIMIZED,
kkania 2012/05/30 01:03:58 I think NOTIFICATION_BROWSER_WINDOW_MAXIMIZED woul
zori 2012/05/31 23:38:22 Done.
60
57 // Sent when the language (English, French...) for a page has been detected. 61 // 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 62 // The details Details<std::string> contain the ISO 639-1 language code and
59 // the source is Source<WebContents>. 63 // the source is Source<WebContents>.
60 NOTIFICATION_TAB_LANGUAGE_DETERMINED, 64 NOTIFICATION_TAB_LANGUAGE_DETERMINED,
61 65
62 // Sent when a page has been translated. The source is the tab for that page 66 // 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 67 // (Source<WebContents>) and the details are the language the page was
64 // originally in and the language it was translated to 68 // originally in and the language it was translated to
65 // (std::pair<std::string, std::string>). 69 // (std::pair<std::string, std::string>).
66 NOTIFICATION_PAGE_TRANSLATED, 70 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. 1120 // Currently only Content and Chrome define and use notifications.
1117 // Custom notifications not belonging to Content and Chrome should start 1121 // Custom notifications not belonging to Content and Chrome should start
1118 // from here. 1122 // from here.
1119 NOTIFICATION_CHROME_END, 1123 NOTIFICATION_CHROME_END,
1120 }; 1124 };
1121 1125
1122 } // namespace chrome 1126 } // namespace chrome
1123 1127
1124 1128
1125 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1129 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698