| 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 virtual void OnFocus() OVERRIDE; | 375 virtual void OnFocus() OVERRIDE; |
| 376 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 376 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
| 377 virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; | 377 virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; |
| 378 | 378 |
| 379 // views::ButtonListener: | 379 // views::ButtonListener: |
| 380 virtual void ButtonPressed(views::Button* sender, | 380 virtual void ButtonPressed(views::Button* sender, |
| 381 const ui::Event& event) OVERRIDE; | 381 const ui::Event& event) OVERRIDE; |
| 382 | 382 |
| 383 // views::DragController: | 383 // views::DragController: |
| 384 virtual void WriteDragDataForView(View* sender, | 384 virtual void WriteDragDataForView(View* sender, |
| 385 const gfx::Point& press_pt, | 385 const gfx::PointF& press_pt, |
| 386 OSExchangeData* data) OVERRIDE; | 386 OSExchangeData* data) OVERRIDE; |
| 387 virtual int GetDragOperationsForView(View* sender, | 387 virtual int GetDragOperationsForView(View* sender, |
| 388 const gfx::Point& p) OVERRIDE; | 388 const gfx::PointF& p) OVERRIDE; |
| 389 virtual bool CanStartDragForView(View* sender, | 389 virtual bool CanStartDragForView(View* sender, |
| 390 const gfx::Point& press_pt, | 390 const gfx::PointF& press_pt, |
| 391 const gfx::Point& p) OVERRIDE; | 391 const gfx::PointF& p) OVERRIDE; |
| 392 | 392 |
| 393 // OmniboxEditController: | 393 // OmniboxEditController: |
| 394 virtual void OnChanged() OVERRIDE; | 394 virtual void OnChanged() OVERRIDE; |
| 395 virtual void OnSetFocus() OVERRIDE; | 395 virtual void OnSetFocus() OVERRIDE; |
| 396 virtual InstantController* GetInstant() OVERRIDE; | 396 virtual InstantController* GetInstant() OVERRIDE; |
| 397 virtual const ToolbarModel* GetToolbarModel() const OVERRIDE; | 397 virtual const ToolbarModel* GetToolbarModel() const OVERRIDE; |
| 398 virtual void HideURL() OVERRIDE; | 398 virtual void HideURL() OVERRIDE; |
| 399 | 399 |
| 400 // DropdownBarHostDelegate: | 400 // DropdownBarHostDelegate: |
| 401 virtual void SetFocusAndSelection(bool select_all) OVERRIDE; | 401 virtual void SetFocusAndSelection(bool select_all) OVERRIDE; |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 // Used to register for notifications received by NotificationObserver. | 528 // Used to register for notifications received by NotificationObserver. |
| 529 content::NotificationRegistrar registrar_; | 529 content::NotificationRegistrar registrar_; |
| 530 | 530 |
| 531 // Used to bind callback functions to this object. | 531 // Used to bind callback functions to this object. |
| 532 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_; | 532 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_; |
| 533 | 533 |
| 534 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 534 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
| 535 }; | 535 }; |
| 536 | 536 |
| 537 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 537 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| OLD | NEW |