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