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

Unified Diff: chrome/browser/ui/gtk/browser_window_gtk.h

Issue 10262025: Make bottom corners of panels not rounded on GTK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | « no previous file | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/browser_window_gtk.h
diff --git a/chrome/browser/ui/gtk/browser_window_gtk.h b/chrome/browser/ui/gtk/browser_window_gtk.h
index 64bc34498e91ae26bcf65fcd9504c3b6e90d14a8..037bf876c8d06b253edb8cd6bc2d40ea951b3f4c 100644
--- a/chrome/browser/ui/gtk/browser_window_gtk.h
+++ b/chrome/browser/ui/gtk/browser_window_gtk.h
@@ -262,6 +262,14 @@ class BrowserWindowGtk : public BrowserWindow,
// it should and sets |edge|.
virtual bool GetWindowEdge(int x, int y, GdkWindowEdge* edge);
+ // Returns the window shape for the window with |width| and |height|.
+ // The caller is responsible for destroying the region if non-null region is
+ // returned.
+ virtual GdkRegion* GetWindowShape(int width, int height) const;
+
+ // Draws the border, including resizable corners, for the custom frame.
+ virtual void DrawCustomFrameBorder(GtkWidget* widget);
+
virtual bool HandleTitleBarLeftMousePress(GdkEventButton* event,
guint32 last_click_time,
gfx::Point last_click_position);
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698