Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(777)

Side by Side Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

Issue 2713253002: Adjust ellision strategy for omnibox search chip. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 // LocationBar: 229 // LocationBar:
230 void FocusLocation(bool select_all) override; 230 void FocusLocation(bool select_all) override;
231 void Revert() override; 231 void Revert() override;
232 OmniboxView* GetOmniboxView() override; 232 OmniboxView* GetOmniboxView() override;
233 233
234 // views::View: 234 // views::View:
235 bool HasFocus() const override; 235 bool HasFocus() const override;
236 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; 236 void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
237 gfx::Size GetPreferredSize() const override; 237 gfx::Size GetPreferredSize() const override;
238 void Layout() override; 238 void Layout() override;
239 bool OnMousePressed(const ui::MouseEvent& event) override;
240 void OnMouseReleased(const ui::MouseEvent& event) override;
239 void OnNativeThemeChanged(const ui::NativeTheme* theme) override; 241 void OnNativeThemeChanged(const ui::NativeTheme* theme) override;
240 242
241 // ChromeOmniboxEditController: 243 // ChromeOmniboxEditController:
242 void UpdateWithoutTabRestore() override; 244 void UpdateWithoutTabRestore() override;
243 ToolbarModel* GetToolbarModel() override; 245 ToolbarModel* GetToolbarModel() override;
244 content::WebContents* GetWebContents() override; 246 content::WebContents* GetWebContents() override;
245 247
246 // ZoomEventManagerObserver: 248 // ZoomEventManagerObserver:
247 // Updates the view for the zoom icon when default zoom levels change. 249 // Updates the view for the zoom icon when default zoom levels change.
248 void OnDefaultZoomLevelChanged() override; 250 void OnDefaultZoomLevelChanged() override;
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 BooleanPrefMember edit_bookmarks_enabled_; 466 BooleanPrefMember edit_bookmarks_enabled_;
465 467
466 // This is a debug state variable that stores if the WebContents was null 468 // This is a debug state variable that stores if the WebContents was null
467 // during the last RefreshPageAction. 469 // during the last RefreshPageAction.
468 bool web_contents_null_at_last_refresh_; 470 bool web_contents_null_at_last_refresh_;
469 471
470 DISALLOW_COPY_AND_ASSIGN(LocationBarView); 472 DISALLOW_COPY_AND_ASSIGN(LocationBarView);
471 }; 473 };
472 474
473 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 475 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698