OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_WEB_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_WEB_CONTENTS_H_ |
6 #define CHROME_BROWSER_WEB_CONTENTS_H_ | 6 #define CHROME_BROWSER_WEB_CONTENTS_H_ |
7 | 7 |
8 #include "base/hash_tables.h" | 8 #include "base/hash_tables.h" |
9 #include "chrome/browser/download/save_package.h" | 9 #include "chrome/browser/download/save_package.h" |
10 #include "chrome/browser/fav_icon_helper.h" | 10 #include "chrome/browser/fav_icon_helper.h" |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 int automation_id); | 274 int automation_id); |
275 virtual void ProcessExternalHostMessage(const std::string& receiver, | 275 virtual void ProcessExternalHostMessage(const std::string& receiver, |
276 const std::string& message); | 276 const std::string& message); |
277 virtual void GoToEntryAtOffset(int offset); | 277 virtual void GoToEntryAtOffset(int offset); |
278 virtual void GetHistoryListCount(int* back_list_count, | 278 virtual void GetHistoryListCount(int* back_list_count, |
279 int* forward_list_count); | 279 int* forward_list_count); |
280 virtual void RunFileChooser(const std::wstring& default_file); | 280 virtual void RunFileChooser(const std::wstring& default_file); |
281 virtual void RunJavaScriptMessage(const std::wstring& message, | 281 virtual void RunJavaScriptMessage(const std::wstring& message, |
282 const std::wstring& default_prompt, | 282 const std::wstring& default_prompt, |
283 const int flags, | 283 const int flags, |
284 IPC::Message* reply_msg); | 284 IPC::Message* reply_msg, |
| 285 bool* did_suppress_message); |
285 virtual void RunBeforeUnloadConfirm(const std::wstring& message, | 286 virtual void RunBeforeUnloadConfirm(const std::wstring& message, |
286 IPC::Message* reply_msg); | 287 IPC::Message* reply_msg); |
287 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, | 288 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, |
288 const std::string& json_arguments, | 289 const std::string& json_arguments, |
289 IPC::Message* reply_msg); | 290 IPC::Message* reply_msg); |
290 virtual void PasswordFormsSeen(const std::vector<PasswordForm>& forms); | 291 virtual void PasswordFormsSeen(const std::vector<PasswordForm>& forms); |
291 virtual void AutofillFormSubmitted(const AutofillForm& form); | 292 virtual void AutofillFormSubmitted(const AutofillForm& form); |
292 virtual void PageHasOSDD(RenderViewHost* render_view_host, | 293 virtual void PageHasOSDD(RenderViewHost* render_view_host, |
293 int32 page_id, const GURL& url, bool autodetected); | 294 int32 page_id, const GURL& url, bool autodetected); |
294 virtual void InspectElementReply(int num_resources); | 295 virtual void InspectElementReply(int num_resources); |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 net::LoadState load_state_; | 559 net::LoadState load_state_; |
559 std::wstring load_state_host_; | 560 std::wstring load_state_host_; |
560 | 561 |
561 // Non-null if we're displaying content for a web app. | 562 // Non-null if we're displaying content for a web app. |
562 scoped_refptr<WebApp> web_app_; | 563 scoped_refptr<WebApp> web_app_; |
563 | 564 |
564 DISALLOW_COPY_AND_ASSIGN(WebContents); | 565 DISALLOW_COPY_AND_ASSIGN(WebContents); |
565 }; | 566 }; |
566 | 567 |
567 #endif // CHROME_BROWSER_WEB_CONTENTS_H_ | 568 #endif // CHROME_BROWSER_WEB_CONTENTS_H_ |
OLD | NEW |