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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 const GURL& alternate_nav_url) OVERRIDE; | 254 const GURL& alternate_nav_url) OVERRIDE; |
255 virtual void OnChanged() OVERRIDE; | 255 virtual void OnChanged() OVERRIDE; |
256 virtual void OnSelectionBoundsChanged() OVERRIDE; | 256 virtual void OnSelectionBoundsChanged() OVERRIDE; |
257 virtual void OnInputInProgress(bool in_progress) OVERRIDE; | 257 virtual void OnInputInProgress(bool in_progress) OVERRIDE; |
258 virtual void OnKillFocus() OVERRIDE; | 258 virtual void OnKillFocus() OVERRIDE; |
259 virtual void OnSetFocus() OVERRIDE; | 259 virtual void OnSetFocus() OVERRIDE; |
260 virtual gfx::Image GetFavicon() const OVERRIDE; | 260 virtual gfx::Image GetFavicon() const OVERRIDE; |
261 virtual string16 GetTitle() const OVERRIDE; | 261 virtual string16 GetTitle() const OVERRIDE; |
262 virtual InstantController* GetInstant() OVERRIDE; | 262 virtual InstantController* GetInstant() OVERRIDE; |
263 virtual content::WebContents* GetWebContents() const OVERRIDE; | 263 virtual content::WebContents* GetWebContents() const OVERRIDE; |
264 virtual gfx::Rect GetOmniboxBounds() const OVERRIDE; | |
265 | 264 |
266 // views::View: | 265 // views::View: |
267 virtual const char* GetClassName() const OVERRIDE; | 266 virtual const char* GetClassName() const OVERRIDE; |
268 virtual bool SkipDefaultKeyEventProcessing( | 267 virtual bool SkipDefaultKeyEventProcessing( |
269 const ui::KeyEvent& event) OVERRIDE; | 268 const ui::KeyEvent& event) OVERRIDE; |
270 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 269 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
271 virtual bool HasFocus() const OVERRIDE; | 270 virtual bool HasFocus() const OVERRIDE; |
272 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; | 271 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; |
273 | 272 |
274 // views::ButtonListener: | 273 // views::ButtonListener: |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 // in the right location. | 520 // in the right location. |
522 int animation_offset_; | 521 int animation_offset_; |
523 | 522 |
524 // Used to register for notifications received by NotificationObserver. | 523 // Used to register for notifications received by NotificationObserver. |
525 content::NotificationRegistrar registrar_; | 524 content::NotificationRegistrar registrar_; |
526 | 525 |
527 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 526 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
528 }; | 527 }; |
529 | 528 |
530 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 529 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
OLD | NEW |