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

Side by Side Diff: chrome/browser/ui/views/toolbar/toolbar_view.h

Issue 1396923003: Autofill: Replace "save credit card" infobar with a bubble (Views only). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: defined(TOOLKIT_VIEWS) -> defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX). 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_TOOLBAR_TOOLBAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "base/prefs/pref_member.h" 10 #include "base/prefs/pref_member.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void SetPaneFocusAndFocusAppMenu(); 67 void SetPaneFocusAndFocusAppMenu();
68 68
69 // Returns true if the app menu is focused. 69 // Returns true if the app menu is focused.
70 bool IsAppMenuFocused(); 70 bool IsAppMenuFocused();
71 71
72 virtual bool GetAcceleratorInfo(int id, ui::Accelerator* accel); 72 virtual bool GetAcceleratorInfo(int id, ui::Accelerator* accel);
73 73
74 // Returns the view to which the bookmark bubble should be anchored. 74 // Returns the view to which the bookmark bubble should be anchored.
75 views::View* GetBookmarkBubbleAnchor(); 75 views::View* GetBookmarkBubbleAnchor();
76 76
77 // Returns the view to which the "Save credit card" bubble should be anchored.
78 views::View* GetSaveCreditCardBubbleAnchor();
79
77 // Returns the view to which the Translate bubble should be anchored. 80 // Returns the view to which the Translate bubble should be anchored.
78 views::View* GetTranslateBubbleAnchor(); 81 views::View* GetTranslateBubbleAnchor();
79 82
80 // Executes |command| registered by |extension|. 83 // Executes |command| registered by |extension|.
81 void ExecuteExtensionCommand(const extensions::Extension* extension, 84 void ExecuteExtensionCommand(const extensions::Extension* extension,
82 const extensions::Command& command); 85 const extensions::Command& command);
83 86
84 // Returns the maximum width the browser actions container can have. 87 // Returns the maximum width the browser actions container can have.
85 int GetMaxBrowserActionsWidth() const; 88 int GetMaxBrowserActionsWidth() const;
86 89
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 226
224 // The display mode used when laying out the toolbar. 227 // The display mode used when laying out the toolbar.
225 DisplayMode display_mode_; 228 DisplayMode display_mode_;
226 229
227 content::NotificationRegistrar registrar_; 230 content::NotificationRegistrar registrar_;
228 231
229 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); 232 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView);
230 }; 233 };
231 234
232 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ 235 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/save_credit_card_icon_view.cc ('k') | chrome/browser/ui/views/toolbar/toolbar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698