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

Side by Side Diff: chrome/test/automation/browser_proxy.cc

Issue 4200007: Refactor automation messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chrome_frame no longer depends on tab_contents.h Created 10 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) 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 #include "chrome/test/automation/browser_proxy.h" 5 #include "chrome/test/automation/browser_proxy.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/json/json_reader.h" 9 #include "base/json/json_reader.h"
10 #include "base/json/json_writer.h" 10 #include "base/json/json_writer.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/platform_thread.h" 12 #include "base/platform_thread.h"
13 #include "base/time.h" 13 #include "base/time.h"
14 #include "chrome/common/automation_constants.h"
15 #include "chrome/common/automation_messages.h"
14 #include "chrome/test/automation/autocomplete_edit_proxy.h" 16 #include "chrome/test/automation/autocomplete_edit_proxy.h"
15 #include "chrome/test/automation/automation_constants.h"
16 #include "chrome/test/automation/automation_messages.h"
17 #include "chrome/test/automation/automation_proxy.h" 17 #include "chrome/test/automation/automation_proxy.h"
18 #include "chrome/test/automation/tab_proxy.h" 18 #include "chrome/test/automation/tab_proxy.h"
19 #include "chrome/test/automation/window_proxy.h" 19 #include "chrome/test/automation/window_proxy.h"
20 #include "gfx/point.h" 20 #include "gfx/point.h"
21 21
22 using base::TimeDelta; 22 using base::TimeDelta;
23 using base::TimeTicks; 23 using base::TimeTicks;
24 24
25 25
26 bool BrowserProxy::ActivateTab(int tab_index) { 26 bool BrowserProxy::ActivateTab(int tab_index) {
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 if (i == 0) 644 if (i == 0)
645 *min_start_time = start_ms; 645 *min_start_time = start_ms;
646 646
647 *min_start_time = std::min(start_ms, *min_start_time); 647 *min_start_time = std::min(start_ms, *min_start_time);
648 *max_stop_time = std::max(stop_ms, *max_stop_time); 648 *max_stop_time = std::max(stop_ms, *max_stop_time);
649 stop_times->push_back(stop_ms); 649 stop_times->push_back(stop_ms);
650 } 650 }
651 std::sort(stop_times->begin(), stop_times->end()); 651 std::sort(stop_times->begin(), stop_times->end());
652 return true; 652 return true;
653 } 653 }
OLDNEW
« no previous file with comments | « chrome/test/automation/automation_proxy_uitest.cc ('k') | chrome/test/automation/extension_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698