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

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

Issue 244003: Kiosk Mode implementation (Closed)
Patch Set: Finally fix MACOSX Created 11 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
« no previous file with comments | « chrome/test/automation/browser_proxy.h ('k') | chrome/test/test_browser_window.h » ('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/browser_proxy.h" 5 #include "chrome/test/automation/browser_proxy.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/gfx/point.h" 9 #include "base/gfx/point.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 if (!p) { 450 if (!p) {
451 p = new AutocompleteEditProxy(sender_, tracker_, autocomplete_edit_handle); 451 p = new AutocompleteEditProxy(sender_, tracker_, autocomplete_edit_handle);
452 p->AddRef(); 452 p->AddRef();
453 } 453 }
454 454
455 // Since there is no scoped_refptr::attach. 455 // Since there is no scoped_refptr::attach.
456 scoped_refptr<AutocompleteEditProxy> result; 456 scoped_refptr<AutocompleteEditProxy> result;
457 result.swap(&p); 457 result.swap(&p);
458 return result; 458 return result;
459 } 459 }
460
461 bool BrowserProxy::IsFullscreen(bool* is_fullscreen) {
462 DCHECK(is_fullscreen);
463
464 if (!is_valid())
465 return false;
466
467 return sender_->Send(new AutomationMsg_IsFullscreen(0, handle_,
468 is_fullscreen));
469 }
470
471 bool BrowserProxy::IsFullscreenBubbleVisible(bool* is_visible) {
472 DCHECK(is_visible);
473
474 if (!is_valid())
475 return false;
476
477 return sender_->Send(new AutomationMsg_IsFullscreenBubbleVisible(0, handle_,
478 is_visible));
479 }
OLDNEW
« no previous file with comments | « chrome/test/automation/browser_proxy.h ('k') | chrome/test/test_browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698