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

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

Issue 10834205: Draggable region support for frameless app window on GTK. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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 609b8ef7d509e17ab64fdc5ce00d2bfa28766dfb..0af6be6a85b3d9fcea78ea4262501e4ab2bc828c 100644
--- a/chrome/browser/ui/gtk/browser_window_gtk.h
+++ b/chrome/browser/ui/gtk/browser_window_gtk.h
@@ -204,8 +204,7 @@ class BrowserWindowGtk : public BrowserWindow,
void OnDebouncedBoundsChanged();
- // Request the underlying window to unmaximize. Also tries to work around
- // a window manager "feature" that can prevent this in some edge cases.
+ // Request the underlying window to unmaximize.
void UnMaximize();
// Returns false if we're not ready to close yet. E.g., a tab may have an
@@ -279,9 +278,7 @@ class BrowserWindowGtk : public BrowserWindow,
// Draws the frame, including background, border and drop shadow.
virtual void DrawFrame(GtkWidget* widget, GdkEventExpose* event);
- virtual bool HandleTitleBarLeftMousePress(GdkEventButton* event,
- guint32 last_click_time,
- gfx::Point last_click_position);
+ virtual bool HandleTitleBarLeftMousePress(GdkEventButton* event);
// Returns true if handled.
virtual bool HandleWindowEdgeLeftMousePress(GtkWindow* window,
@@ -462,9 +459,6 @@ class BrowserWindowGtk : public BrowserWindow,
bool IsToolbarSupported() const;
bool IsBookmarkBarSupported() const;
- // Returns |true| if the window bounds match the monitor size.
- bool BoundsMatchMonitorSize();
-
// Put the bookmark bar where it belongs.
void PlaceBookmarkBar(bool is_floating);
@@ -552,11 +546,6 @@ class BrowserWindowGtk : public BrowserWindow,
// this will always be true.
bool is_active_;
- // Keep track of the last click time and the last click position so we can
- // filter out extra GDK_BUTTON_PRESS events when a double click happens.
- guint32 last_click_time_;
- gfx::Point last_click_position_;
-
// Optionally maximize or minimize the window after we call
// BrowserWindow::Show for the first time. This is to work around a compiz
// bug.
« 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