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

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

Issue 1448433004: [MD] update EV bubble icon and location bar https icons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build.gn Created 5 years, 1 month 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 277
278 // Returns the thickness of any visible left and right edge, in pixels. 278 // Returns the thickness of any visible left and right edge, in pixels.
279 int GetHorizontalEdgeThickness() const; 279 int GetHorizontalEdgeThickness() const;
280 280
281 // The same, but for the top and bottom edges. 281 // The same, but for the top and bottom edges.
282 int GetVerticalEdgeThickness() const; 282 int GetVerticalEdgeThickness() const;
283 283
284 // The vertical padding to be applied to all contained views. 284 // The vertical padding to be applied to all contained views.
285 int VerticalPadding() const; 285 int VerticalPadding() const;
286 286
287 // Updates |location_icon_view_| based on the current state and theme.
288 void RefreshLocationIcon();
289
287 // Updates the visibility state of the Content Blocked icons to reflect what 290 // Updates the visibility state of the Content Blocked icons to reflect what
288 // is actually blocked on the current page. Returns true if the visibility 291 // is actually blocked on the current page. Returns true if the visibility
289 // of at least one of the views in |content_setting_views_| changed. 292 // of at least one of the views in |content_setting_views_| changed.
290 bool RefreshContentSettingViews(); 293 bool RefreshContentSettingViews();
291 294
292 // Clears |page_action_views_| and removes the elements from the view 295 // Clears |page_action_views_| and removes the elements from the view
293 // hierarchy. 296 // hierarchy.
294 void DeletePageActionViews(); 297 void DeletePageActionViews();
295 298
296 // Updates the views for the Page Actions, to reflect state changes for 299 // Updates the views for the Page Actions, to reflect state changes for
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 int dropdown_animation_offset_; 487 int dropdown_animation_offset_;
485 488
486 // This is a debug state variable that stores if the WebContents was null 489 // This is a debug state variable that stores if the WebContents was null
487 // during the last RefreshPageAction. 490 // during the last RefreshPageAction.
488 bool web_contents_null_at_last_refresh_; 491 bool web_contents_null_at_last_refresh_;
489 492
490 DISALLOW_COPY_AND_ASSIGN(LocationBarView); 493 DISALLOW_COPY_AND_ASSIGN(LocationBarView);
491 }; 494 };
492 495
493 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 496 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698