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

Side by Side Diff: webkit/tools/test_shell/test_webview_delegate.cc

Issue 3945002: Move debug-related stuff from base to the base/debug directory and use the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This file contains the implementation of TestWebViewDelegate, which serves 5 // This file contains the implementation of TestWebViewDelegate, which serves
6 // as the WebViewDelegate for the TestShellWebHost. The host is expected to 6 // as the WebViewDelegate for the TestShellWebHost. The host is expected to
7 // have initialized a MessageLoop before these methods are called. 7 // have initialized a MessageLoop before these methods are called.
8 8
9 #include "webkit/tools/test_shell/test_webview_delegate.h" 9 #include "webkit/tools/test_shell/test_webview_delegate.h"
10 10
11 #include "base/debug/trace_event.h"
11 #include "base/file_util.h" 12 #include "base/file_util.h"
12 #include "base/message_loop.h" 13 #include "base/message_loop.h"
13 #include "base/process_util.h" 14 #include "base/process_util.h"
14 #include "base/string_util.h" 15 #include "base/string_util.h"
15 #include "base/stringprintf.h" 16 #include "base/stringprintf.h"
16 #include "base/trace_event.h"
17 #include "base/string_number_conversions.h" 17 #include "base/string_number_conversions.h"
18 #include "base/utf_string_conversions.h" 18 #include "base/utf_string_conversions.h"
19 #include "gfx/native_widget_types.h" 19 #include "gfx/native_widget_types.h"
20 #include "gfx/point.h" 20 #include "gfx/point.h"
21 #include "net/base/net_errors.h" 21 #include "net/base/net_errors.h"
22 #include "third_party/WebKit/WebKit/chromium/public/WebAccessibilityObject.h" 22 #include "third_party/WebKit/WebKit/chromium/public/WebAccessibilityObject.h"
23 #include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h" 23 #include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h"
24 #include "third_party/WebKit/WebKit/chromium/public/WebContextMenuData.h" 24 #include "third_party/WebKit/WebKit/chromium/public/WebContextMenuData.h"
25 #include "third_party/WebKit/WebKit/chromium/public/WebDeviceOrientationClientMo ck.h" 25 #include "third_party/WebKit/WebKit/chromium/public/WebDeviceOrientationClientMo ck.h"
26 #include "third_party/WebKit/WebKit/chromium/public/WebCString.h" 26 #include "third_party/WebKit/WebKit/chromium/public/WebCString.h"
(...skipping 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after
1344 } 1344 }
1345 1345
1346 void TestWebViewDelegate::set_fake_window_rect(const WebRect& rect) { 1346 void TestWebViewDelegate::set_fake_window_rect(const WebRect& rect) {
1347 fake_rect_ = rect; 1347 fake_rect_ = rect;
1348 using_fake_rect_ = true; 1348 using_fake_rect_ = true;
1349 } 1349 }
1350 1350
1351 WebRect TestWebViewDelegate::fake_window_rect() { 1351 WebRect TestWebViewDelegate::fake_window_rect() {
1352 return fake_rect_; 1352 return fake_rect_;
1353 } 1353 }
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_shell_win.cc ('k') | webkit/tools/test_shell/test_webview_delegate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698