| 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 const OmniboxView* GetOmniboxView() const override; | 353 const OmniboxView* GetOmniboxView() const override; |
| 354 LocationBarTesting* GetLocationBarForTesting() override; | 354 LocationBarTesting* GetLocationBarForTesting() override; |
| 355 | 355 |
| 356 // LocationBarTesting: | 356 // LocationBarTesting: |
| 357 int PageActionCount() override; | 357 int PageActionCount() override; |
| 358 int PageActionVisibleCount() override; | 358 int PageActionVisibleCount() override; |
| 359 ExtensionAction* GetPageAction(size_t index) override; | 359 ExtensionAction* GetPageAction(size_t index) override; |
| 360 ExtensionAction* GetVisiblePageAction(size_t index) override; | 360 ExtensionAction* GetVisiblePageAction(size_t index) override; |
| 361 void TestPageActionPressed(size_t index) override; | 361 void TestPageActionPressed(size_t index) override; |
| 362 bool GetBookmarkStarVisibility() override; | 362 bool GetBookmarkStarVisibility() override; |
| 363 bool TestContentSettingImagePressed(size_t index) override; |
| 363 | 364 |
| 364 // views::View: | 365 // views::View: |
| 365 const char* GetClassName() const override; | 366 const char* GetClassName() const override; |
| 366 void OnBoundsChanged(const gfx::Rect& previous_bounds) override; | 367 void OnBoundsChanged(const gfx::Rect& previous_bounds) override; |
| 367 void OnFocus() override; | 368 void OnFocus() override; |
| 368 void OnPaint(gfx::Canvas* canvas) override; | 369 void OnPaint(gfx::Canvas* canvas) override; |
| 369 void OnPaintBorder(gfx::Canvas* canvas) override; | 370 void OnPaintBorder(gfx::Canvas* canvas) override; |
| 370 | 371 |
| 371 // views::DragController: | 372 // views::DragController: |
| 372 void WriteDragDataForView(View* sender, | 373 void WriteDragDataForView(View* sender, |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 BooleanPrefMember edit_bookmarks_enabled_; | 464 BooleanPrefMember edit_bookmarks_enabled_; |
| 464 | 465 |
| 465 // This is a debug state variable that stores if the WebContents was null | 466 // This is a debug state variable that stores if the WebContents was null |
| 466 // during the last RefreshPageAction. | 467 // during the last RefreshPageAction. |
| 467 bool web_contents_null_at_last_refresh_; | 468 bool web_contents_null_at_last_refresh_; |
| 468 | 469 |
| 469 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 470 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
| 470 }; | 471 }; |
| 471 | 472 |
| 472 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 473 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| OLD | NEW |