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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 #include "chrome/test/automation/browser_proxy.h" 5 #include "chrome/test/automation/browser_proxy.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/json/json_reader.h" 9 #include "base/json/json_reader.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/threading/platform_thread.h" 11 #include "base/threading/platform_thread.h"
12 #include "base/time.h" 12 #include "base/time.h"
13 #include "chrome/common/automation_constants.h" 13 #include "chrome/common/automation_constants.h"
14 #include "chrome/common/automation_messages.h" 14 #include "chrome/common/automation_messages.h"
15 #include "chrome/test/automation/autocomplete_edit_proxy.h" 15 #include "chrome/test/automation/autocomplete_edit_proxy.h"
16 #include "chrome/test/automation/automation_proxy.h" 16 #include "chrome/test/automation/automation_proxy.h"
17 #include "chrome/test/automation/tab_proxy.h" 17 #include "chrome/test/automation/tab_proxy.h"
18 #include "chrome/test/automation/window_proxy.h" 18 #include "chrome/test/automation/window_proxy.h"
19 #include "gfx/point.h" 19 #include "ui/gfx/point.h"
20 20
21 using base::TimeDelta; 21 using base::TimeDelta;
22 using base::TimeTicks; 22 using base::TimeTicks;
23 23
24 24
25 bool BrowserProxy::ActivateTab(int tab_index) { 25 bool BrowserProxy::ActivateTab(int tab_index) {
26 if (!is_valid()) 26 if (!is_valid())
27 return false; 27 return false;
28 28
29 int activate_tab_response = -1; 29 int activate_tab_response = -1;
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 if (i == 0) 639 if (i == 0)
640 *min_start_time = start_ms; 640 *min_start_time = start_ms;
641 641
642 *min_start_time = std::min(start_ms, *min_start_time); 642 *min_start_time = std::min(start_ms, *min_start_time);
643 *max_stop_time = std::max(stop_ms, *max_stop_time); 643 *max_stop_time = std::max(stop_ms, *max_stop_time);
644 stop_times->push_back(stop_ms); 644 stop_times->push_back(stop_ms);
645 } 645 }
646 std::sort(stop_times->begin(), stop_times->end()); 646 std::sort(stop_times->begin(), stop_times->end());
647 return true; 647 return true;
648 } 648 }
OLDNEW
« no previous file with comments | « chrome/test/automation/automation_proxy_uitest.cc ('k') | chrome/test/automation/window_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698