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

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 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
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..9390b50912a8b9381cdc04ce169b72149942a420 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 to destroy the region if non-null region is
jennb 2012/05/01 01:01:30 responsible for destroying
+ // 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') | chrome/browser/ui/gtk/browser_window_gtk.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698