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

Side by Side Diff: chrome/browser/extensions/extension_view.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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_view.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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_EXTENSIONS_EXTENSION_VIEW_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_H_
7 7
8 #include "chrome/browser/renderer_host/render_view_host_delegate.h" 8 #include "chrome/browser/renderer_host/render_view_host_delegate.h"
9 9
10 // TODO(port): Port these files. 10 // TODO(port): Port these files.
(...skipping 17 matching lines...) Expand all
28 28
29 // HWNDHtmlView 29 // HWNDHtmlView
30 virtual void CreatingRenderer(); 30 virtual void CreatingRenderer();
31 31
32 // RenderViewHostDelegate 32 // RenderViewHostDelegate
33 virtual Profile* GetProfile() const { return profile_; } 33 virtual Profile* GetProfile() const { return profile_; }
34 virtual WebPreferences GetWebkitPrefs(); 34 virtual WebPreferences GetWebkitPrefs();
35 virtual void RunJavaScriptMessage( 35 virtual void RunJavaScriptMessage(
36 const std::wstring& message, 36 const std::wstring& message,
37 const std::wstring& default_prompt, 37 const std::wstring& default_prompt,
38 const GURL& frame_url,
38 const int flags, 39 const int flags,
39 IPC::Message* reply_msg, 40 IPC::Message* reply_msg,
40 bool* did_suppress_message); 41 bool* did_suppress_message);
41 42
42 private: 43 private:
43 Profile* profile_; 44 Profile* profile_;
44 }; 45 };
45 46
46 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_H_ 47 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698