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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_unittest.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/scoped_ptr.h" 6 #include "base/scoped_ptr.h"
7 #include "base/shared_memory.h" 7 #include "base/shared_memory.h"
8 #include "base/timer.h" 8 #include "base/timer.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/renderer_host/backing_store.h" 10 #include "chrome/browser/renderer_host/backing_store.h"
11 #include "chrome/browser/renderer_host/test/test_render_view_host.h" 11 #include "chrome/browser/renderer_host/test/test_render_view_host.h"
12 #include "chrome/common/notification_details.h" 12 #include "chrome/common/notification_details.h"
13 #include "chrome/common/notification_source.h" 13 #include "chrome/common/notification_source.h"
14 #include "chrome/common/render_messages.h" 14 #include "chrome/common/render_messages.h"
15 #include "chrome/common/render_messages_params.h" 15 #include "chrome/common/render_messages_params.h"
16 #include "chrome/test/testing_profile.h" 16 #include "chrome/test/testing_profile.h"
17 #include "gfx/canvas_skia.h"
18 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
19 #include "ui/base/keycodes/keyboard_codes.h" 18 #include "ui/base/keycodes/keyboard_codes.h"
19 #include "ui/gfx/canvas_skia.h"
20 20
21 using base::TimeDelta; 21 using base::TimeDelta;
22 22
23 using WebKit::WebInputEvent; 23 using WebKit::WebInputEvent;
24 using WebKit::WebMouseWheelEvent; 24 using WebKit::WebMouseWheelEvent;
25 25
26 namespace gfx { 26 namespace gfx {
27 class Size; 27 class Size;
28 } 28 }
29 29
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 // Start it again to ensure it still works. 719 // Start it again to ensure it still works.
720 EXPECT_FALSE(host_->unresponsive_timer_fired()); 720 EXPECT_FALSE(host_->unresponsive_timer_fired());
721 host_->StartHangMonitorTimeout(TimeDelta::FromMilliseconds(10)); 721 host_->StartHangMonitorTimeout(TimeDelta::FromMilliseconds(10));
722 722
723 // Wait long enough for first timeout and see if it fired. 723 // Wait long enough for first timeout and see if it fired.
724 MessageLoop::current()->PostDelayedTask(FROM_HERE, 724 MessageLoop::current()->PostDelayedTask(FROM_HERE,
725 new MessageLoop::QuitTask(), 10); 725 new MessageLoop::QuitTask(), 10);
726 MessageLoop::current()->Run(); 726 MessageLoop::current()->Run();
727 EXPECT_TRUE(host_->unresponsive_timer_fired()); 727 EXPECT_TRUE(host_->unresponsive_timer_fired());
728 } 728 }
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host.h ('k') | chrome/browser/renderer_host/render_widget_host_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698