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

Side by Side Diff: chrome/browser/ui/panels/panel_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, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/browser/ui/gtk/browser_window_gtk.h" 10 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 const content::NotificationDetails& details) OVERRIDE; 48 const content::NotificationDetails& details) OVERRIDE;
49 49
50 PaintState GetPaintState() const; 50 PaintState GetPaintState() const;
51 51
52 Panel* panel() const { return panel_.get(); } 52 Panel* panel() const { return panel_.get(); }
53 53
54 protected: 54 protected:
55 // BrowserWindowGtk overrides 55 // BrowserWindowGtk overrides
56 virtual BrowserTitlebar* CreateBrowserTitlebar() OVERRIDE; 56 virtual BrowserTitlebar* CreateBrowserTitlebar() OVERRIDE;
57 virtual bool GetWindowEdge(int x, int y, GdkWindowEdge* edge) OVERRIDE; 57 virtual bool GetWindowEdge(int x, int y, GdkWindowEdge* edge) OVERRIDE;
58 virtual GdkRegion* GetWindowShape(int width, int height) const OVERRIDE;
59 virtual void DrawCustomFrameBorder(GtkWidget* widget) OVERRIDE;
58 virtual bool HandleTitleBarLeftMousePress( 60 virtual bool HandleTitleBarLeftMousePress(
59 GdkEventButton* event, 61 GdkEventButton* event,
60 guint32 last_click_time, 62 guint32 last_click_time,
61 gfx::Point last_click_position) OVERRIDE; 63 gfx::Point last_click_position) OVERRIDE;
62 virtual bool HandleWindowEdgeLeftMousePress( 64 virtual bool HandleWindowEdgeLeftMousePress(
63 GtkWindow* window, 65 GtkWindow* window,
64 GdkWindowEdge edge, 66 GdkWindowEdge edge,
65 GdkEventButton* event) OVERRIDE; 67 GdkEventButton* event) OVERRIDE;
66 virtual void SaveWindowPosition() OVERRIDE; 68 virtual void SaveWindowPosition() OVERRIDE;
67 virtual void SetGeometryHints() OVERRIDE; 69 virtual void SetGeometryHints() OVERRIDE;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 // current one completes. In this case, we want to start the new animation 161 // current one completes. In this case, we want to start the new animation
160 // from where the last one left. 162 // from where the last one left.
161 gfx::Rect last_animation_progressed_bounds_; 163 gfx::Rect last_animation_progressed_bounds_;
162 164
163 content::NotificationRegistrar registrar_; 165 content::NotificationRegistrar registrar_;
164 166
165 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk); 167 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk);
166 }; 168 };
167 169
168 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ 170 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/panels/panel_browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698