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

Side by Side Diff: chrome/browser/ui/views/cookie_info_view.h

Issue 9965017: views: Rename ComboboxListener::ItemChanged to something more accurate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: combo_box -> combobox Created 8 years, 8 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 | Annotate | Revision Log
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_COOKIE_INFO_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_COOKIE_INFO_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_COOKIE_INFO_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_COOKIE_INFO_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 void set_delegate(CookieInfoViewDelegate* delegate) { delegate_ = delegate; } 63 void set_delegate(CookieInfoViewDelegate* delegate) { delegate_ = delegate; }
64 64
65 protected: 65 protected:
66 // views::View: 66 // views::View:
67 virtual void ViewHierarchyChanged(bool is_add, 67 virtual void ViewHierarchyChanged(bool is_add,
68 views::View* parent, 68 views::View* parent,
69 views::View* child) OVERRIDE; 69 views::View* child) OVERRIDE;
70 70
71 // views::ComboboxListener: 71 // views::ComboboxListener:
72 virtual void ItemChanged(views::Combobox* combo_box, 72 virtual void OnSelectedIndexChanged(views::Combobox* combobox) OVERRIDE;
73 int prev_index,
74 int new_index) OVERRIDE;
75 73
76 // ui::ComboboxModel: 74 // ui::ComboboxModel:
77 virtual int GetItemCount() const OVERRIDE; 75 virtual int GetItemCount() const OVERRIDE;
78 virtual string16 GetItemAt(int index) OVERRIDE; 76 virtual string16 GetItemAt(int index) OVERRIDE;
79 77
80 private: 78 private:
81 // Layout helper routines. 79 // Layout helper routines.
82 void AddLabelRow(int layout_id, views::GridLayout* layout, 80 void AddLabelRow(int layout_id, views::GridLayout* layout,
83 views::View* label, views::View* value); 81 views::View* label, views::View* value);
84 void AddControlRow(int layout_id, views::GridLayout* layout, 82 void AddControlRow(int layout_id, views::GridLayout* layout,
(...skipping 29 matching lines...) Expand all
114 // CookiesPromptView (alert before cookie is set), in all other cases we 112 // CookiesPromptView (alert before cookie is set), in all other cases we
115 // don't let user directly change cookie setting. 113 // don't let user directly change cookie setting.
116 bool editable_expiration_date_; 114 bool editable_expiration_date_;
117 115
118 CookieInfoViewDelegate* delegate_; 116 CookieInfoViewDelegate* delegate_;
119 117
120 DISALLOW_COPY_AND_ASSIGN(CookieInfoView); 118 DISALLOW_COPY_AND_ASSIGN(CookieInfoView);
121 }; 119 };
122 120
123 #endif // CHROME_BROWSER_UI_VIEWS_COOKIE_INFO_VIEW_H_ 121 #endif // CHROME_BROWSER_UI_VIEWS_COOKIE_INFO_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc ('k') | chrome/browser/ui/views/cookie_info_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698