OLD | NEW |
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_TAB_CONTENTS_LANGUAGE_STATE_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_LANGUAGE_STATE_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_LANGUAGE_STATE_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_LANGUAGE_STATE_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 | 11 |
13 namespace content { | 12 namespace content { |
14 class NavigationController; | 13 class NavigationController; |
15 struct LoadCommittedDetails; | 14 struct LoadCommittedDetails; |
16 } | 15 } |
17 | 16 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 // load happens in the page after the user closed the infobar. | 103 // load happens in the page after the user closed the infobar. |
105 bool translation_declined_; | 104 bool translation_declined_; |
106 | 105 |
107 // Whether the current navigation is a fragment navigation (in page). | 106 // Whether the current navigation is a fragment navigation (in page). |
108 bool in_page_navigation_; | 107 bool in_page_navigation_; |
109 | 108 |
110 DISALLOW_COPY_AND_ASSIGN(LanguageState); | 109 DISALLOW_COPY_AND_ASSIGN(LanguageState); |
111 }; | 110 }; |
112 | 111 |
113 #endif // CHROME_BROWSER_TAB_CONTENTS_LANGUAGE_STATE_H_ | 112 #endif // CHROME_BROWSER_TAB_CONTENTS_LANGUAGE_STATE_H_ |
OLD | NEW |