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

Side by Side Diff: chrome_frame/test/win_event_receiver.cc

Issue 16391006: Use a direct include of strings headers in chrome_frame/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « chrome_frame/test/util_unittests.cc ('k') | chrome_frame/test_utils.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/test/win_event_receiver.h" 5 #include "chrome_frame/test/win_event_receiver.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/strings/string_util.h"
11 #include "base/win/object_watcher.h" 12 #include "base/win/object_watcher.h"
12 #include "base/string_util.h"
13 #include "chrome_frame/function_stub.h" 13 #include "chrome_frame/function_stub.h"
14 14
15 // WinEventReceiver methods 15 // WinEventReceiver methods
16 WinEventReceiver::WinEventReceiver() 16 WinEventReceiver::WinEventReceiver()
17 : listener_(NULL), 17 : listener_(NULL),
18 hook_(NULL), 18 hook_(NULL),
19 hook_stub_(NULL) { 19 hook_stub_(NULL) {
20 } 20 }
21 21
22 WinEventReceiver::~WinEventReceiver() { 22 WinEventReceiver::~WinEventReceiver() {
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 HandleOnOpen(hwnd); 266 HandleOnOpen(hwnd);
267 } else { 267 } else {
268 DCHECK(event == EVENT_OBJECT_DESTROY || event == EVENT_OBJECT_HIDE); 268 DCHECK(event == EVENT_OBJECT_DESTROY || event == EVENT_OBJECT_HIDE);
269 HandleOnClose(hwnd); 269 HandleOnClose(hwnd);
270 } 270 }
271 } 271 }
272 272
273 void WindowWatchdog::OnHwndProcessExited(HWND hwnd) { 273 void WindowWatchdog::OnHwndProcessExited(HWND hwnd) {
274 HandleOnClose(hwnd); 274 HandleOnClose(hwnd);
275 } 275 }
OLDNEW
« no previous file with comments | « chrome_frame/test/util_unittests.cc ('k') | chrome_frame/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698