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

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

Issue 9003014: Replace WebUI::tab_contents() with web_contents() and switch all users to use web_contents.h inst... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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/browser/ui/webui/workers_ui.cc ('k') | chrome/test/base/test_browser_window.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 (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 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 #pragma once 7 #pragma once
8 8
9 #include "content/public/browser/notification_types.h" 9 #include "content/public/browser/notification_types.h"
10 10
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 // Indicates that the new page tab has finished loading. This is used for 116 // Indicates that the new page tab has finished loading. This is used for
117 // performance testing to see how fast we can load it after startup, and is 117 // performance testing to see how fast we can load it after startup, and is
118 // only called once for the lifetime of the browser. The source is unused. 118 // only called once for the lifetime of the browser. The source is unused.
119 // Details is an integer: the number of milliseconds elapsed between 119 // Details is an integer: the number of milliseconds elapsed between
120 // starting and finishing all painting. 120 // starting and finishing all painting.
121 NOTIFICATION_INITIAL_NEW_TAB_UI_LOAD, 121 NOTIFICATION_INITIAL_NEW_TAB_UI_LOAD,
122 122
123 // Used to fire notifications about how long various events took to 123 // Used to fire notifications about how long various events took to
124 // complete. E.g., this is used to get more fine grained timings from the 124 // complete. E.g., this is used to get more fine grained timings from the
125 // new tab page. Details is a MetricEventDurationDetails. 125 // new tab page. The source is a WebContents and the details is a
126 // MetricEventDurationDetails.
126 NOTIFICATION_METRIC_EVENT_DURATION, 127 NOTIFICATION_METRIC_EVENT_DURATION,
127 128
128 // This notification is sent when TabContents::SetAppExtension is invoked. 129 // This notification is sent when TabContents::SetAppExtension is invoked.
129 // The source is the ExtensionTabHelper SetAppExtension was invoked on. 130 // The source is the ExtensionTabHelper SetAppExtension was invoked on.
130 NOTIFICATION_TAB_CONTENTS_APPLICATION_EXTENSION_CHANGED, 131 NOTIFICATION_TAB_CONTENTS_APPLICATION_EXTENSION_CHANGED,
131 132
132 // Notification posted when the element that is focused and currently accepts 133 // Notification posted when the element that is focused and currently accepts
133 // keyboard input inside the webpage has been touched. The source is the 134 // keyboard input inside the webpage has been touched. The source is the
134 // RenderViewHost and the details are not used. 135 // RenderViewHost and the details are not used.
135 NOTIFICATION_FOCUSED_EDITABLE_NODE_TOUCHED, 136 NOTIFICATION_FOCUSED_EDITABLE_NODE_TOUCHED,
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 // |webkit::forms::PasswordForm|s that were affected. 901 // |webkit::forms::PasswordForm|s that were affected.
901 NOTIFICATION_LOGINS_CHANGED, 902 NOTIFICATION_LOGINS_CHANGED,
902 903
903 // Sent when an import process has ended. 904 // Sent when an import process has ended.
904 NOTIFICATION_IMPORT_FINISHED, 905 NOTIFICATION_IMPORT_FINISHED,
905 906
906 // Sent when the applications in the NTP app launcher have been reordered. 907 // Sent when the applications in the NTP app launcher have been reordered.
907 NOTIFICATION_EXTENSION_LAUNCHER_REORDERED, 908 NOTIFICATION_EXTENSION_LAUNCHER_REORDERED,
908 909
909 // Sent when an app is installed and an NTP has been shown. Source is the 910 // Sent when an app is installed and an NTP has been shown. Source is the
910 // TabContents that was shown, and Details is the string ID of the extension 911 // WebContents that was shown, and Details is the string ID of the extension
911 // which was installed. 912 // which was installed.
912 NOTIFICATION_APP_INSTALLED_TO_NTP, 913 NOTIFICATION_APP_INSTALLED_TO_NTP,
913 914
914 #if defined(OS_CHROMEOS) 915 #if defined(OS_CHROMEOS)
915 // Sent when WebSocketProxy started accepting connections; details is integer 916 // Sent when WebSocketProxy started accepting connections; details is integer
916 // port on which proxy is listening. 917 // port on which proxy is listening.
917 NOTIFICATION_WEB_SOCKET_PROXY_STARTED, 918 NOTIFICATION_WEB_SOCKET_PROXY_STARTED,
918 #endif 919 #endif
919 920
920 // Sent when a new web store promo has been loaded. 921 // Sent when a new web store promo has been loaded.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 // Currently only Content and Chrome define and use notifications. 1013 // Currently only Content and Chrome define and use notifications.
1013 // Custom notifications not belonging to Content and Chrome should start 1014 // Custom notifications not belonging to Content and Chrome should start
1014 // from here. 1015 // from here.
1015 NOTIFICATION_CHROME_END, 1016 NOTIFICATION_CHROME_END,
1016 }; 1017 };
1017 1018
1018 } // namespace chrome 1019 } // namespace chrome
1019 1020
1020 1021
1021 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1022 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/workers_ui.cc ('k') | chrome/test/base/test_browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698