| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 // Clears the location bar's state for |contents|. | 236 // Clears the location bar's state for |contents|. |
| 237 void ResetTabState(content::WebContents* contents); | 237 void ResetTabState(content::WebContents* contents); |
| 238 | 238 |
| 239 // LocationBar: | 239 // LocationBar: |
| 240 void FocusLocation(bool select_all) override; | 240 void FocusLocation(bool select_all) override; |
| 241 void Revert() override; | 241 void Revert() override; |
| 242 OmniboxView* GetOmniboxView() override; | 242 OmniboxView* GetOmniboxView() override; |
| 243 | 243 |
| 244 // views::View: | 244 // views::View: |
| 245 bool HasFocus() const override; | 245 bool HasFocus() const override; |
| 246 void GetAccessibleState(ui::AXViewState* state) override; | 246 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; |
| 247 gfx::Size GetPreferredSize() const override; | 247 gfx::Size GetPreferredSize() const override; |
| 248 void Layout() override; | 248 void Layout() override; |
| 249 void OnNativeThemeChanged(const ui::NativeTheme* theme) override; | 249 void OnNativeThemeChanged(const ui::NativeTheme* theme) override; |
| 250 | 250 |
| 251 // ChromeOmniboxEditController: | 251 // ChromeOmniboxEditController: |
| 252 void UpdateWithoutTabRestore() override; | 252 void UpdateWithoutTabRestore() override; |
| 253 ToolbarModel* GetToolbarModel() override; | 253 ToolbarModel* GetToolbarModel() override; |
| 254 content::WebContents* GetWebContents() override; | 254 content::WebContents* GetWebContents() override; |
| 255 | 255 |
| 256 // ZoomEventManagerObserver: | 256 // ZoomEventManagerObserver: |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 // These allow toggling the verbose security state behavior via flags. | 482 // These allow toggling the verbose security state behavior via flags. |
| 483 bool should_show_secure_state_; | 483 bool should_show_secure_state_; |
| 484 bool should_show_nonsecure_state_; | 484 bool should_show_nonsecure_state_; |
| 485 bool should_animate_secure_state_; | 485 bool should_animate_secure_state_; |
| 486 bool should_animate_nonsecure_state_; | 486 bool should_animate_nonsecure_state_; |
| 487 | 487 |
| 488 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 488 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
| 489 }; | 489 }; |
| 490 | 490 |
| 491 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 491 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| OLD | NEW |