| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 class InstantController; | 42 class InstantController; |
| 43 class KeywordHintView; | 43 class KeywordHintView; |
| 44 class LocationIconView; | 44 class LocationIconView; |
| 45 class PageActionWithBadgeView; | 45 class PageActionWithBadgeView; |
| 46 class SelectedKeywordView; | 46 class SelectedKeywordView; |
| 47 class StarView; | 47 class StarView; |
| 48 class TabContents; | 48 class TabContents; |
| 49 class TabContentsWrapper; | 49 class TabContentsWrapper; |
| 50 class TemplateURLService; | 50 class TemplateURLService; |
| 51 | 51 |
| 52 namespace views { | |
| 53 class Accelerator; | |
| 54 class HorizontalPainter; | |
| 55 class Label; | |
| 56 } // namespace views | |
| 57 | |
| 58 #if defined(OS_WIN) || defined(USE_AURA) | 52 #if defined(OS_WIN) || defined(USE_AURA) |
| 59 class SuggestedTextView; | 53 class SuggestedTextView; |
| 60 #endif | 54 #endif |
| 61 | 55 |
| 62 ///////////////////////////////////////////////////////////////////////////// | 56 ///////////////////////////////////////////////////////////////////////////// |
| 63 // | 57 // |
| 64 // LocationBarView class | 58 // LocationBarView class |
| 65 // | 59 // |
| 66 // The LocationBarView class is a View subclass that paints the background | 60 // The LocationBarView class is a View subclass that paints the background |
| 67 // of the URL bar strip and contains its content. | 61 // of the URL bar strip and contains its content. |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 // While animating, the host clips the widget and draws only the bottom | 422 // While animating, the host clips the widget and draws only the bottom |
| 429 // part of it. The view needs to know the pixel offset at which we are drawing | 423 // part of it. The view needs to know the pixel offset at which we are drawing |
| 430 // the widget so that we can draw the curved edges that attach to the toolbar | 424 // the widget so that we can draw the curved edges that attach to the toolbar |
| 431 // in the right location. | 425 // in the right location. |
| 432 int animation_offset_; | 426 int animation_offset_; |
| 433 | 427 |
| 434 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView); | 428 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView); |
| 435 }; | 429 }; |
| 436 | 430 |
| 437 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 431 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| OLD | NEW |