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

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

Issue 10987037: Add tests for panel app icon functionaility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch to land Created 8 years, 2 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
« no previous file with comments | « chrome/browser/ui/gtk/panels/panel_gtk.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/native_panel.h
diff --git a/chrome/browser/ui/panels/native_panel.h b/chrome/browser/ui/panels/native_panel.h
index 7a58ee16f66feb3bd5775e1fceacda2fa59b2d8a..bcca384a474a0858cba60334e0f4857a03e73dee 100644
--- a/chrome/browser/ui/panels/native_panel.h
+++ b/chrome/browser/ui/panels/native_panel.h
@@ -26,6 +26,7 @@ class NativePanel {
friend class Panel;
friend class PanelBrowserWindow;
friend class PanelBrowserTest;
+ friend class PanelExtensionBrowserTest;
protected:
virtual ~NativePanel() {}
@@ -110,6 +111,9 @@ class NativePanelTesting {
// Verifies, on a deepest possible level, if the native panel is really
// active, i.e. the titlebar is painted per its active state.
virtual bool VerifyActiveState(bool is_active) = 0;
+ // Verifies, on a deepest possible level, if the native panel is really
+ // showing a correct app icon (taskbar icon).
+ virtual bool VerifyAppIcon() const = 0;
virtual void WaitForWindowCreationToComplete() const { }
virtual bool IsWindowSizeKnown() const = 0;
« no previous file with comments | « chrome/browser/ui/gtk/panels/panel_gtk.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698