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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_drag_controller.h

Issue 11414266: Hide new Autofill Popup on Main Widget Resize or Move. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years 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
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_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 virtual void Observe(int type, 236 virtual void Observe(int type,
237 const content::NotificationSource& source, 237 const content::NotificationSource& source,
238 const content::NotificationDetails& details) OVERRIDE; 238 const content::NotificationDetails& details) OVERRIDE;
239 239
240 // Overridden from MessageLoop::Observer: 240 // Overridden from MessageLoop::Observer:
241 virtual base::EventStatus WillProcessEvent( 241 virtual base::EventStatus WillProcessEvent(
242 const base::NativeEvent& event) OVERRIDE; 242 const base::NativeEvent& event) OVERRIDE;
243 virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; 243 virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE;
244 244
245 // Overriden from views::WidgetObserver: 245 // Overriden from views::WidgetObserver:
246 virtual void OnWidgetMoved(views::Widget* widget) OVERRIDE; 246 virtual void OnWidgetBoundsChanged(views::Widget* widget,
247 const gfx::Rect& new_bounds) OVERRIDE;
247 248
248 // Overriden from TabStripModelObserver: 249 // Overriden from TabStripModelObserver:
249 virtual void TabStripEmpty() OVERRIDE; 250 virtual void TabStripEmpty() OVERRIDE;
250 251
251 // Initialize the offset used to calculate the position to create windows 252 // Initialize the offset used to calculate the position to create windows
252 // in |GetWindowCreatePoint|. This should only be invoked from |Init|. 253 // in |GetWindowCreatePoint|. This should only be invoked from |Init|.
253 void InitWindowCreatePoint(); 254 void InitWindowCreatePoint();
254 255
255 // Returns the point where a detached window should be created given the 256 // Returns the point where a detached window should be created given the
256 // current mouse position |origin|. 257 // current mouse position |origin|.
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 // If non-null set to true from destructor. 602 // If non-null set to true from destructor.
602 bool* destroyed_; 603 bool* destroyed_;
603 604
604 // See description above getter. 605 // See description above getter.
605 bool is_mutating_; 606 bool is_mutating_;
606 607
607 DISALLOW_COPY_AND_ASSIGN(TabDragController); 608 DISALLOW_COPY_AND_ASSIGN(TabDragController);
608 }; 609 };
609 610
610 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ 611 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/autofill/autofill_popup_view_views.cc ('k') | chrome/browser/ui/views/tabs/tab_drag_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698