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