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

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

Issue 16206002: Add more support for FreeBSD (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years, 3 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/public/browser/notification_types.h" 9 #include "content/public/browser/notification_types.h"
10 10
(...skipping 29 matching lines...) Expand all
40 // disallowing closing. This notification implies that no BROWSER_CLOSING or 40 // disallowing closing. This notification implies that no BROWSER_CLOSING or
41 // BROWSER_CLOSED notification will be sent. 41 // BROWSER_CLOSED notification will be sent.
42 // The source is a Source<Browser> containing the affected browser. No details 42 // The source is a Source<Browser> containing the affected browser. No details
43 // are expected. 43 // are expected.
44 NOTIFICATION_BROWSER_CLOSE_CANCELLED, 44 NOTIFICATION_BROWSER_CLOSE_CANCELLED,
45 45
46 // Indicates that a top window has been closed. The source is the HWND 46 // Indicates that a top window has been closed. The source is the HWND
47 // that was closed, no details are expected. 47 // that was closed, no details are expected.
48 NOTIFICATION_WINDOW_CLOSED, 48 NOTIFICATION_WINDOW_CLOSED,
49 49
50 #if defined(OS_LINUX) 50 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
51 // On Linux maximize can be an asynchronous operation. This notification 51 // On Linux maximize can be an asynchronous operation. This notification
52 // indicates that the window has been maximized. The source is 52 // indicates that the window has been maximized. The source is
53 // a Source<BrowserWindow> containing the BrowserWindow that was maximized. 53 // a Source<BrowserWindow> containing the BrowserWindow that was maximized.
54 // No details are expected. 54 // No details are expected.
55 NOTIFICATION_BROWSER_WINDOW_MAXIMIZED, 55 NOTIFICATION_BROWSER_WINDOW_MAXIMIZED,
56 #endif // defined(OS_LINUX) 56 #endif
57 57
58 // Sent when the language (English, French...) for a page has been detected. 58 // Sent when the language (English, French...) for a page has been detected.
59 // The details Details<std::string> contain the ISO 639-1 language code and 59 // The details Details<std::string> contain the ISO 639-1 language code and
60 // the source is Source<WebContents>. 60 // the source is Source<WebContents>.
61 NOTIFICATION_TAB_LANGUAGE_DETERMINED, 61 NOTIFICATION_TAB_LANGUAGE_DETERMINED,
62 62
63 // Sent when a page has been translated. The source is the tab for that page 63 // Sent when a page has been translated. The source is the tab for that page
64 // (Source<WebContents>) and the details are the language the page was 64 // (Source<WebContents>) and the details are the language the page was
65 // originally in and the language it was translated to 65 // originally in and the language it was translated to
66 // (std::pair<std::string, std::string>). 66 // (std::pair<std::string, std::string>).
(...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 // Note:- 1063 // Note:-
1064 // Currently only Content and Chrome define and use notifications. 1064 // Currently only Content and Chrome define and use notifications.
1065 // Custom notifications not belonging to Content and Chrome should start 1065 // Custom notifications not belonging to Content and Chrome should start
1066 // from here. 1066 // from here.
1067 NOTIFICATION_CHROME_END, 1067 NOTIFICATION_CHROME_END,
1068 }; 1068 };
1069 1069
1070 } // namespace chrome 1070 } // namespace chrome
1071 1071
1072 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ 1072 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698