OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_VIEWS_LOCATION_BAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_ |
6 #define CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 118 |
119 // AutocompleteEditController | 119 // AutocompleteEditController |
120 virtual void OnAutocompleteAccept(const GURL& url, | 120 virtual void OnAutocompleteAccept(const GURL& url, |
121 WindowOpenDisposition disposition, | 121 WindowOpenDisposition disposition, |
122 PageTransition::Type transition, | 122 PageTransition::Type transition, |
123 const GURL& alternate_nav_url); | 123 const GURL& alternate_nav_url); |
124 virtual void OnChanged(); | 124 virtual void OnChanged(); |
125 virtual void OnInputInProgress(bool in_progress) { | 125 virtual void OnInputInProgress(bool in_progress) { |
126 delegate_->OnInputInProgress(in_progress); | 126 delegate_->OnInputInProgress(in_progress); |
127 } | 127 } |
| 128 virtual void OnSetFocus(); |
128 virtual SkBitmap GetFavIcon() const; | 129 virtual SkBitmap GetFavIcon() const; |
129 virtual std::wstring GetTitle() const; | 130 virtual std::wstring GetTitle() const; |
130 | 131 |
131 // Overridden from views::View: | 132 // Overridden from views::View: |
132 virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e); | 133 virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e); |
133 virtual bool GetAccessibleName(std::wstring* name); | 134 virtual bool GetAccessibleName(std::wstring* name); |
134 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); | 135 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); |
135 virtual void SetAccessibleName(const std::wstring& name); | 136 virtual void SetAccessibleName(const std::wstring& name); |
136 | 137 |
137 // Overridden from LocationBar: | 138 // Overridden from LocationBar: |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 // The positioner that places the omnibox and info bubbles. | 528 // The positioner that places the omnibox and info bubbles. |
528 const BubblePositioner* bubble_positioner_; | 529 const BubblePositioner* bubble_positioner_; |
529 | 530 |
530 // Storage of string needed for accessibility. | 531 // Storage of string needed for accessibility. |
531 std::wstring accessible_name_; | 532 std::wstring accessible_name_; |
532 | 533 |
533 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 534 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
534 }; | 535 }; |
535 | 536 |
536 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_ | 537 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_ |
OLD | NEW |