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

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

Issue 150062: [chromium-reviews] Add getLanguage function to tabs extension (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_NOTIFICATION_TYPE_H_ 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_
6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_
7 7
8 // This file describes various types used to describe and filter notifications 8 // This file describes various types used to describe and filter notifications
9 // that pass through the NotificationService. 9 // that pass through the NotificationService.
10 // 10 //
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 ALL_APPWINDOWS_CLOSED, 197 ALL_APPWINDOWS_CLOSED,
198 198
199 // Indicates that a top window has been closed. The source is the HWND 199 // Indicates that a top window has been closed. The source is the HWND
200 // that was closed, no details are expected. 200 // that was closed, no details are expected.
201 WINDOW_CLOSED, 201 WINDOW_CLOSED,
202 202
203 // Sent when an info bubble has been created but not yet shown. The source 203 // Sent when an info bubble has been created but not yet shown. The source
204 // is the InfoBubble. 204 // is the InfoBubble.
205 INFO_BUBBLE_CREATED, 205 INFO_BUBBLE_CREATED,
206 206
207 // Sent after a call to RenderViewHost::DeterminePageLanguage. The details
208 // are Details<std::string> and the source is Source<RenderViewHost>.
209 TAB_LANGUAGE_DETERMINED,
210
207 // The user has changed the browser theme. 211 // The user has changed the browser theme.
208 BROWSER_THEME_CHANGED, 212 BROWSER_THEME_CHANGED,
209 213
210 // Fired when the active window changes. This is currently only used on 214 // Fired when the active window changes. This is currently only used on
211 // Linux. 215 // Linux.
212 ACTIVE_WINDOW_CHANGED, 216 ACTIVE_WINDOW_CHANGED,
213 217
214 // Tabs -------------------------------------------------------------------- 218 // Tabs --------------------------------------------------------------------
215 219
216 // This notification is sent after a tab has been appended to the 220 // This notification is sent after a tab has been appended to the
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 }; 622 };
619 623
620 inline bool operator==(NotificationType::Type a, NotificationType b) { 624 inline bool operator==(NotificationType::Type a, NotificationType b) {
621 return a == b.value; 625 return a == b.value;
622 } 626 }
623 inline bool operator!=(NotificationType::Type a, NotificationType b) { 627 inline bool operator!=(NotificationType::Type a, NotificationType b) {
624 return a != b.value; 628 return a != b.value;
625 } 629 }
626 630
627 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 631 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698