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

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

Issue 10119003: Pull shell window stuff out of ExtensionHost and put in ShellWindow (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Try jobs Created 8 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
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 #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 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED, 505 NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED,
506 506
507 // Sent when a browser action's visibility has changed. The source is the 507 // Sent when a browser action's visibility has changed. The source is the
508 // ExtensionPrefs* that changed. The details are a Extension*. 508 // ExtensionPrefs* that changed. The details are a Extension*.
509 NOTIFICATION_EXTENSION_BROWSER_ACTION_VISIBILITY_CHANGED, 509 NOTIFICATION_EXTENSION_BROWSER_ACTION_VISIBILITY_CHANGED,
510 510
511 // Sent when a page action's visibility has changed. The source is the 511 // Sent when a page action's visibility has changed. The source is the
512 // ExtensionAction* that changed. The details are a WebContents*. 512 // ExtensionAction* that changed. The details are a WebContents*.
513 NOTIFICATION_EXTENSION_PAGE_ACTION_VISIBILITY_CHANGED, 513 NOTIFICATION_EXTENSION_PAGE_ACTION_VISIBILITY_CHANGED,
514 514
515 // A new extension RenderViewHost has been registered. The details are
516 // the RenderViewHost*.
517 NOTIFICATION_EXTENSION_VIEW_REGISTERED,
518
519 // An extension RenderViewHost has been unregistered. The details are
520 // the RenderViewHost*.
521 NOTIFICATION_EXTENSION_VIEW_UNREGISTERED,
522
515 // Sent by an extension to notify the browser about the results of a unit 523 // Sent by an extension to notify the browser about the results of a unit
516 // test. 524 // test.
517 NOTIFICATION_EXTENSION_TEST_PASSED, 525 NOTIFICATION_EXTENSION_TEST_PASSED,
518 NOTIFICATION_EXTENSION_TEST_FAILED, 526 NOTIFICATION_EXTENSION_TEST_FAILED,
519 527
520 // Sent by extension test javascript code, typically in a browser test. The 528 // Sent by extension test javascript code, typically in a browser test. The
521 // sender is a std::string representing the extension id, and the details 529 // sender is a std::string representing the extension id, and the details
522 // are a std::string with some message. This is particularly useful when you 530 // are a std::string with some message. This is particularly useful when you
523 // want to have C++ code wait for javascript code to do something. 531 // want to have C++ code wait for javascript code to do something.
524 NOTIFICATION_EXTENSION_TEST_MESSAGE, 532 NOTIFICATION_EXTENSION_TEST_MESSAGE,
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
1080 // Currently only Content and Chrome define and use notifications. 1088 // Currently only Content and Chrome define and use notifications.
1081 // Custom notifications not belonging to Content and Chrome should start 1089 // Custom notifications not belonging to Content and Chrome should start
1082 // from here. 1090 // from here.
1083 NOTIFICATION_CHROME_END, 1091 NOTIFICATION_CHROME_END,
1084 }; 1092 };
1085 1093
1086 } // namespace chrome 1094 } // namespace chrome
1087 1095
1088 1096
1089 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1097 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698