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

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 6 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
« no previous file with comments | « chrome/browser/ui/panels/base_panel_browser_test.h ('k') | chrome/browser/ui/panels/panel.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) 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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 } 500 }
500 501
501 void BasePanelBrowserTest::MoveMouse(const gfx::Point& position) { 502 void BasePanelBrowserTest::MoveMouse(const gfx::Point& position) {
502 PanelManager::GetInstance()->mouse_watcher()->NotifyMouseMovement(position); 503 PanelManager::GetInstance()->mouse_watcher()->NotifyMouseMovement(position);
503 } 504 }
504 505
505 std::string BasePanelBrowserTest::MakePanelName(int index) { 506 std::string BasePanelBrowserTest::MakePanelName(int index) {
506 std::string panel_name("Panel"); 507 std::string panel_name("Panel");
507 return panel_name + base::IntToString(index); 508 return panel_name + base::IntToString(index);
508 } 509 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/base_panel_browser_test.h ('k') | chrome/browser/ui/panels/panel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698