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

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

Issue 819623003: Add more checks to ShowPageActionPopup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 // the hostname. As the show animation runs, the current inset gradually 542 // the hostname. As the show animation runs, the current inset gradually
543 // moves to 0. 543 // moves to 0.
544 int starting_omnibox_leading_inset_; 544 int starting_omnibox_leading_inset_;
545 int current_omnibox_leading_inset_; 545 int current_omnibox_leading_inset_;
546 // The width is always positive. The ending width is the width of the entire 546 // The width is always positive. The ending width is the width of the entire
547 // omnibox URL. As the show animation runs, the current width gradually moves 547 // omnibox URL. As the show animation runs, the current width gradually moves
548 // from the width of the hostname to the ending value. 548 // from the width of the hostname to the ending value.
549 int current_omnibox_width_; 549 int current_omnibox_width_;
550 int ending_omnibox_width_; 550 int ending_omnibox_width_;
551 551
552 // This is a debug state variable that stores if the WebContents was null
553 // during the last RefreshPageAction.
554 bool web_contents_null_at_last_refresh_;
555
552 DISALLOW_COPY_AND_ASSIGN(LocationBarView); 556 DISALLOW_COPY_AND_ASSIGN(LocationBarView);
553 }; 557 };
554 558
555 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 559 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698