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

Side by Side Diff: chrome/test/automation/window_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
« no previous file with comments | « chrome/test/automation/browser_proxy.cc ('k') | chrome/test/gpu/gpu_pixel_browsertest.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 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/window_proxy.h" 5 #include "chrome/test/automation/window_proxy.h"
6 6
7 #include <vector> 7 #include <vector>
8 #include <algorithm> 8 #include <algorithm>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "chrome/common/automation_constants.h" 11 #include "chrome/common/automation_constants.h"
12 #include "chrome/common/automation_messages.h" 12 #include "chrome/common/automation_messages.h"
13 #include "chrome/test/automation/automation_proxy.h" 13 #include "chrome/test/automation/automation_proxy.h"
14 #include "chrome/test/automation/browser_proxy.h" 14 #include "chrome/test/automation/browser_proxy.h"
15 #include "chrome/test/automation/tab_proxy.h" 15 #include "chrome/test/automation/tab_proxy.h"
16 #include "gfx/rect.h"
17 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 #include "ui/gfx/rect.h"
18 18
19 bool WindowProxy::SimulateOSClick(const gfx::Point& click, int flags) { 19 bool WindowProxy::SimulateOSClick(const gfx::Point& click, int flags) {
20 if (!is_valid()) return false; 20 if (!is_valid()) return false;
21 21
22 return sender_->Send(new AutomationMsg_WindowClick(handle_, click, flags)); 22 return sender_->Send(new AutomationMsg_WindowClick(handle_, click, flags));
23 } 23 }
24 24
25 bool WindowProxy::SimulateOSMouseMove(const gfx::Point& location) { 25 bool WindowProxy::SimulateOSMouseMove(const gfx::Point& location) {
26 if (!is_valid()) return false; 26 if (!is_valid()) return false;
27 27
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 bool WindowProxy::IsMaximized(bool* maximized) { 160 bool WindowProxy::IsMaximized(bool* maximized) {
161 if (!is_valid()) 161 if (!is_valid())
162 return false; 162 return false;
163 163
164 bool result = false; 164 bool result = false;
165 165
166 sender_->Send(new AutomationMsg_IsWindowMaximized(handle_, maximized, 166 sender_->Send(new AutomationMsg_IsWindowMaximized(handle_, maximized,
167 &result)); 167 &result));
168 return result; 168 return result;
169 } 169 }
OLDNEW
« no previous file with comments | « chrome/test/automation/browser_proxy.cc ('k') | chrome/test/gpu/gpu_pixel_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698