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

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

Issue 23557004: Save password bubble pops up automatically (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding comment Created 7 years, 3 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 return is_popup_mode_ ? kPopupEdgeThickness : kNormalEdgeThickness; 383 return is_popup_mode_ ? kPopupEdgeThickness : kNormalEdgeThickness;
384 } 384 }
385 385
386 // Update the visibility state of the Content Blocked icons to reflect what is 386 // Update the visibility state of the Content Blocked icons to reflect what is
387 // actually blocked on the current page. 387 // actually blocked on the current page.
388 void RefreshContentSettingViews(); 388 void RefreshContentSettingViews();
389 389
390 // Delete all page action views that we have created. 390 // Delete all page action views that we have created.
391 void DeletePageActionViews(); 391 void DeletePageActionViews();
392 392
393 // Updates after the correct screen coordinates have been set for icons.
394 void UpdatePostLayout();
395
393 // Update the views for the Page Actions, to reflect state changes for 396 // Update the views for the Page Actions, to reflect state changes for
394 // PageActions. 397 // PageActions.
395 void RefreshPageActionViews(); 398 void RefreshPageActionViews();
396 399
397 // Returns the number of scripts currently running on the page. 400 // Returns the number of scripts currently running on the page.
398 size_t ScriptBubbleScriptsRunning(); 401 size_t ScriptBubbleScriptsRunning();
399 402
400 // Update the Script Bubble Icon, to reflect the number of content scripts 403 // Update the Script Bubble Icon, to reflect the number of content scripts
401 // running on the page. 404 // running on the page.
402 void RefreshScriptBubble(); 405 void RefreshScriptBubble();
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 // in the right location. 534 // in the right location.
532 int animation_offset_; 535 int animation_offset_;
533 536
534 // Used to register for notifications received by NotificationObserver. 537 // Used to register for notifications received by NotificationObserver.
535 content::NotificationRegistrar registrar_; 538 content::NotificationRegistrar registrar_;
536 539
537 DISALLOW_COPY_AND_ASSIGN(LocationBarView); 540 DISALLOW_COPY_AND_ASSIGN(LocationBarView);
538 }; 541 };
539 542
540 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 543 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698