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

Side by Side Diff: chrome/test/base/ui_test_utils.cc

Issue 8566052: views: Delete bubble, events, focus, layout directories and its stubbed files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 9 years, 1 month 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/test/base/ui_test_utils.h" 5 #include "chrome/test/base/ui_test_utils.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "content/public/browser/notification_service.h" 48 #include "content/public/browser/notification_service.h"
49 #include "content/public/browser/render_process_host.h" 49 #include "content/public/browser/render_process_host.h"
50 #include "googleurl/src/gurl.h" 50 #include "googleurl/src/gurl.h"
51 #include "net/base/net_util.h" 51 #include "net/base/net_util.h"
52 #include "testing/gtest/include/gtest/gtest.h" 52 #include "testing/gtest/include/gtest/gtest.h"
53 #include "third_party/skia/include/core/SkBitmap.h" 53 #include "third_party/skia/include/core/SkBitmap.h"
54 #include "third_party/skia/include/core/SkColor.h" 54 #include "third_party/skia/include/core/SkColor.h"
55 #include "ui/gfx/size.h" 55 #include "ui/gfx/size.h"
56 56
57 #if defined(TOOLKIT_VIEWS) 57 #if defined(TOOLKIT_VIEWS)
58 #include "views/focus/accelerator_handler.h" 58 #include "ui/views/focus/accelerator_handler.h"
59 #endif 59 #endif
60 60
61 #if defined(USE_AURA) 61 #if defined(USE_AURA)
62 #include "ui/aura/desktop.h" 62 #include "ui/aura/desktop.h"
63 #endif 63 #endif
64 64
65 namespace ui_test_utils { 65 namespace ui_test_utils {
66 66
67 namespace { 67 namespace {
68 68
(...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after
995 return taker.TakeRenderWidgetSnapshot(rwh, page_size, page_size, bitmap); 995 return taker.TakeRenderWidgetSnapshot(rwh, page_size, page_size, bitmap);
996 } 996 }
997 997
998 bool TakeEntirePageSnapshot(RenderViewHost* rvh, SkBitmap* bitmap) { 998 bool TakeEntirePageSnapshot(RenderViewHost* rvh, SkBitmap* bitmap) {
999 DCHECK(bitmap); 999 DCHECK(bitmap);
1000 SnapshotTaker taker; 1000 SnapshotTaker taker;
1001 return taker.TakeEntirePageSnapshot(rvh, bitmap); 1001 return taker.TakeEntirePageSnapshot(rvh, bitmap);
1002 } 1002 }
1003 1003
1004 } // namespace ui_test_utils 1004 } // namespace ui_test_utils
OLDNEW
« no previous file with comments | « chrome/common/native_web_keyboard_event_views.cc ('k') | chrome/test/base/ui_test_utils_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698