| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 int PageActionVisibleCount() override; | 353 int PageActionVisibleCount() override; |
| 354 ExtensionAction* GetPageAction(size_t index) override; | 354 ExtensionAction* GetPageAction(size_t index) override; |
| 355 ExtensionAction* GetVisiblePageAction(size_t index) override; | 355 ExtensionAction* GetVisiblePageAction(size_t index) override; |
| 356 void TestPageActionPressed(size_t index) override; | 356 void TestPageActionPressed(size_t index) override; |
| 357 bool GetBookmarkStarVisibility() override; | 357 bool GetBookmarkStarVisibility() override; |
| 358 | 358 |
| 359 // views::View: | 359 // views::View: |
| 360 const char* GetClassName() const override; | 360 const char* GetClassName() const override; |
| 361 void OnBoundsChanged(const gfx::Rect& previous_bounds) override; | 361 void OnBoundsChanged(const gfx::Rect& previous_bounds) override; |
| 362 void OnFocus() override; | 362 void OnFocus() override; |
| 363 void OnBlur() override; |
| 363 void OnPaint(gfx::Canvas* canvas) override; | 364 void OnPaint(gfx::Canvas* canvas) override; |
| 364 void PaintChildren(const ui::PaintContext& context) override; | 365 void PaintChildren(const ui::PaintContext& context) override; |
| 365 | 366 |
| 366 // views::DragController: | 367 // views::DragController: |
| 367 void WriteDragDataForView(View* sender, | 368 void WriteDragDataForView(View* sender, |
| 368 const gfx::Point& press_pt, | 369 const gfx::Point& press_pt, |
| 369 OSExchangeData* data) override; | 370 OSExchangeData* data) override; |
| 370 int GetDragOperationsForView(View* sender, const gfx::Point& p) override; | 371 int GetDragOperationsForView(View* sender, const gfx::Point& p) override; |
| 371 bool CanStartDragForView(View* sender, | 372 bool CanStartDragForView(View* sender, |
| 372 const gfx::Point& press_pt, | 373 const gfx::Point& press_pt, |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 BooleanPrefMember edit_bookmarks_enabled_; | 470 BooleanPrefMember edit_bookmarks_enabled_; |
| 470 | 471 |
| 471 // This is a debug state variable that stores if the WebContents was null | 472 // This is a debug state variable that stores if the WebContents was null |
| 472 // during the last RefreshPageAction. | 473 // during the last RefreshPageAction. |
| 473 bool web_contents_null_at_last_refresh_; | 474 bool web_contents_null_at_last_refresh_; |
| 474 | 475 |
| 475 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 476 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
| 476 }; | 477 }; |
| 477 | 478 |
| 478 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 479 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| OLD | NEW |