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

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

Powered by Google App Engine
This is Rietveld 408576698