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

Side by Side Diff: chrome/browser/ui/views/bookmarks/bookmark_bubble_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // Either unstars the item or shows the bookmark editor (depending upon which 71 // Either unstars the item or shows the bookmark editor (depending upon which
72 // link was clicked). 72 // link was clicked).
73 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; 73 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
74 74
75 // Overridden from views::ButtonListener: 75 // Overridden from views::ButtonListener:
76 // Closes the bubble or opens the edit dialog. 76 // Closes the bubble or opens the edit dialog.
77 virtual void ButtonPressed(views::Button* sender, 77 virtual void ButtonPressed(views::Button* sender,
78 const views::Event& event) OVERRIDE; 78 const views::Event& event) OVERRIDE;
79 79
80 // Overridden from views::ComboboxListener: 80 // Overridden from views::ComboboxListener:
81 // Changes the parent of the bookmark. 81 virtual void OnSelectedIndexChanged(views::Combobox* combobox) OVERRIDE;
82 virtual void ItemChanged(views::Combobox* combo_box,
83 int prev_index,
84 int new_index) OVERRIDE;
85 82
86 // Handle the message when the user presses a button. 83 // Handle the message when the user presses a button.
87 void HandleButtonPressed(views::Button* sender); 84 void HandleButtonPressed(views::Button* sender);
88 85
89 // Shows the BookmarkEditor. 86 // Shows the BookmarkEditor.
90 void ShowEditor(); 87 void ShowEditor();
91 88
92 // Sets the title and parent of the node. 89 // Sets the title and parent of the node.
93 void ApplyEdits(); 90 void ApplyEdits();
94 91
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // When the destructor is invoked should the bookmark be removed? 126 // When the destructor is invoked should the bookmark be removed?
130 bool remove_bookmark_; 127 bool remove_bookmark_;
131 128
132 // When the destructor is invoked should edits be applied? 129 // When the destructor is invoked should edits be applied?
133 bool apply_edits_; 130 bool apply_edits_;
134 131
135 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); 132 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView);
136 }; 133 };
137 134
138 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ 135 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/options/wifi_config_view.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698