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

Side by Side Diff: ceee/ie/plugin/bho/webnavigation_events_funnel.h

Issue 4989002: Firing event to broker without worker thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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) 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 Web Navigation Events. 5 // Funnel of Chrome Extension Web Navigation Events.
6 6
7 #ifndef CEEE_IE_PLUGIN_BHO_WEBNAVIGATION_EVENTS_FUNNEL_H_ 7 #ifndef CEEE_IE_PLUGIN_BHO_WEBNAVIGATION_EVENTS_FUNNEL_H_
8 #define CEEE_IE_PLUGIN_BHO_WEBNAVIGATION_EVENTS_FUNNEL_H_ 8 #define CEEE_IE_PLUGIN_BHO_WEBNAVIGATION_EVENTS_FUNNEL_H_
9 #include <atlcomcli.h> 9 #include <atlcomcli.h>
10 10
11 #include "base/time.h" 11 #include "base/time.h"
12 #include "ceee/ie/plugin/bho/events_funnel.h" 12 #include "ceee/ie/plugin/bho/events_funnel.h"
13 13
14 #include "toolband.h" // NOLINT 14 #include "toolband.h" // NOLINT
15 15
16 // Implements a set of methods to send web navigation related events to the 16 // Implements a set of methods to send web navigation related events to the
17 // Broker. 17 // Broker.
18 class WebNavigationEventsFunnel : public EventsFunnel { 18 class WebNavigationEventsFunnel : public EventsFunnel {
19 public: 19 public:
20 WebNavigationEventsFunnel() : EventsFunnel(false) {} 20 WebNavigationEventsFunnel() {}
21 21
22 // Sends the webNavigation.onBeforeNavigate event to the Broker. 22 // Sends the webNavigation.onBeforeNavigate event to the Broker.
23 // @param tab_handle The window handle of the tab in which the navigation is 23 // @param tab_handle The window handle of the tab in which the navigation is
24 // about to occur. 24 // about to occur.
25 // @param url The URL of the navigation. 25 // @param url The URL of the navigation.
26 // @param frame_id 0 indicates the navigation happens in the tab content 26 // @param frame_id 0 indicates the navigation happens in the tab content
27 // window; positive value indicates navigation in a subframe. 27 // window; positive value indicates navigation in a subframe.
28 // @param request_id The ID of the request to retrieve the document of this 28 // @param request_id The ID of the request to retrieve the document of this
29 // navigation. 29 // navigation.
30 // @param time_stamp The time when the browser was about to start the 30 // @param time_stamp The time when the browser was about to start the
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 BSTR url, 99 BSTR url,
100 int frame_id, 100 int frame_id,
101 BSTR error, 101 BSTR error,
102 const base::Time& time_stamp); 102 const base::Time& time_stamp);
103 103
104 private: 104 private:
105 DISALLOW_COPY_AND_ASSIGN(WebNavigationEventsFunnel); 105 DISALLOW_COPY_AND_ASSIGN(WebNavigationEventsFunnel);
106 }; 106 };
107 107
108 #endif // CEEE_IE_PLUGIN_BHO_WEBNAVIGATION_EVENTS_FUNNEL_H_ 108 #endif // CEEE_IE_PLUGIN_BHO_WEBNAVIGATION_EVENTS_FUNNEL_H_
OLDNEW
« no previous file with comments | « ceee/ie/plugin/bho/web_progress_notifier_unittest.cc ('k') | ceee/ie/plugin/bho/webrequest_events_funnel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698