OLD | NEW |
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_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 virtual string16 GetTitle() const OVERRIDE; | 264 virtual string16 GetTitle() const OVERRIDE; |
265 virtual InstantController* GetInstant() OVERRIDE; | 265 virtual InstantController* GetInstant() OVERRIDE; |
266 virtual content::WebContents* GetWebContents() const OVERRIDE; | 266 virtual content::WebContents* GetWebContents() const OVERRIDE; |
267 | 267 |
268 // Overridden from views::View: | 268 // Overridden from views::View: |
269 virtual std::string GetClassName() const OVERRIDE; | 269 virtual std::string GetClassName() const OVERRIDE; |
270 virtual bool SkipDefaultKeyEventProcessing( | 270 virtual bool SkipDefaultKeyEventProcessing( |
271 const ui::KeyEvent& event) OVERRIDE; | 271 const ui::KeyEvent& event) OVERRIDE; |
272 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 272 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
273 virtual bool HasFocus() const OVERRIDE; | 273 virtual bool HasFocus() const OVERRIDE; |
| 274 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; |
274 | 275 |
275 // Overridden from views::DragController: | 276 // Overridden from views::DragController: |
276 virtual void WriteDragDataForView(View* sender, | 277 virtual void WriteDragDataForView(View* sender, |
277 const gfx::Point& press_pt, | 278 const gfx::Point& press_pt, |
278 OSExchangeData* data) OVERRIDE; | 279 OSExchangeData* data) OVERRIDE; |
279 virtual int GetDragOperationsForView(View* sender, | 280 virtual int GetDragOperationsForView(View* sender, |
280 const gfx::Point& p) OVERRIDE; | 281 const gfx::Point& p) OVERRIDE; |
281 virtual bool CanStartDragForView(View* sender, | 282 virtual bool CanStartDragForView(View* sender, |
282 const gfx::Point& press_pt, | 283 const gfx::Point& press_pt, |
283 const gfx::Point& p) OVERRIDE; | 284 const gfx::Point& p) OVERRIDE; |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 // in the right location. | 515 // in the right location. |
515 int animation_offset_; | 516 int animation_offset_; |
516 | 517 |
517 // Used to register for notifications received by NotificationObserver. | 518 // Used to register for notifications received by NotificationObserver. |
518 content::NotificationRegistrar registrar_; | 519 content::NotificationRegistrar registrar_; |
519 | 520 |
520 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView); | 521 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView); |
521 }; | 522 }; |
522 | 523 |
523 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 524 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
OLD | NEW |