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

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

Issue 294563002: Revert of Elimate NOTIFICATION_GOOGLE_URL_UPDATED (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | chrome/browser/google/google_url_tracker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 // AutocompleteController, the details not used. 346 // AutocompleteController, the details not used.
347 NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY, 347 NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY,
348 348
349 // This is sent when an item of the Omnibox popup is selected. The source 349 // This is sent when an item of the Omnibox popup is selected. The source
350 // is the profile. 350 // is the profile.
351 NOTIFICATION_OMNIBOX_OPENED_URL, 351 NOTIFICATION_OMNIBOX_OPENED_URL,
352 352
353 // This is sent from Instant when the omnibox focus state changes. 353 // This is sent from Instant when the omnibox focus state changes.
354 NOTIFICATION_OMNIBOX_FOCUS_CHANGED, 354 NOTIFICATION_OMNIBOX_FOCUS_CHANGED,
355 355
356 // Sent when the Google URL for a profile has been updated. Some services
357 // cache this value and need to update themselves when it changes. See
358 // google_util::GetGoogleURLAndUpdateIfNecessary(). The source is the
359 // Profile, the details a GoogleURLTracker::UpdatedDetails containing the old
360 // and new URLs.
361 //
362 // Note that because incognito mode requests for the GoogleURLTracker are
363 // redirected to the non-incognito profile's copy, this notification will only
364 // ever fire on non-incognito profiles; thus listeners should use
365 // GetOriginalProfile() when constructing a Source to filter against.
366 NOTIFICATION_GOOGLE_URL_UPDATED,
367
356 // Printing ---------------------------------------------------------------- 368 // Printing ----------------------------------------------------------------
357 369
358 // Notification from PrintJob that an event occurred. It can be that a page 370 // Notification from PrintJob that an event occurred. It can be that a page
359 // finished printing or that the print job failed. Details is 371 // finished printing or that the print job failed. Details is
360 // PrintJob::EventDetails. Source is a PrintJob. 372 // PrintJob::EventDetails. Source is a PrintJob.
361 NOTIFICATION_PRINT_JOB_EVENT, 373 NOTIFICATION_PRINT_JOB_EVENT,
362 374
363 // Sent when a PrintJob has been released. 375 // Sent when a PrintJob has been released.
364 // Source is the WebContents that holds the print job. 376 // Source is the WebContents that holds the print job.
365 NOTIFICATION_PRINT_JOB_RELEASED, 377 NOTIFICATION_PRINT_JOB_RELEASED,
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 // Note:- 940 // Note:-
929 // Currently only Content and Chrome define and use notifications. 941 // Currently only Content and Chrome define and use notifications.
930 // Custom notifications not belonging to Content and Chrome should start 942 // Custom notifications not belonging to Content and Chrome should start
931 // from here. 943 // from here.
932 NOTIFICATION_CHROME_END, 944 NOTIFICATION_CHROME_END,
933 }; 945 };
934 946
935 } // namespace chrome 947 } // namespace chrome
936 948
937 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ 949 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/google/google_url_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698