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

Side by Side Diff: webkit/tools/test_shell/test_shell.h

Issue 2864020: DevTools: Migrate to new WebView initialization (pass devtools client directly). (Closed)
Patch Set: deps roll Created 10 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
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 322
323 TestShellDevToolsAgent* dev_tools_agent() { 323 TestShellDevToolsAgent* dev_tools_agent() {
324 return dev_tools_agent_.get(); 324 return dev_tools_agent_.get();
325 } 325 }
326 326
327 static void disable_html5_parser() { enable_html5_parser_ = false; } 327 static void disable_html5_parser() { enable_html5_parser_ = false; }
328 328
329 protected: 329 protected:
330 void CreateDevToolsClient(TestShellDevToolsAgent* agent); 330 void CreateDevToolsClient(TestShellDevToolsAgent* agent);
331 bool Initialize(const GURL& starting_url); 331 bool Initialize(const GURL& starting_url);
332 void InitializeDevToolsAgent(WebKit::WebView* webView);
333 bool IsSVGTestURL(const GURL& url); 332 bool IsSVGTestURL(const GURL& url);
334 void SizeToSVG(); 333 void SizeToSVG();
335 void SizeToDefault(); 334 void SizeToDefault();
336 void SizeTo(int width, int height); 335 void SizeTo(int width, int height);
337 void ResizeSubViews(); 336 void ResizeSubViews();
338 337
339 // Set the focus in interactive mode (pass through to relevant system call). 338 // Set the focus in interactive mode (pass through to relevant system call).
340 void InteractiveSetFocus(WebWidgetHost* host, bool enable); 339 void InteractiveSetFocus(WebWidgetHost* host, bool enable);
341 340
342 enum UIControl { 341 enum UIControl {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 #if defined(OS_WIN) 436 #if defined(OS_WIN)
438 // Used by the watchdog to know when it's finished. 437 // Used by the watchdog to know when it's finished.
439 HANDLE finished_event_; 438 HANDLE finished_event_;
440 #endif 439 #endif
441 440
442 // Dump the stats table counters on exit. 441 // Dump the stats table counters on exit.
443 bool dump_stats_table_on_exit_; 442 bool dump_stats_table_on_exit_;
444 }; 443 };
445 444
446 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_ 445 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698