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

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

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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 "app/gfx/canvas.h"
6 #include "base/basictypes.h" 5 #include "base/basictypes.h"
7 #include "base/keyboard_codes.h" 6 #include "base/keyboard_codes.h"
8 #include "base/scoped_ptr.h" 7 #include "base/scoped_ptr.h"
9 #include "base/shared_memory.h" 8 #include "base/shared_memory.h"
10 #include "base/timer.h" 9 #include "base/timer.h"
11 #include "build/build_config.h" 10 #include "build/build_config.h"
12 #include "chrome/browser/renderer_host/backing_store.h" 11 #include "chrome/browser/renderer_host/backing_store.h"
13 #include "chrome/browser/renderer_host/test/test_render_view_host.h" 12 #include "chrome/browser/renderer_host/test/test_render_view_host.h"
14 #include "chrome/common/render_messages.h" 13 #include "chrome/common/render_messages.h"
14 #include "gfx/canvas.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 using base::TimeDelta; 17 using base::TimeDelta;
18 18
19 using WebKit::WebInputEvent; 19 using WebKit::WebInputEvent;
20 using WebKit::WebMouseWheelEvent; 20 using WebKit::WebMouseWheelEvent;
21 21
22 // RenderWidgetHostProcess ----------------------------------------------------- 22 // RenderWidgetHostProcess -----------------------------------------------------
23 23
24 class RenderWidgetHostProcess : public MockRenderProcessHost { 24 class RenderWidgetHostProcess : public MockRenderProcessHost {
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 EXPECT_FALSE(host_->unresponsive_timer_fired()); 643 EXPECT_FALSE(host_->unresponsive_timer_fired());
644 host_->StartHangMonitorTimeout(TimeDelta::FromMilliseconds(10)); 644 host_->StartHangMonitorTimeout(TimeDelta::FromMilliseconds(10));
645 645
646 // Wait long enough for first timeout and see if it fired. 646 // Wait long enough for first timeout and see if it fired.
647 MessageLoop::current()->PostDelayedTask(FROM_HERE, 647 MessageLoop::current()->PostDelayedTask(FROM_HERE,
648 new MessageLoop::QuitTask(), 10); 648 new MessageLoop::QuitTask(), 10);
649 MessageLoop::current()->Run(); 649 MessageLoop::current()->Run();
650 EXPECT_TRUE(host_->unresponsive_timer_fired()); 650 EXPECT_TRUE(host_->unresponsive_timer_fired());
651 } 651 }
652 652
OLDNEW
« no previous file with comments | « chrome/browser/ntp_background_util.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698