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

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

Issue 6693054: Get rid of extensions dependency from content\browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
« no previous file with comments | « content/browser/webui/web_ui_factory.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_COMMON_NOTIFICATION_TYPE_H_ 5 #ifndef CONTENT_COMMON_NOTIFICATION_TYPE_H_
6 #define CONTENT_COMMON_NOTIFICATION_TYPE_H_ 6 #define CONTENT_COMMON_NOTIFICATION_TYPE_H_
7 #pragma once 7 #pragma once
8 8
9 // This file describes various types used to describe and filter notifications 9 // This file describes various types used to describe and filter notifications
10 // that pass through the NotificationService. 10 // that pass through the NotificationService.
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 // to switching away from this tab. The source is a Source<TabContents>. 392 // to switching away from this tab. The source is a Source<TabContents>.
393 TAB_CONTENTS_HIDDEN, 393 TAB_CONTENTS_HIDDEN,
394 394
395 // This notification is sent when a TabContents is being destroyed. Any 395 // This notification is sent when a TabContents is being destroyed. Any
396 // object holding a reference to a TabContents can listen to that 396 // object holding a reference to a TabContents can listen to that
397 // notification to properly reset the reference. The source is a 397 // notification to properly reset the reference. The source is a
398 // Source<TabContents>. 398 // Source<TabContents>.
399 TAB_CONTENTS_DESTROYED, 399 TAB_CONTENTS_DESTROYED,
400 400
401 // This notification is sent when TabContents::SetAppExtension is invoked. 401 // This notification is sent when TabContents::SetAppExtension is invoked.
402 // The source is the TabContents SetAppExtension was invoked on. 402 // The source is the ExtensionTabHelper SetAppExtension was invoked on.
403 TAB_CONTENTS_APPLICATION_EXTENSION_CHANGED, 403 TAB_CONTENTS_APPLICATION_EXTENSION_CHANGED,
404 404
405 // A RenderViewHost was created for a TabContents. The source is the 405 // A RenderViewHost was created for a TabContents. The source is the
406 // associated TabContents, and the details is the RenderViewHost 406 // associated TabContents, and the details is the RenderViewHost
407 // pointer. 407 // pointer.
408 RENDER_VIEW_HOST_CREATED_FOR_TAB, 408 RENDER_VIEW_HOST_CREATED_FOR_TAB,
409 409
410 // Notification than an interstitial has become associated with a tab. The 410 // Notification than an interstitial has become associated with a tab. The
411 // source is the TabContents, the details not used. 411 // source is the TabContents, the details not used.
412 INTERSTITIAL_ATTACHED, 412 INTERSTITIAL_ATTACHED,
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 }; 1358 };
1359 1359
1360 inline bool operator==(NotificationType::Type a, NotificationType b) { 1360 inline bool operator==(NotificationType::Type a, NotificationType b) {
1361 return a == b.value; 1361 return a == b.value;
1362 } 1362 }
1363 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1363 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1364 return a != b.value; 1364 return a != b.value;
1365 } 1365 }
1366 1366
1367 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ 1367 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « content/browser/webui/web_ui_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698