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

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

Issue 12813004: Chromium style checker cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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/browser/ui/panels/base_panel_browser_test.h" 5 #include "chrome/browser/ui/panels/base_panel_browser_test.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 class MockDisplaySettingsProviderImpl : 58 class MockDisplaySettingsProviderImpl :
59 public BasePanelBrowserTest::MockDisplaySettingsProvider { 59 public BasePanelBrowserTest::MockDisplaySettingsProvider {
60 public: 60 public:
61 explicit MockDisplaySettingsProviderImpl(); 61 explicit MockDisplaySettingsProviderImpl();
62 virtual ~MockDisplaySettingsProviderImpl() { } 62 virtual ~MockDisplaySettingsProviderImpl() { }
63 63
64 // Overridden from DisplaySettingsProvider: 64 // Overridden from DisplaySettingsProvider:
65 virtual gfx::Rect GetPrimaryDisplayArea() const OVERRIDE; 65 virtual gfx::Rect GetPrimaryDisplayArea() const OVERRIDE;
66 virtual gfx::Rect GetPrimaryWorkArea() const OVERRIDE; 66 virtual gfx::Rect GetPrimaryWorkArea() const OVERRIDE;
67 virtual gfx::Rect GetDisplayAreaMatching(const gfx::Rect& bounds) const; 67 virtual gfx::Rect GetDisplayAreaMatching(
68 virtual gfx::Rect GetWorkAreaMatching(const gfx::Rect& bounds) const; 68 const gfx::Rect& bounds) const OVERRIDE;
69 virtual gfx::Rect GetWorkAreaMatching(
70 const gfx::Rect& bounds) const OVERRIDE;
69 virtual bool IsAutoHidingDesktopBarEnabled( 71 virtual bool IsAutoHidingDesktopBarEnabled(
70 DesktopBarAlignment alignment) OVERRIDE; 72 DesktopBarAlignment alignment) OVERRIDE;
71 virtual int GetDesktopBarThickness( 73 virtual int GetDesktopBarThickness(
72 DesktopBarAlignment alignment) const OVERRIDE; 74 DesktopBarAlignment alignment) const OVERRIDE;
73 virtual DesktopBarVisibility GetDesktopBarVisibility( 75 virtual DesktopBarVisibility GetDesktopBarVisibility(
74 DesktopBarAlignment alignment) const OVERRIDE; 76 DesktopBarAlignment alignment) const OVERRIDE;
75 77
76 // Overridden from MockDisplaySettingsProvider: 78 // Overridden from MockDisplaySettingsProvider:
77 virtual void SetPrimaryDisplay( 79 virtual void SetPrimaryDisplay(
78 const gfx::Rect& display_area, const gfx::Rect& work_area) OVERRIDE; 80 const gfx::Rect& display_area, const gfx::Rect& work_area) OVERRIDE;
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 } 512 }
511 513
512 void BasePanelBrowserTest::MoveMouse(const gfx::Point& position) { 514 void BasePanelBrowserTest::MoveMouse(const gfx::Point& position) {
513 PanelManager::GetInstance()->mouse_watcher()->NotifyMouseMovement(position); 515 PanelManager::GetInstance()->mouse_watcher()->NotifyMouseMovement(position);
514 } 516 }
515 517
516 std::string BasePanelBrowserTest::MakePanelName(int index) { 518 std::string BasePanelBrowserTest::MakePanelName(int index) {
517 std::string panel_name("Panel"); 519 std::string panel_name("Panel");
518 return panel_name + base::IntToString(index); 520 return panel_name + base::IntToString(index);
519 } 521 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698