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

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

Issue 8505047: Fix panels being removed from PanelManager prematurely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Got rid of timeout by adding Details to notification from RenderViewHost. Created 9 years, 1 month 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
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 924 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 // Sent when panel gains/loses focus. 935 // Sent when panel gains/loses focus.
936 // The source is the Panel, no details. 936 // The source is the Panel, no details.
937 // Used only in unit testing. 937 // Used only in unit testing.
938 NOTIFICATION_PANEL_CHANGED_ACTIVE_STATUS, 938 NOTIFICATION_PANEL_CHANGED_ACTIVE_STATUS,
939 939
940 // Sent when panel is minimized/restored/shows title only etc. 940 // Sent when panel is minimized/restored/shows title only etc.
941 // The source is the Panel, no details. 941 // The source is the Panel, no details.
942 // Used only in unit testing. 942 // Used only in unit testing.
943 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE, 943 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE,
944 944
945 // Sent from the destructor of Panel class.
946 // Source is the panel being deleted. No details.
947 // Used only in unit testing.
948 NOTIFICATION_PANEL_DELETED,
949
945 // Sent when panel window size is known. This is for platforms where the 950 // Sent when panel window size is known. This is for platforms where the
946 // window creation is async and size of the window only becomes known later. 951 // window creation is async and size of the window only becomes known later.
947 // Used only in unit testing. 952 // Used only in unit testing.
948 NOTIFICATION_PANEL_WINDOW_SIZE_KNOWN, 953 NOTIFICATION_PANEL_WINDOW_SIZE_KNOWN,
949 954
950 // Sent when panel's bounds get changed. 955 // Sent when panel's bounds get changed.
951 // The source is the Panel, no details. 956 // The source is the Panel, no details.
952 // Used only in coordination with notification balloons. 957 // Used only in coordination with notification balloons.
953 NOTIFICATION_PANEL_CHANGED_BOUNDS, 958 NOTIFICATION_PANEL_CHANGED_BOUNDS,
954 959
(...skipping 17 matching lines...) Expand all
972 // Currently only Content and Chrome define and use notifications. 977 // Currently only Content and Chrome define and use notifications.
973 // Custom notifications not belonging to Content and Chrome should start 978 // Custom notifications not belonging to Content and Chrome should start
974 // from here. 979 // from here.
975 NOTIFICATION_CHROME_END, 980 NOTIFICATION_CHROME_END,
976 }; 981 };
977 982
978 } // namespace chrome 983 } // namespace chrome
979 984
980 985
981 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 986 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698