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

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

Issue 11038014: [Android] Upstream remaining changes to NTP UI code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed indentation nit Created 8 years, 2 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 | « chrome/chrome_browser_ui.gypi ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_COMMON_CHROME_NOTIFICATION_TYPES_H_ 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 6 #define CHROME_COMMON_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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // expected. 144 // expected.
145 NOTIFICATION_EXTERNAL_TAB_CLOSED, 145 NOTIFICATION_EXTERNAL_TAB_CLOSED,
146 146
147 // Indicates that the new page tab has finished loading. This is used for 147 // Indicates that the new page tab has finished loading. This is used for
148 // performance testing to see how fast we can load it after startup, and is 148 // performance testing to see how fast we can load it after startup, and is
149 // only called once for the lifetime of the browser. The source is unused. 149 // only called once for the lifetime of the browser. The source is unused.
150 // Details is an integer: the number of milliseconds elapsed between 150 // Details is an integer: the number of milliseconds elapsed between
151 // starting and finishing all painting. 151 // starting and finishing all painting.
152 NOTIFICATION_INITIAL_NEW_TAB_UI_LOAD, 152 NOTIFICATION_INITIAL_NEW_TAB_UI_LOAD,
153 153
154 #if defined(OS_ANDROID)
sky 2012/10/09 00:35:25 Why is this android specific?
newt (away) 2012/10/09 09:49:27 We added the event to reduce flakiness for tests t
sky 2012/10/09 15:59:13 Ok. From the description it seemed like it might b
155 // Indicates that the new tab page is ready. This is different than
156 // NOTIFICATION_INITIAL_NEW_TAB_UI_LOAD as the NTP might do some more in-page
157 // navigations after it's done loading, potentially causing flakyness in tests
158 // that would navigate as soon as the NTP is done loading.
159 // When this notification happen, it guarantees the page is not going to do
160 // any further navigation.
161 // The source is the TabContents containing the NTP.
162 NOTIFICATION_NEW_TAB_READY,
163 #endif
164
154 // Used to fire notifications about how long various events took to 165 // Used to fire notifications about how long various events took to
155 // complete. E.g., this is used to get more fine grained timings from the 166 // complete. E.g., this is used to get more fine grained timings from the
156 // new tab page. The source is a WebContents and the details is a 167 // new tab page. The source is a WebContents and the details is a
157 // MetricEventDurationDetails. 168 // MetricEventDurationDetails.
158 NOTIFICATION_METRIC_EVENT_DURATION, 169 NOTIFICATION_METRIC_EVENT_DURATION,
159 170
160 // This notification is sent when extensions::TabHelper::SetExtensionApp is 171 // This notification is sent when extensions::TabHelper::SetExtensionApp is
161 // invoked. The source is the extensions::TabHelper SetExtensionApp was 172 // invoked. The source is the extensions::TabHelper SetExtensionApp was
162 // invoked on. 173 // invoked on.
163 NOTIFICATION_TAB_CONTENTS_APPLICATION_EXTENSION_CHANGED, 174 NOTIFICATION_TAB_CONTENTS_APPLICATION_EXTENSION_CHANGED,
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1271 // Currently only Content and Chrome define and use notifications. 1282 // Currently only Content and Chrome define and use notifications.
1272 // Custom notifications not belonging to Content and Chrome should start 1283 // Custom notifications not belonging to Content and Chrome should start
1273 // from here. 1284 // from here.
1274 NOTIFICATION_CHROME_END, 1285 NOTIFICATION_CHROME_END,
1275 }; 1286 };
1276 1287
1277 } // namespace chrome 1288 } // namespace chrome
1278 1289
1279 1290
1280 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1291 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698