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

Unified Diff: chrome/browser/ui/panels/panel_browser_view.h

Issue 7605009: Implement drag and drop testing in a platform independent way. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review feedback and build bot errors for windows. Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/panels/panel_browser_view.h
diff --git a/chrome/browser/ui/panels/panel_browser_view.h b/chrome/browser/ui/panels/panel_browser_view.h
index e6b72768512a286b5fd74a22fac50fffd2363ce8..b55453777fa799c0a38244607e3d11096ea1bc13 100644
--- a/chrome/browser/ui/panels/panel_browser_view.h
+++ b/chrome/browser/ui/panels/panel_browser_view.h
@@ -15,6 +15,7 @@
class Browser;
class Panel;
+class NativePanelTestingWin;
class PanelBrowserFrameView;
namespace ui {
class SlideAnimation;
@@ -23,7 +24,6 @@ class SlideAnimation;
// A browser view that implements Panel specific behavior.
class PanelBrowserView : public BrowserView,
public NativePanel,
- public NativePanelTesting,
public ui::AnimationDelegate {
public:
PanelBrowserView(Browser* browser, Panel* panel, const gfx::Rect& bounds);
@@ -43,6 +43,7 @@ class PanelBrowserView : public BrowserView,
bool OnTitleBarMouseCaptureLost();
private:
+ friend class NativePanelTestingWin;
friend class PanelBrowserViewTest;
FRIEND_TEST_ALL_PREFIXES(PanelBrowserViewTest, CreatePanel);
FRIEND_TEST_ALL_PREFIXES(PanelBrowserViewTest, ShowOrHideSettingsButton);
@@ -90,7 +91,6 @@ class PanelBrowserView : public BrowserView,
virtual bool IsDrawingAttention() const OVERRIDE;
virtual Browser* GetPanelBrowser() const OVERRIDE;
virtual void DestroyPanelBrowser() OVERRIDE;
- virtual NativePanelTesting* GetNativePanelTesting() OVERRIDE;
// Overridden from AnimationDelegate:
virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698