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