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

Side by Side Diff: chrome/test/automation/automation_json_requests.h

Issue 10388251: Support maximize window command. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ 5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_
6 #define CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 // Requests to set the given view's bounds. Returns true on success. 417 // Requests to set the given view's bounds. Returns true on success.
418 bool SendSetViewBoundsJSONRequest( 418 bool SendSetViewBoundsJSONRequest(
419 AutomationMessageSender* sender, 419 AutomationMessageSender* sender,
420 const WebViewId& id, 420 const WebViewId& id,
421 int x, 421 int x,
422 int y, 422 int y,
423 int width, 423 int width,
424 int height, 424 int height,
425 automation::Error* error) WARN_UNUSED_RESULT; 425 automation::Error* error) WARN_UNUSED_RESULT;
426 426
427 // Requests to maximize the given view. Returns true on success.
428 bool SendMaximizeJSONRequest(
429 AutomationMessageSender* sender,
430 const WebViewId& id,
431 automation::Error* error) WARN_UNUSED_RESULT;
432
427 // Requests to get the active JavaScript modal dialog's message. Returns true 433 // Requests to get the active JavaScript modal dialog's message. Returns true
428 // on success. 434 // on success.
429 bool SendGetAppModalDialogMessageJSONRequest( 435 bool SendGetAppModalDialogMessageJSONRequest(
430 AutomationMessageSender* sender, 436 AutomationMessageSender* sender,
431 std::string* message, 437 std::string* message,
432 automation::Error* error) WARN_UNUSED_RESULT; 438 automation::Error* error) WARN_UNUSED_RESULT;
433 439
434 // Requests to accept or dismiss the active JavaScript modal dialog. 440 // Requests to accept or dismiss the active JavaScript modal dialog.
435 // Returns true on success. 441 // Returns true on success.
436 bool SendAcceptOrDismissAppModalDialogJSONRequest( 442 bool SendAcceptOrDismissAppModalDialogJSONRequest(
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 base::Value* value, 526 base::Value* value,
521 automation::Error* error) WARN_UNUSED_RESULT; 527 automation::Error* error) WARN_UNUSED_RESULT;
522 528
523 // Requests to override the user's geolocation. Returns true on success. 529 // Requests to override the user's geolocation. Returns true on success.
524 bool SendOverrideGeolocationJSONRequest( 530 bool SendOverrideGeolocationJSONRequest(
525 AutomationMessageSender* sender, 531 AutomationMessageSender* sender,
526 base::DictionaryValue* geolocation, 532 base::DictionaryValue* geolocation,
527 automation::Error* error) WARN_UNUSED_RESULT; 533 automation::Error* error) WARN_UNUSED_RESULT;
528 534
529 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ 535 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698