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

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

Issue 10169019: Add PanelBrowserTitlebarGtk for panels on GTK. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Patch to land Created 8 years, 8 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/browser_window_gtk.cc ('k') | chrome/browser/ui/panels/panel_browser_titlebar_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_browser_titlebar_gtk.h
diff --git a/chrome/browser/ui/panels/panel_browser_titlebar_gtk.h b/chrome/browser/ui/panels/panel_browser_titlebar_gtk.h
new file mode 100644
index 0000000000000000000000000000000000000000..0081215f11d3c6ea54b4f6ce5d9ba114f6063b96
--- /dev/null
+++ b/chrome/browser/ui/panels/panel_browser_titlebar_gtk.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_TITLEBAR_GTK_H_
+#define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_TITLEBAR_GTK_H_
+
+#include "chrome/browser/ui/gtk/browser_titlebar.h"
+
+class PanelBrowserTitlebarGtk : public BrowserTitlebar {
+ public:
+ PanelBrowserTitlebarGtk(BrowserWindowGtk* browser_window, GtkWindow* window);
+ virtual ~PanelBrowserTitlebarGtk();
+
+ protected:
+ // Overridden from BrowserTitlebar:
+ virtual bool BuildButton(const std::string& button_token,
+ bool left_side) OVERRIDE;
+ virtual void ShowFaviconMenu(GdkEventButton* event) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(PanelBrowserTitlebarGtk);
+};
+
+#endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_TITLEBAR_GTK_H_
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/panels/panel_browser_titlebar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698