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

Side by Side Diff: chrome_frame/test/infobar_unittests.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/ie_event_sink.cc ('k') | chrome_frame/test/mock_ie_event_sink_actions.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 <atlbase.h> 5 #include <atlbase.h>
6 #include <atlapp.h> 6 #include <atlapp.h>
7 #include <atlcrack.h> 7 #include <atlcrack.h>
8 #include <atlmisc.h> 8 #include <atlmisc.h>
9 #include <atlwin.h> 9 #include <atlwin.h>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "testing/gmock/include/gmock/gmock.h"
16 #include "chrome_frame/infobars/infobar_content.h" 14 #include "chrome_frame/infobars/infobar_content.h"
17 #include "chrome_frame/infobars/internal/displaced_window_manager.h" 15 #include "chrome_frame/infobars/internal/displaced_window_manager.h"
18 #include "chrome_frame/infobars/internal/host_window_manager.h" 16 #include "chrome_frame/infobars/internal/host_window_manager.h"
19 #include "chrome_frame/infobars/internal/infobar_window.h" 17 #include "chrome_frame/infobars/internal/infobar_window.h"
20 #include "chrome_frame/infobars/internal/subclassing_window_with_delegate.h" 18 #include "chrome_frame/infobars/internal/subclassing_window_with_delegate.h"
21 #include "chrome_frame/test/chrome_frame_test_utils.h" 19 #include "chrome_frame/test/chrome_frame_test_utils.h"
20 #include "testing/gmock/include/gmock/gmock.h"
21 #include "testing/gtest/include/gtest/gtest.h"
22 22
23 namespace { 23 namespace {
24 24
25 RECT kInitialParentWindowRect = {20, 20, 300, 300}; 25 RECT kInitialParentWindowRect = {20, 20, 300, 300};
26 RECT kInitialChildWindowRect = {20, 20, 280, 280}; 26 RECT kInitialChildWindowRect = {20, 20, 280, 280};
27 27
28 MATCHER_P(EqualRect, expected, "") { 28 MATCHER_P(EqualRect, expected, "") {
29 return ::EqualRect(expected, arg); 29 return ::EqualRect(expected, arg);
30 } 30 }
31 31
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 595
596 message_loop.RunFor(base::TimeDelta::FromSeconds(10)); 596 message_loop.RunFor(base::TimeDelta::FromSeconds(10));
597 597
598 window.DestroyWindow(); 598 window.DestroyWindow();
599 599
600 ASSERT_FALSE(message_loop.WasTimedOut()); 600 ASSERT_FALSE(message_loop.WasTimedOut());
601 } 601 }
602 602
603 // TODO(erikwright): Write test for variations on return from default 603 // TODO(erikwright): Write test for variations on return from default
604 // OnNcCalcValidRects 604 // OnNcCalcValidRects
OLDNEW
« no previous file with comments | « chrome_frame/test/ie_event_sink.cc ('k') | chrome_frame/test/mock_ie_event_sink_actions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698