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

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

Issue 12220101: Minimal Chrome Frame with Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert install_worker.cc to un-break win64 build Created 7 years, 9 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 #include "chrome/test/automation/tab_proxy.h" 5 #include "chrome/test/automation/tab_proxy.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/json/json_string_value_serializer.h" 9 #include "base/json/json_string_value_serializer.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 if (!SendGetIndicesFromTabHandleJSONRequest( 378 if (!SendGetIndicesFromTabHandleJSONRequest(
379 sender_, handle_, &browser_index, &tab_index, &error)) { 379 sender_, handle_, &browser_index, &tab_index, &error)) {
380 return false; 380 return false;
381 } 381 }
382 382
383 return SendCaptureEntirePageJSONRequest( 383 return SendCaptureEntirePageJSONRequest(
384 sender_, WebViewLocator::ForIndexPair(browser_index, tab_index), 384 sender_, WebViewLocator::ForIndexPair(browser_index, tab_index),
385 path, &error); 385 path, &error);
386 } 386 }
387 387
388 #if defined(OS_WIN) && !defined(USE_AURA) 388 #if defined(OS_WIN)
389 void TabProxy::Reposition(HWND window, HWND window_insert_after, int left, 389 void TabProxy::Reposition(HWND window, HWND window_insert_after, int left,
390 int top, int width, int height, int flags, 390 int top, int width, int height, int flags,
391 HWND parent_window) { 391 HWND parent_window) {
392 Reposition_Params params; 392 Reposition_Params params;
393 params.window = window; 393 params.window = window;
394 params.window_insert_after = window_insert_after; 394 params.window_insert_after = window_insert_after;
395 params.left = left; 395 params.left = left;
396 params.top = top; 396 params.top = top;
397 params.width = width; 397 params.width = width;
398 params.height = height; 398 params.height = height;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 477
478 TabProxy::~TabProxy() {} 478 TabProxy::~TabProxy() {}
479 479
480 void TabProxy::FirstObjectAdded() { 480 void TabProxy::FirstObjectAdded() {
481 AddRef(); 481 AddRef();
482 } 482 }
483 483
484 void TabProxy::LastObjectRemoved() { 484 void TabProxy::LastObjectRemoved() {
485 Release(); 485 Release();
486 } 486 }
OLDNEW
« no previous file with comments | « chrome/test/automation/automation_proxy.cc ('k') | chrome_frame/test/chrome_frame_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698