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

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

Issue 3105004: Adds support for showing the match preview on views. It's behind the (Closed)
Patch Set: Addressed review comments Created 10 years, 4 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
« no previous file with comments | « chrome/common/chrome_switches.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 386
387 // This notification is sent when TabContents::SetAppExtension is invoked. 387 // This notification is sent when TabContents::SetAppExtension is invoked.
388 // The source is the TabContents SetAppExtension was invoked on. 388 // The source is the TabContents SetAppExtension was invoked on.
389 TAB_CONTENTS_APPLICATION_EXTENSION_CHANGED, 389 TAB_CONTENTS_APPLICATION_EXTENSION_CHANGED,
390 390
391 // A RenderViewHost was created for a TabContents. The source is the 391 // A RenderViewHost was created for a TabContents. The source is the
392 // associated TabContents, and the details is the RenderViewHost 392 // associated TabContents, and the details is the RenderViewHost
393 // pointer. 393 // pointer.
394 RENDER_VIEW_HOST_CREATED_FOR_TAB, 394 RENDER_VIEW_HOST_CREATED_FOR_TAB,
395 395
396 // Sent when MatchPreview creates the preview TabContents. The source is the
397 // TabContents the MatchPreview is associated with.
398 MATCH_PREVIEW_TAB_CONTENTS_CREATED,
399
396 // Stuff inside the tabs --------------------------------------------------- 400 // Stuff inside the tabs ---------------------------------------------------
397 401
398 // This message is sent after a constrained window has been closed. The 402 // This message is sent after a constrained window has been closed. The
399 // source is a Source<ConstrainedWindow> with a pointer to the closed child 403 // source is a Source<ConstrainedWindow> with a pointer to the closed child
400 // window. (The pointer isn't usable, except for identification.) No 404 // window. (The pointer isn't usable, except for identification.) No
401 // details are expected. 405 // details are expected.
402 CWINDOW_CLOSED, 406 CWINDOW_CLOSED,
403 407
404 // Indicates that a RenderProcessHost was created and its handle is now 408 // Indicates that a RenderProcessHost was created and its handle is now
405 // available. The source will be the RenderProcessHost that corresponds to 409 // available. The source will be the RenderProcessHost that corresponds to
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
1143 }; 1147 };
1144 1148
1145 inline bool operator==(NotificationType::Type a, NotificationType b) { 1149 inline bool operator==(NotificationType::Type a, NotificationType b) {
1146 return a == b.value; 1150 return a == b.value;
1147 } 1151 }
1148 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1152 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1149 return a != b.value; 1153 return a != b.value;
1150 } 1154 }
1151 1155
1152 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 1156 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698