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

Side by Side Diff: chrome/browser/ui/translate/translate_bubble_view_state_transition.h

Issue 1983133003: change the value of SET_STATE_OPTIONS back to 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up the comment Created 4 years, 7 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
« no previous file with comments | « no previous file | no next file » | 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_TRANSLATE_TRANSLATE_BUBBLE_VIEW_STATE_TRANSITION_H_ 5 #ifndef CHROME_BROWSER_UI_TRANSLATE_TRANSLATE_BUBBLE_VIEW_STATE_TRANSITION_H_
6 #define CHROME_BROWSER_UI_TRANSLATE_TRANSLATE_BUBBLE_VIEW_STATE_TRANSITION_H_ 6 #define CHROME_BROWSER_UI_TRANSLATE_TRANSLATE_BUBBLE_VIEW_STATE_TRANSITION_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/translate/translate_bubble_model.h" 9 #include "chrome/browser/ui/translate/translate_bubble_model.h"
10 10
11 namespace translate { 11 namespace translate {
12 12
13 enum TranslateBubbleUiEvent { 13 enum TranslateBubbleUiEvent {
14 // Start with 1 to match existing UMA values: see http://crbug.com/612558
14 // The user clicked the advanced option. 15 // The user clicked the advanced option.
15 SET_STATE_OPTIONS, 16 SET_STATE_OPTIONS = 1,
16 17
17 // The user clicked "Done" and went back from the advanced option. 18 // The user clicked "Done" and went back from the advanced option.
18 LEAVE_STATE_OPTIONS, 19 LEAVE_STATE_OPTIONS,
19 20
20 // The user clicked the advanced link. 21 // The user clicked the advanced link.
21 ADVANCED_LINK_CLICKED, 22 ADVANCED_LINK_CLICKED,
22 23
23 // The user checked the "always translate" checkbox. 24 // The user checked the "always translate" checkbox.
24 ALWAYS_TRANSLATE_CHECKED, 25 ALWAYS_TRANSLATE_CHECKED,
25 26
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 // The view type. When the current view type is not 'Advanced' view, this is 99 // The view type. When the current view type is not 'Advanced' view, this is
99 // equivalent to |view_state_|. Otherwise, this is the previous view type 100 // equivalent to |view_state_|. Otherwise, this is the previous view type
100 // before the user opens the 'Advanced' view. This is used to navigate when 101 // before the user opens the 'Advanced' view. This is used to navigate when
101 // pressing 'Cancel' button on the 'Advanced' view. 102 // pressing 'Cancel' button on the 'Advanced' view.
102 TranslateBubbleModel::ViewState view_state_before_advanced_view_; 103 TranslateBubbleModel::ViewState view_state_before_advanced_view_;
103 104
104 DISALLOW_COPY_AND_ASSIGN(TranslateBubbleViewStateTransition); 105 DISALLOW_COPY_AND_ASSIGN(TranslateBubbleViewStateTransition);
105 }; 106 };
106 107
107 #endif // CHROME_BROWSER_UI_TRANSLATE_TRANSLATE_BUBBLE_VIEW_STATE_TRANSITION_H_ 108 #endif // CHROME_BROWSER_UI_TRANSLATE_TRANSLATE_BUBBLE_VIEW_STATE_TRANSITION_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698