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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 OnPaint(gfx::Canvas* canvas) OVERRIDE; | 372 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
373 virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; | 373 virtual void PaintChildren(gfx::Canvas* canvas, |
| 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, |
381 const gfx::Point& press_pt, | 382 const gfx::Point& press_pt, |
382 OSExchangeData* data) OVERRIDE; | 383 OSExchangeData* data) OVERRIDE; |
383 virtual int GetDragOperationsForView(View* sender, | 384 virtual int GetDragOperationsForView(View* sender, |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 // Used to register for notifications received by NotificationObserver. | 525 // Used to register for notifications received by NotificationObserver. |
525 content::NotificationRegistrar registrar_; | 526 content::NotificationRegistrar registrar_; |
526 | 527 |
527 // Used to bind callback functions to this object. | 528 // Used to bind callback functions to this object. |
528 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_; | 529 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_; |
529 | 530 |
530 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 531 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
531 }; | 532 }; |
532 | 533 |
533 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 534 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
OLD | NEW |