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

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: Comments 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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED, 516 NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED,
517 517
518 // Sent when a browser action's visibility has changed. The source is the 518 // Sent when a browser action's visibility has changed. The source is the
519 // ExtensionPrefs* that changed. The details are a Extension*. 519 // ExtensionPrefs* that changed. The details are a Extension*.
520 NOTIFICATION_EXTENSION_BROWSER_ACTION_VISIBILITY_CHANGED, 520 NOTIFICATION_EXTENSION_BROWSER_ACTION_VISIBILITY_CHANGED,
521 521
522 // Sent when a page action's visibility has changed. The source is the 522 // Sent when a page action's visibility has changed. The source is the
523 // ExtensionAction* that changed. The details are a WebContents*. 523 // ExtensionAction* that changed. The details are a WebContents*.
524 NOTIFICATION_EXTENSION_PAGE_ACTION_VISIBILITY_CHANGED, 524 NOTIFICATION_EXTENSION_PAGE_ACTION_VISIBILITY_CHANGED,
525 525
526 // A new extension RenderViewHost has been registered. The details are
527 // the RenderViewHost*.
528 NOTIFICATION_EXTENSION_VIEW_REGISTERED,
529
530 // An extension RenderViewHost has been unregistered. The details are
531 // the RenderViewHost*.
532 NOTIFICATION_EXTENSION_VIEW_UNREGISTERED,
533
526 // Sent by an extension to notify the browser about the results of a unit 534 // Sent by an extension to notify the browser about the results of a unit
527 // test. 535 // test.
528 NOTIFICATION_EXTENSION_TEST_PASSED, 536 NOTIFICATION_EXTENSION_TEST_PASSED,
529 NOTIFICATION_EXTENSION_TEST_FAILED, 537 NOTIFICATION_EXTENSION_TEST_FAILED,
530 538
531 // Sent by extension test javascript code, typically in a browser test. The 539 // Sent by extension test javascript code, typically in a browser test. The
532 // sender is a std::string representing the extension id, and the details 540 // sender is a std::string representing the extension id, and the details
533 // are a std::string with some message. This is particularly useful when you 541 // are a std::string with some message. This is particularly useful when you
534 // want to have C++ code wait for javascript code to do something. 542 // want to have C++ code wait for javascript code to do something.
535 NOTIFICATION_EXTENSION_TEST_MESSAGE, 543 NOTIFICATION_EXTENSION_TEST_MESSAGE,
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
1091 // Currently only Content and Chrome define and use notifications. 1099 // Currently only Content and Chrome define and use notifications.
1092 // Custom notifications not belonging to Content and Chrome should start 1100 // Custom notifications not belonging to Content and Chrome should start
1093 // from here. 1101 // from here.
1094 NOTIFICATION_CHROME_END, 1102 NOTIFICATION_CHROME_END,
1095 }; 1103 };
1096 1104
1097 } // namespace chrome 1105 } // namespace chrome
1098 1106
1099 1107
1100 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1108 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698