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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 virtual int PageActionCount() OVERRIDE; | 361 virtual int PageActionCount() OVERRIDE; |
362 virtual int PageActionVisibleCount() OVERRIDE; | 362 virtual int PageActionVisibleCount() OVERRIDE; |
363 virtual ExtensionAction* GetPageAction(size_t index) OVERRIDE; | 363 virtual ExtensionAction* GetPageAction(size_t index) OVERRIDE; |
364 virtual ExtensionAction* GetVisiblePageAction(size_t index) OVERRIDE; | 364 virtual ExtensionAction* GetVisiblePageAction(size_t index) OVERRIDE; |
365 virtual void TestPageActionPressed(size_t index) OVERRIDE; | 365 virtual void TestPageActionPressed(size_t index) OVERRIDE; |
366 virtual bool GetBookmarkStarVisibility() OVERRIDE; | 366 virtual bool GetBookmarkStarVisibility() OVERRIDE; |
367 | 367 |
368 // views::View: | 368 // views::View: |
369 virtual const char* GetClassName() const OVERRIDE; | 369 virtual const char* GetClassName() const OVERRIDE; |
370 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; | 370 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; |
| 371 virtual void OnFocus() OVERRIDE; |
371 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 372 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
372 virtual void PaintChildren(gfx::Canvas* canvas, | 373 virtual void PaintChildren(gfx::Canvas* canvas, |
373 const views::CullSet& cull_set) OVERRIDE; | 374 const views::CullSet& cull_set) OVERRIDE; |
374 | 375 |
375 // views::ButtonListener: | 376 // views::ButtonListener: |
376 virtual void ButtonPressed(views::Button* sender, | 377 virtual void ButtonPressed(views::Button* sender, |
377 const ui::Event& event) OVERRIDE; | 378 const ui::Event& event) OVERRIDE; |
378 | 379 |
379 // views::DragController: | 380 // views::DragController: |
380 virtual void WriteDragDataForView(View* sender, | 381 virtual void WriteDragDataForView(View* sender, |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 // Used to register for notifications received by NotificationObserver. | 522 // Used to register for notifications received by NotificationObserver. |
522 content::NotificationRegistrar registrar_; | 523 content::NotificationRegistrar registrar_; |
523 | 524 |
524 // Used to bind callback functions to this object. | 525 // Used to bind callback functions to this object. |
525 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_; | 526 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_; |
526 | 527 |
527 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 528 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
528 }; | 529 }; |
529 | 530 |
530 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 531 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
OLD | NEW |