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

Side by Side Diff: chrome/browser/tab_contents/web_contents.h

Issue 39163: Make JavaScript alerts reflect the URL of the frame they came from, not the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | Annotate | Revision Log
OLDNEW
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_TAB_CONTENTS_WEB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 virtual void ProcessExternalHostMessage(const std::string& message); 337 virtual void ProcessExternalHostMessage(const std::string& message);
338 virtual void GoToEntryAtOffset(int offset); 338 virtual void GoToEntryAtOffset(int offset);
339 virtual void GetHistoryListCount(int* back_list_count, 339 virtual void GetHistoryListCount(int* back_list_count,
340 int* forward_list_count); 340 int* forward_list_count);
341 virtual void RunFileChooser(bool multiple_files, 341 virtual void RunFileChooser(bool multiple_files,
342 const std::wstring& title, 342 const std::wstring& title,
343 const std::wstring& default_file, 343 const std::wstring& default_file,
344 const std::wstring& filter); 344 const std::wstring& filter);
345 virtual void RunJavaScriptMessage(const std::wstring& message, 345 virtual void RunJavaScriptMessage(const std::wstring& message,
346 const std::wstring& default_prompt, 346 const std::wstring& default_prompt,
347 const GURL& frame_url,
347 const int flags, 348 const int flags,
348 IPC::Message* reply_msg, 349 IPC::Message* reply_msg,
349 bool* did_suppress_message); 350 bool* did_suppress_message);
350 virtual void RunBeforeUnloadConfirm(const std::wstring& message, 351 virtual void RunBeforeUnloadConfirm(const GURL& frame_url,
352 const std::wstring& message,
351 IPC::Message* reply_msg); 353 IPC::Message* reply_msg);
352 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, 354 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height,
353 const std::string& json_arguments, 355 const std::string& json_arguments,
354 IPC::Message* reply_msg); 356 IPC::Message* reply_msg);
355 virtual void PasswordFormsSeen(const std::vector<PasswordForm>& forms); 357 virtual void PasswordFormsSeen(const std::vector<PasswordForm>& forms);
356 virtual void AutofillFormSubmitted(const AutofillForm& form); 358 virtual void AutofillFormSubmitted(const AutofillForm& form);
357 virtual void GetAutofillSuggestions(const std::wstring& field_name, 359 virtual void GetAutofillSuggestions(const std::wstring& field_name,
358 const std::wstring& user_text, int64 node_id, int request_id); 360 const std::wstring& user_text, int64 node_id, int request_id);
359 virtual void PageHasOSDD(RenderViewHost* render_view_host, 361 virtual void PageHasOSDD(RenderViewHost* render_view_host,
360 int32 page_id, const GURL& url, bool autodetected); 362 int32 page_id, const GURL& url, bool autodetected);
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 662
661 // The last find result. This object contains details about the number of 663 // The last find result. This object contains details about the number of
662 // matches, the find selection rectangle, etc. The UI can access this 664 // matches, the find selection rectangle, etc. The UI can access this
663 // information to build its presentation. 665 // information to build its presentation.
664 FindNotificationDetails find_result_; 666 FindNotificationDetails find_result_;
665 667
666 DISALLOW_COPY_AND_ASSIGN(WebContents); 668 DISALLOW_COPY_AND_ASSIGN(WebContents);
667 }; 669 };
668 670
669 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_ 671 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host_delegate.h ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698