OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // Funnel of Chrome Extension Infobar Events. | 5 // Funnel of Chrome Extension Infobar Events. |
6 | 6 |
7 #ifndef CEEE_IE_PLUGIN_BHO_INFOBAR_EVENTS_FUNNEL_H_ | 7 #ifndef CEEE_IE_PLUGIN_BHO_INFOBAR_EVENTS_FUNNEL_H_ |
8 #define CEEE_IE_PLUGIN_BHO_INFOBAR_EVENTS_FUNNEL_H_ | 8 #define CEEE_IE_PLUGIN_BHO_INFOBAR_EVENTS_FUNNEL_H_ |
9 | 9 |
10 #include "ceee/ie/plugin/bho/events_funnel.h" | 10 #include "ceee/ie/plugin/bho/events_funnel.h" |
11 | 11 |
12 // Implements a set of methods to send infobar related events to the Broker. | 12 // Implements a set of methods to send infobar related events to the Broker. |
13 class InfobarEventsFunnel : public EventsFunnel { | 13 class InfobarEventsFunnel : public EventsFunnel { |
14 public: | 14 public: |
15 InfobarEventsFunnel() : EventsFunnel(false) {} | 15 InfobarEventsFunnel() {} |
16 | 16 |
17 // Sends the infobar.onDocumentComplete event to the Broker. | 17 // Sends the infobar.onDocumentComplete event to the Broker. |
18 virtual HRESULT OnDocumentComplete(); | 18 virtual HRESULT OnDocumentComplete(); |
19 | 19 |
20 private: | 20 private: |
21 DISALLOW_COPY_AND_ASSIGN(InfobarEventsFunnel); | 21 DISALLOW_COPY_AND_ASSIGN(InfobarEventsFunnel); |
22 }; | 22 }; |
23 | 23 |
24 #endif // CEEE_IE_PLUGIN_BHO_INFOBAR_EVENTS_FUNNEL_H_ | 24 #endif // CEEE_IE_PLUGIN_BHO_INFOBAR_EVENTS_FUNNEL_H_ |
OLD | NEW |