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

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

Issue 10106008: Change Panel titlebars to activate the panel on click (rather than minimize). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win compile 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
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_browser_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_browser_view.h
diff --git a/chrome/browser/ui/panels/panel_browser_view.h b/chrome/browser/ui/panels/panel_browser_view.h
index e4fa817a0e4e5eb88a79099f7b7406e047246ea7..a8e20deb4b607d26815cd03c7773202ffb76457f 100644
--- a/chrome/browser/ui/panels/panel_browser_view.h
+++ b/chrome/browser/ui/panels/panel_browser_view.h
@@ -8,7 +8,6 @@
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
-#include "base/time.h"
#include "chrome/browser/ui/panels/native_panel.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "content/public/browser/notification_observer.h"
@@ -166,9 +165,6 @@ class PanelBrowserView : public BrowserView,
// This point is represented in the screen coordinate system.
gfx::Point last_mouse_location_;
- // Timestamp when the mouse was pressed. Used to detect long click.
- base::TimeTicks mouse_pressed_time_;
-
// Is the titlebar currently being dragged? That is, has the cursor
// moved more than kDragThreshold away from its starting position?
MouseDraggingState mouse_dragging_state_;
@@ -180,10 +176,6 @@ class PanelBrowserView : public BrowserView,
// Is the panel in highlighted state to draw people's attention?
bool is_drawing_attention_;
- // Timestamp to prevent minimizing the panel when the user clicks the titlebar
- // to clear the attension state.
- base::TimeTicks attention_cleared_time_;
-
// The last view that had focus in the panel. This is saved so that focus can
// be restored properly when a drag ends.
views::View* old_focused_view_;
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698