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 OnKillFocus(); |
128 virtual void OnSetFocus(); | 129 virtual void OnSetFocus(); |
129 virtual SkBitmap GetFavIcon() const; | 130 virtual SkBitmap GetFavIcon() const; |
130 virtual std::wstring GetTitle() const; | 131 virtual std::wstring GetTitle() const; |
131 | 132 |
132 // Overridden from views::View: | 133 // Overridden from views::View: |
133 virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e); | 134 virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e); |
134 virtual bool GetAccessibleName(std::wstring* name); | 135 virtual bool GetAccessibleName(std::wstring* name); |
135 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); | 136 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); |
136 virtual void SetAccessibleName(const std::wstring& name); | 137 virtual void SetAccessibleName(const std::wstring& name); |
137 | 138 |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 // The positioner that places the omnibox and info bubbles. | 535 // The positioner that places the omnibox and info bubbles. |
535 const BubblePositioner* bubble_positioner_; | 536 const BubblePositioner* bubble_positioner_; |
536 | 537 |
537 // Storage of string needed for accessibility. | 538 // Storage of string needed for accessibility. |
538 std::wstring accessible_name_; | 539 std::wstring accessible_name_; |
539 | 540 |
540 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 541 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
541 }; | 542 }; |
542 | 543 |
543 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_ | 544 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_ |
OLD | NEW |