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

Side by Side Diff: chrome_frame/chrome_frame_automation.h

Issue 8909009: Remove remaining references to CEEE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Sync'ed, no new changes Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome_frame/chrome_frame_activex.cc ('k') | chrome_frame/chrome_frame_automation.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 (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_FRAME_CHROME_FRAME_AUTOMATION_H_ 5 #ifndef CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_
6 #define CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ 6 #define CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlwin.h> 9 #include <atlwin.h>
10 #include <map> 10 #include <map>
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 }; 104 };
105 105
106 // This class contains information used for launching chrome. 106 // This class contains information used for launching chrome.
107 class ChromeFrameLaunchParams : // NOLINT 107 class ChromeFrameLaunchParams : // NOLINT
108 public base::RefCountedThreadSafe<ChromeFrameLaunchParams> { 108 public base::RefCountedThreadSafe<ChromeFrameLaunchParams> {
109 public: 109 public:
110 ChromeFrameLaunchParams(const GURL& url, const GURL& referrer, 110 ChromeFrameLaunchParams(const GURL& url, const GURL& referrer,
111 const FilePath& profile_path, 111 const FilePath& profile_path,
112 const std::wstring& profile_name, 112 const std::wstring& profile_name,
113 const std::wstring& language, 113 const std::wstring& language,
114 const std::wstring& extra_arguments,
115 bool incognito, bool widget_mode, 114 bool incognito, bool widget_mode,
116 bool route_all_top_level_navigations) 115 bool route_all_top_level_navigations)
117 : launch_timeout_(kCommandExecutionTimeout), url_(url), 116 : launch_timeout_(kCommandExecutionTimeout), url_(url),
118 referrer_(referrer), profile_path_(profile_path), 117 referrer_(referrer), profile_path_(profile_path),
119 profile_name_(profile_name), language_(language), 118 profile_name_(profile_name), language_(language),
120 extra_arguments_(extra_arguments), version_check_(true), 119 version_check_(true), incognito_mode_(incognito),
121 incognito_mode_(incognito), is_widget_mode_(widget_mode), 120 is_widget_mode_(widget_mode),
122 route_all_top_level_navigations_(route_all_top_level_navigations) { 121 route_all_top_level_navigations_(route_all_top_level_navigations) {
123 } 122 }
124 123
125 ~ChromeFrameLaunchParams() { 124 ~ChromeFrameLaunchParams() {
126 } 125 }
127 126
128 void set_launch_timeout(int timeout) { 127 void set_launch_timeout(int timeout) {
129 launch_timeout_ = timeout; 128 launch_timeout_ = timeout;
130 } 129 }
131 130
(...skipping 22 matching lines...) Expand all
154 } 153 }
155 154
156 const std::wstring& profile_name() const { 155 const std::wstring& profile_name() const {
157 return profile_name_; 156 return profile_name_;
158 } 157 }
159 158
160 const std::wstring& language() const { 159 const std::wstring& language() const {
161 return language_; 160 return language_;
162 } 161 }
163 162
164 const std::wstring& extra_arguments() const {
165 return extra_arguments_;
166 }
167
168 bool version_check() const { 163 bool version_check() const {
169 return version_check_; 164 return version_check_;
170 } 165 }
171 166
172 void set_version_check(bool check) { 167 void set_version_check(bool check) {
173 version_check_ = check; 168 version_check_ = check;
174 } 169 }
175 170
176 bool incognito() const { 171 bool incognito() const {
177 return incognito_mode_; 172 return incognito_mode_;
(...skipping 12 matching lines...) Expand all
190 return route_all_top_level_navigations_; 185 return route_all_top_level_navigations_;
191 } 186 }
192 187
193 protected: 188 protected:
194 int launch_timeout_; 189 int launch_timeout_;
195 GURL url_; 190 GURL url_;
196 GURL referrer_; 191 GURL referrer_;
197 FilePath profile_path_; 192 FilePath profile_path_;
198 std::wstring profile_name_; 193 std::wstring profile_name_;
199 std::wstring language_; 194 std::wstring language_;
200 std::wstring extra_arguments_;
201 bool version_check_; 195 bool version_check_;
202 bool incognito_mode_; 196 bool incognito_mode_;
203 bool is_widget_mode_; 197 bool is_widget_mode_;
204 bool route_all_top_level_navigations_; 198 bool route_all_top_level_navigations_;
205 199
206 private: 200 private:
207 DISALLOW_COPY_AND_ASSIGN(ChromeFrameLaunchParams); 201 DISALLOW_COPY_AND_ASSIGN(ChromeFrameLaunchParams);
208 }; 202 };
209 203
210 // Callback when chrome process launch is complete and automation handshake 204 // Callback when chrome process launch is complete and automation handshake
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 // set to true if the host needs to get notified of all top level navigations 514 // set to true if the host needs to get notified of all top level navigations
521 // in this page. This typically applies to hosts which would render the new 515 // in this page. This typically applies to hosts which would render the new
522 // page without chrome frame. Defaults to false. 516 // page without chrome frame. Defaults to false.
523 bool route_all_top_level_navigations_; 517 bool route_all_top_level_navigations_;
524 518
525 friend class BeginNavigateContext; 519 friend class BeginNavigateContext;
526 friend class CreateExternalTabContext; 520 friend class CreateExternalTabContext;
527 }; 521 };
528 522
529 #endif // CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ 523 #endif // CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_
OLDNEW
« no previous file with comments | « chrome_frame/chrome_frame_activex.cc ('k') | chrome_frame/chrome_frame_automation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698