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

Side by Side Diff: chrome_frame/bho_loader.cc

Issue 8317018: Have Chrome Frame build its .idl artifacts into a sub-folder of SHARED_INTERMEDIATE_DIR, a global... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | 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 #include "chrome_frame/bho_loader.h" 5 #include "chrome_frame/bho_loader.h"
6 6
7 #include <atlbase.h> 7 #include <atlbase.h>
8 #include <atlcomcli.h> 8 #include <atlcomcli.h>
9 #include <exdisp.h> 9 #include <exdisp.h>
10 10
11 #include "chrome_frame/chrome_frame_helper_util.h" 11 #include "chrome_frame/chrome_frame_helper_util.h"
12 #include "chrome_frame/chrome_tab.h"
12 #include "chrome_frame/event_hooker.h" 13 #include "chrome_frame/event_hooker.h"
13 #include "chrome_tab.h" // NOLINT
14 14
15 15
16 // Describes the window class we look for. 16 // Describes the window class we look for.
17 const wchar_t kStatusBarWindowClass[] = L"msctls_statusbar32"; 17 const wchar_t kStatusBarWindowClass[] = L"msctls_statusbar32";
18 18
19 // On IE9, the status bar is disabled by default, so we look for an 19 // On IE9, the status bar is disabled by default, so we look for an
20 // AsyncBoundaryLayer window instead. 20 // AsyncBoundaryLayer window instead.
21 const wchar_t kAsyncBoundaryDnWindow[] = L"asynclayerboundarydn\0"; 21 const wchar_t kAsyncBoundaryDnWindow[] = L"asynclayerboundarydn\0";
22 22
23 BHOLoader::BHOLoader() : hooker_(new EventHooker()) { 23 BHOLoader::BHOLoader() : hooker_(new EventHooker()) {
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } 123 }
124 124
125 void BHOLoader::StopHook() { 125 void BHOLoader::StopHook() {
126 hooker_->StopHook(); 126 hooker_->StopHook();
127 } 127 }
128 128
129 BHOLoader* BHOLoader::GetInstance() { 129 BHOLoader* BHOLoader::GetInstance() {
130 static BHOLoader loader; 130 static BHOLoader loader;
131 return &loader; 131 return &loader;
132 } 132 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698