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

Unified Diff: chrome/browser/ui/gtk/extensions/shell_window_gtk.h

Issue 11028125: Remove legacy draggable region code and refactor to share common draggable region code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch Created 8 years, 2 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/extensions/shell_window_gtk.h
diff --git a/chrome/browser/ui/gtk/extensions/shell_window_gtk.h b/chrome/browser/ui/gtk/extensions/shell_window_gtk.h
index 8c5cf102d8aeaddf70be1922fdde8b5765c70c1e..5a2a84713d4d7c35a52e62189048b01d8c019b3c 100644
--- a/chrome/browser/ui/gtk/extensions/shell_window_gtk.h
+++ b/chrome/browser/ui/gtk/extensions/shell_window_gtk.h
@@ -11,7 +11,6 @@
#include "chrome/browser/ui/extensions/native_shell_window.h"
#include "chrome/browser/ui/extensions/shell_window.h"
#include "chrome/browser/ui/gtk/extensions/extension_view_gtk.h"
-#include "third_party/skia/include/core/SkRegion.h"
#include "ui/base/gtk/gtk_signal.h"
#include "ui/base/x/active_window_watcher_x_observer.h"
#include "ui/gfx/rect.h"
@@ -21,7 +20,6 @@ class Profile;
namespace extensions {
class Extension;
-struct DraggableRegion;
}
class ShellWindowGtk : public NativeShellWindow,
@@ -69,10 +67,6 @@ class ShellWindowGtk : public NativeShellWindow,
const extensions::Extension* extension() const {
return shell_window_->extension();
}
- virtual void UpdateDraggableRegions(
- const std::vector<extensions::DraggableRegion>& regions) OVERRIDE;
- virtual void UpdateLegacyDraggableRegions(
- const std::vector<extensions::DraggableRegion>& regions) OVERRIDE;
virtual ~ShellWindowGtk();
@@ -107,10 +101,6 @@ class ShellWindowGtk : public NativeShellWindow,
// fullscreen, however: some WMs don't support fullscreen.
bool content_thinks_its_fullscreen_;
- // The region is treated as title bar, can be dragged to move
- // and double clicked to maximize.
- SkRegion draggable_region_;
-
// If true, don't call gdk_window_raise() when we get a click in the title
// bar or window border. This is to work around a compiz bug.
bool suppress_window_raise_;

Powered by Google App Engine
This is Rietveld 408576698