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

Side by Side Diff: chrome/browser/ui/views/translate/translate_bubble_view.h

Issue 59383003: Add the button style for combobox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: warnings Created 7 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/translate/translate_bubble_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 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_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 virtual void ButtonPressed(views::Button* sender, 58 virtual void ButtonPressed(views::Button* sender,
59 const ui::Event& event) OVERRIDE; 59 const ui::Event& event) OVERRIDE;
60 60
61 // views::WidgetDelegate method. 61 // views::WidgetDelegate method.
62 virtual void WindowClosing() OVERRIDE; 62 virtual void WindowClosing() OVERRIDE;
63 63
64 // views::View methods. 64 // views::View methods.
65 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; 65 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
66 virtual gfx::Size GetPreferredSize() OVERRIDE; 66 virtual gfx::Size GetPreferredSize() OVERRIDE;
67 67
68 // views::CombboxListener method. 68 // views::CombboxListener methods.
69 virtual void OnSelectedIndexChanged(views::Combobox* combobox) OVERRIDE; 69 virtual void OnSelectedIndexChanged(views::Combobox* combobox) OVERRIDE;
70 virtual void OnComboboxTextButtonClicked(views::Combobox* combobox) OVERRIDE;
70 71
71 // views::LinkListener method. 72 // views::LinkListener method.
72 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; 73 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
73 74
74 // content::WebContentsObserver method. 75 // content::WebContentsObserver method.
75 virtual void WebContentsDestroyed(content::WebContents* web_contents) 76 virtual void WebContentsDestroyed(content::WebContents* web_contents)
76 OVERRIDE; 77 OVERRIDE;
77 78
78 // Returns the current view state. 79 // Returns the current view state.
79 TranslateBubbleModel::ViewState GetViewState() const; 80 TranslateBubbleModel::ViewState GetViewState() const;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // The browser to open the help URL into a new tab. 190 // The browser to open the help URL into a new tab.
190 Browser* browser_; 191 Browser* browser_;
191 192
192 // Whether the translation is acutually executed. 193 // Whether the translation is acutually executed.
193 bool translate_executed_; 194 bool translate_executed_;
194 195
195 DISALLOW_COPY_AND_ASSIGN(TranslateBubbleView); 196 DISALLOW_COPY_AND_ASSIGN(TranslateBubbleView);
196 }; 197 };
197 198
198 #endif // CHROME_BROWSER_UI_VIEWS_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_ 199 #endif // CHROME_BROWSER_UI_VIEWS_TRANSLATE_TRANSLATE_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/translate/translate_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698