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

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

Issue 5360002: Use BRANDING for IE CEEE. Simplify chrome_dll_version handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove spurious '33' from .gyp file. Created 10 years 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
« no previous file with comments | « ceee/ie/plugin/bho/bho.gyp ('k') | ceee/ie/plugin/scripting/script_host.cc » ('j') | 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) 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 // IE browser helper object implementation. 5 // IE browser helper object implementation.
6 #ifndef CEEE_IE_PLUGIN_BHO_BROWSER_HELPER_OBJECT_H_ 6 #ifndef CEEE_IE_PLUGIN_BHO_BROWSER_HELPER_OBJECT_H_
7 #define CEEE_IE_PLUGIN_BHO_BROWSER_HELPER_OBJECT_H_ 7 #define CEEE_IE_PLUGIN_BHO_BROWSER_HELPER_OBJECT_H_
8 8
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlcom.h> 10 #include <atlcom.h>
(...skipping 16 matching lines...) Expand all
27 #include "ceee/ie/plugin/bho/tab_events_funnel.h" 27 #include "ceee/ie/plugin/bho/tab_events_funnel.h"
28 #include "ceee/ie/common/chrome_frame_host.h" 28 #include "ceee/ie/common/chrome_frame_host.h"
29 #include "ceee/ie/plugin/bho/frame_event_handler.h" 29 #include "ceee/ie/plugin/bho/frame_event_handler.h"
30 #include "ceee/ie/plugin/bho/extension_port_manager.h" 30 #include "ceee/ie/plugin/bho/extension_port_manager.h"
31 #include "ceee/ie/plugin/bho/tool_band_visibility.h" 31 #include "ceee/ie/plugin/bho/tool_band_visibility.h"
32 #include "ceee/ie/plugin/bho/web_browser_events_source.h" 32 #include "ceee/ie/plugin/bho/web_browser_events_source.h"
33 #include "ceee/ie/plugin/bho/web_progress_notifier.h" 33 #include "ceee/ie/plugin/bho/web_progress_notifier.h"
34 #include "ceee/ie/plugin/scripting/userscripts_librarian.h" 34 #include "ceee/ie/plugin/scripting/userscripts_librarian.h"
35 #include "ceee/ie/plugin/scripting/content_script_native_api.h" 35 #include "ceee/ie/plugin/scripting/content_script_native_api.h"
36 #include "ceee/ie/plugin/toolband/resource.h" 36 #include "ceee/ie/plugin/toolband/resource.h"
37
37 #include "broker_lib.h" // NOLINT 38 #include "broker_lib.h" // NOLINT
38 #include "toolband.h" // NOLINT 39 #include "toolband.h" // NOLINT
39 40
40 // Implementation of an IE browser helper object. 41 // Implementation of an IE browser helper object.
41 class ATL_NO_VTABLE BrowserHelperObject 42 class ATL_NO_VTABLE BrowserHelperObject
42 : public CComObjectRootEx<CComSingleThreadModel>, 43 : public CComObjectRootEx<CComSingleThreadModel>,
43 public CComCoClass<BrowserHelperObject, &CLSID_BrowserHelperObject>, 44 public CComCoClass<BrowserHelperObject, &CLSID_BrowserHelperObject>,
44 public IObjectWithSiteImpl<BrowserHelperObject>, 45 public IObjectWithSiteImpl<BrowserHelperObject>,
45 public IDispEventSimpleImpl<0, 46 public IDispEventSimpleImpl<0,
46 BrowserHelperObject, 47 BrowserHelperObject,
47 &DIID_DWebBrowserEvents2>, 48 &DIID_DWebBrowserEvents2>,
48 public IPersistImpl<BrowserHelperObject>, 49 public IPersistImpl<BrowserHelperObject>,
49 public IFrameEventHandlerHost, 50 public IFrameEventHandlerHost,
50 public IExtensionPortMessagingProvider, 51 public IExtensionPortMessagingProvider,
51 public IChromeFrameHostEvents, 52 public IChromeFrameHostEvents,
52 public ICeeeBho, 53 public ICeeeBho,
53 public ToolBandVisibility, 54 public ToolBandVisibility,
54 public WebBrowserEventsSource { 55 public WebBrowserEventsSource {
55 public: 56 public:
56 DECLARE_REGISTRY_RESOURCEID_EX(IDR_BROWSERHELPEROBJECT) 57 DECLARE_REGISTRY_RESOURCEID_EX(IDR_BROWSERHELPEROBJECT)
57 BEGIN_REGISTRY_MAP(BrowserHelperObject) 58 BEGIN_REGISTRY_MAP(BrowserHelperObject)
58 REGMAP_UUID("CLSID", CLSID_BrowserHelperObject) 59 REGMAP_UUID("CLSID", CLSID_BrowserHelperObject)
59 REGMAP_RESOURCE("NAME", IDS_CEEE_NAME) 60 REGMAP_RESOURCE("NAME", IDS_CEEE_BHO_NAME)
60 END_REGISTRY_MAP() 61 END_REGISTRY_MAP()
61 62
62 DECLARE_NOT_AGGREGATABLE(BrowserHelperObject) 63 DECLARE_NOT_AGGREGATABLE(BrowserHelperObject)
63 64
64 BEGIN_COM_MAP(BrowserHelperObject) 65 BEGIN_COM_MAP(BrowserHelperObject)
65 COM_INTERFACE_ENTRY(IObjectWithSite) 66 COM_INTERFACE_ENTRY(IObjectWithSite)
66 COM_INTERFACE_ENTRY(IPersist) 67 COM_INTERFACE_ENTRY(IPersist)
67 COM_INTERFACE_ENTRY(ICeeeBho) 68 COM_INTERFACE_ENTRY(ICeeeBho)
68 COM_INTERFACE_ENTRY_IID(IID_IFrameEventHandlerHost, IFrameEventHandlerHost) 69 COM_INTERFACE_ENTRY_IID(IID_IFrameEventHandlerHost, IFrameEventHandlerHost)
69 END_COM_MAP() 70 END_COM_MAP()
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 // Check if the first parameter belongs to the browser tree rooted at 417 // Check if the first parameter belongs to the browser tree rooted at
417 // root_browser. 418 // root_browser.
418 HRESULT VerifyBrowserInHierarchy(IWebBrowser2* webbrowser, 419 HRESULT VerifyBrowserInHierarchy(IWebBrowser2* webbrowser,
419 IWebBrowser2* root_browser); 420 IWebBrowser2* root_browser);
420 421
421 typedef std::deque<Task*> DeferredCallListType; 422 typedef std::deque<Task*> DeferredCallListType;
422 DeferredCallListType deferred_tab_id_call_; 423 DeferredCallListType deferred_tab_id_call_;
423 }; 424 };
424 425
425 #endif // CEEE_IE_PLUGIN_BHO_BROWSER_HELPER_OBJECT_H_ 426 #endif // CEEE_IE_PLUGIN_BHO_BROWSER_HELPER_OBJECT_H_
OLDNEW
« no previous file with comments | « ceee/ie/plugin/bho/bho.gyp ('k') | ceee/ie/plugin/scripting/script_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698