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

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

Issue 1456963002: Make browser windows override_redirect when dragging tabs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make browser windows override_redirect when dragging tabs. Created 4 years, 11 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 | « ash/host/ash_window_tree_host_x11.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 362d85a679987c6b877490bdc4797511cc8a8afe..71ea184bc7d274e65f6de2faacc42e5f421b5f73 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -194,6 +194,8 @@ class Browser : public TabStripModelObserver,
// default. Intended for testing.
BrowserWindow* window;
+ bool is_being_dragged;
+
private:
friend class Browser;
@@ -465,6 +467,8 @@ class Browser : public TabStripModelObserver,
bool is_type_tabbed() const { return type_ == TYPE_TABBED; }
bool is_type_popup() const { return type_ == TYPE_POPUP; }
+ bool is_being_dragged() const { return is_being_dragged_; }
+
bool is_app() const;
bool is_devtools() const;
@@ -969,6 +973,8 @@ class Browser : public TabStripModelObserver,
scoped_ptr<ValidationMessageBubble> validation_message_bubble_;
+ bool is_being_dragged_;
+
// The following factory is used for chrome update coalescing.
base::WeakPtrFactory<Browser> chrome_updater_factory_;
« no previous file with comments | « ash/host/ash_window_tree_host_x11.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698