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

Side by Side Diff: chrome/browser/ui/panels/base_panel_browser_test.cc

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 2 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
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/browser/ui/panels/base_panel_browser_test.h" 5 #include "chrome/browser/ui/panels/base_panel_browser_test.h"
6 6
7 #include "chrome/browser/ui/browser_list.h" 7 #include "chrome/browser/ui/browser_list.h"
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 22 matching lines...) Expand all
33 #include "ui/base/x/x11_util.h" 33 #include "ui/base/x/x11_util.h"
34 #endif 34 #endif
35 35
36 #if defined(OS_MACOSX) 36 #if defined(OS_MACOSX)
37 #include "base/mac/scoped_nsautorelease_pool.h" 37 #include "base/mac/scoped_nsautorelease_pool.h"
38 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" 38 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h"
39 #include "chrome/browser/ui/cocoa/run_loop_testing.h" 39 #include "chrome/browser/ui/cocoa/run_loop_testing.h"
40 #endif 40 #endif
41 41
42 using content::WebContentsTester; 42 using content::WebContentsTester;
43 using extensions::Extension;
43 44
44 namespace { 45 namespace {
45 46
46 const gfx::Rect kTestingPrimaryScreenArea = gfx::Rect(0, 0, 800, 600); 47 const gfx::Rect kTestingPrimaryScreenArea = gfx::Rect(0, 0, 800, 600);
47 const gfx::Rect kTestingWorkArea = gfx::Rect(0, 0, 800, 580); 48 const gfx::Rect kTestingWorkArea = gfx::Rect(0, 0, 800, 580);
48 49
49 struct MockDesktopBar { 50 struct MockDesktopBar {
50 bool auto_hiding_enabled; 51 bool auto_hiding_enabled;
51 DisplaySettingsProvider::DesktopBarVisibility visibility; 52 DisplaySettingsProvider::DesktopBarVisibility visibility;
52 int thickness; 53 int thickness;
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 } 490 }
490 491
491 void BasePanelBrowserTest::MoveMouse(const gfx::Point& position) { 492 void BasePanelBrowserTest::MoveMouse(const gfx::Point& position) {
492 PanelManager::GetInstance()->mouse_watcher()->NotifyMouseMovement(position); 493 PanelManager::GetInstance()->mouse_watcher()->NotifyMouseMovement(position);
493 } 494 }
494 495
495 std::string BasePanelBrowserTest::MakePanelName(int index) { 496 std::string BasePanelBrowserTest::MakePanelName(int index) {
496 std::string panel_name("Panel"); 497 std::string panel_name("Panel");
497 return panel_name + base::IntToString(index); 498 return panel_name + base::IntToString(index);
498 } 499 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698