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

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

Issue 1303733002: rAc Wallet extirpation, round 2: remove generated card bubble code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another reference Created 5 years, 4 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 17 matching lines...) Expand all
28 #include "ui/views/controls/button/button.h" 28 #include "ui/views/controls/button/button.h"
29 #include "ui/views/drag_controller.h" 29 #include "ui/views/drag_controller.h"
30 30
31 class ActionBoxButtonView; 31 class ActionBoxButtonView;
32 class CommandUpdater; 32 class CommandUpdater;
33 class ContentSettingBubbleModelDelegate; 33 class ContentSettingBubbleModelDelegate;
34 class ContentSettingImageView; 34 class ContentSettingImageView;
35 class EVBubbleView; 35 class EVBubbleView;
36 class ExtensionAction; 36 class ExtensionAction;
37 class GURL; 37 class GURL;
38 class GeneratedCreditCardView;
39 class InstantController; 38 class InstantController;
40 class KeywordHintView; 39 class KeywordHintView;
41 class LocationIconView; 40 class LocationIconView;
42 class OpenPDFInReaderView; 41 class OpenPDFInReaderView;
43 class ManagePasswordsIconView; 42 class ManagePasswordsIconView;
44 class PageActionWithBadgeView; 43 class PageActionWithBadgeView;
45 class PageActionImageView; 44 class PageActionImageView;
46 class Profile; 45 class Profile;
47 class SelectedKeywordView; 46 class SelectedKeywordView;
48 class StarView; 47 class StarView;
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 208
210 LocationIconView* location_icon_view() { return location_icon_view_; } 209 LocationIconView* location_icon_view() { return location_icon_view_; }
211 210
212 // Return the point suitable for anchoring location-bar-anchored bubbles at. 211 // Return the point suitable for anchoring location-bar-anchored bubbles at.
213 // The point will be returned in the coordinates of the LocationBarView. 212 // The point will be returned in the coordinates of the LocationBarView.
214 gfx::Point GetLocationBarAnchorPoint() const; 213 gfx::Point GetLocationBarAnchorPoint() const;
215 214
216 OmniboxViewViews* omnibox_view() { return omnibox_view_; } 215 OmniboxViewViews* omnibox_view() { return omnibox_view_; }
217 const OmniboxViewViews* omnibox_view() const { return omnibox_view_; } 216 const OmniboxViewViews* omnibox_view() const { return omnibox_view_; }
218 217
219 views::View* generated_credit_card_view();
220
221 // Returns the height of the control without the top and bottom 218 // Returns the height of the control without the top and bottom
222 // edges(i.e. the height of the edit control inside). If 219 // edges(i.e. the height of the edit control inside). If
223 // |use_preferred_size| is true this will be the preferred height, 220 // |use_preferred_size| is true this will be the preferred height,
224 // otherwise it will be the current height. 221 // otherwise it will be the current height.
225 int GetInternalHeight(bool use_preferred_size); 222 int GetInternalHeight(bool use_preferred_size);
226 223
227 // Returns the position and width that the popup should be, and also the left 224 // Returns the position and width that the popup should be, and also the left
228 // edge that the results should align themselves to (which will leave some 225 // edge that the results should align themselves to (which will leave some
229 // border on the left of the popup). 226 // border on the left of the popup).
230 void GetOmniboxPopupPositioningInfo(gfx::Point* top_left_screen_coord, 227 void GetOmniboxPopupPositioningInfo(gfx::Point* top_left_screen_coord,
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 void AcceptInput() override; 333 void AcceptInput() override;
337 void FocusSearch() override; 334 void FocusSearch() override;
338 void UpdateContentSettingsIcons() override; 335 void UpdateContentSettingsIcons() override;
339 void UpdateManagePasswordsIconAndBubble() override; 336 void UpdateManagePasswordsIconAndBubble() override;
340 void UpdatePageActions() override; 337 void UpdatePageActions() override;
341 void UpdateBookmarkStarVisibility() override; 338 void UpdateBookmarkStarVisibility() override;
342 void UpdateLocationBarVisibility(bool visible, bool animation) override; 339 void UpdateLocationBarVisibility(bool visible, bool animation) override;
343 bool ShowPageActionPopup(const extensions::Extension* extension, 340 bool ShowPageActionPopup(const extensions::Extension* extension,
344 bool grant_active_tab) override; 341 bool grant_active_tab) override;
345 void UpdateOpenPDFInReaderPrompt() override; 342 void UpdateOpenPDFInReaderPrompt() override;
346 void UpdateGeneratedCreditCardView() override;
347 void SaveStateToContents(content::WebContents* contents) override; 343 void SaveStateToContents(content::WebContents* contents) override;
348 const OmniboxView* GetOmniboxView() const override; 344 const OmniboxView* GetOmniboxView() const override;
349 LocationBarTesting* GetLocationBarForTesting() override; 345 LocationBarTesting* GetLocationBarForTesting() override;
350 346
351 // LocationBarTesting: 347 // LocationBarTesting:
352 int PageActionCount() override; 348 int PageActionCount() override;
353 int PageActionVisibleCount() override; 349 int PageActionVisibleCount() override;
354 ExtensionAction* GetPageAction(size_t index) override; 350 ExtensionAction* GetPageAction(size_t index) override;
355 ExtensionAction* GetVisiblePageAction(size_t index) override; 351 ExtensionAction* GetVisiblePageAction(size_t index) override;
356 void TestPageActionPressed(size_t index) override; 352 void TestPageActionPressed(size_t index) override;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 434
439 // The voice search icon. 435 // The voice search icon.
440 views::ImageButton* mic_search_view_; 436 views::ImageButton* mic_search_view_;
441 437
442 // The content setting views. 438 // The content setting views.
443 ContentSettingViews content_setting_views_; 439 ContentSettingViews content_setting_views_;
444 440
445 // The zoom icon. 441 // The zoom icon.
446 ZoomView* zoom_view_; 442 ZoomView* zoom_view_;
447 443
448 // A bubble that shows after successfully generating a new credit card number.
449 GeneratedCreditCardView* generated_credit_card_view_;
450
451 // The icon to open a PDF in Reader. 444 // The icon to open a PDF in Reader.
452 OpenPDFInReaderView* open_pdf_in_reader_view_; 445 OpenPDFInReaderView* open_pdf_in_reader_view_;
453 446
454 // The manage passwords icon. 447 // The manage passwords icon.
455 ManagePasswordsIconView* manage_passwords_icon_view_; 448 ManagePasswordsIconView* manage_passwords_icon_view_;
456 449
457 // The page action icon views. 450 // The page action icon views.
458 PageActionViews page_action_views_; 451 PageActionViews page_action_views_;
459 452
460 // The icon for Translate. 453 // The icon for Translate.
(...skipping 27 matching lines...) Expand all
488 int dropdown_animation_offset_; 481 int dropdown_animation_offset_;
489 482
490 // This is a debug state variable that stores if the WebContents was null 483 // This is a debug state variable that stores if the WebContents was null
491 // during the last RefreshPageAction. 484 // during the last RefreshPageAction.
492 bool web_contents_null_at_last_refresh_; 485 bool web_contents_null_at_last_refresh_;
493 486
494 DISALLOW_COPY_AND_ASSIGN(LocationBarView); 487 DISALLOW_COPY_AND_ASSIGN(LocationBarView);
495 }; 488 };
496 489
497 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 490 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698