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

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

Issue 7046041: Removes RenderViewHostDelegate::GetBrowserWindowID. Instead the places (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix interstitialpage Created 9 years, 6 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) 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_BACKGROUND_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 // Provide access to the RenderViewHost for the 57 // Provide access to the RenderViewHost for the
58 // RenderViewHostDelegateViewHelper 58 // RenderViewHostDelegateViewHelper
59 RenderViewHost* render_view_host() { return render_view_host_; } 59 RenderViewHost* render_view_host() { return render_view_host_; }
60 60
61 // RenderViewHostDelegate implementation. 61 // RenderViewHostDelegate implementation.
62 virtual BackgroundContents* GetAsBackgroundContents(); 62 virtual BackgroundContents* GetAsBackgroundContents();
63 virtual RenderViewHostDelegate::View* GetViewDelegate(); 63 virtual RenderViewHostDelegate::View* GetViewDelegate();
64 virtual const GURL& GetURL() const; 64 virtual const GURL& GetURL() const;
65 virtual ViewType::Type GetRenderViewType() const; 65 virtual ViewType::Type GetRenderViewType() const;
66 virtual int GetBrowserWindowID() const;
67 virtual void DidNavigate(RenderViewHost* render_view_host, 66 virtual void DidNavigate(RenderViewHost* render_view_host,
68 const ViewHostMsg_FrameNavigate_Params& params); 67 const ViewHostMsg_FrameNavigate_Params& params);
69 virtual WebPreferences GetWebkitPrefs(); 68 virtual WebPreferences GetWebkitPrefs();
70 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, 69 virtual void RunJavaScriptMessage(const RenderViewHost* rvh,
71 const string16& message, 70 const string16& message,
72 const string16& default_prompt, 71 const string16& default_prompt,
73 const GURL& frame_url, 72 const GURL& frame_url,
74 const int flags, 73 const int flags,
75 IPC::Message* reply_msg, 74 IPC::Message* reply_msg,
76 bool* did_suppress_message); 75 bool* did_suppress_message);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 BackgroundContents* contents; 171 BackgroundContents* contents;
173 172
174 // The name of the parent frame for these contents. 173 // The name of the parent frame for these contents.
175 const string16& frame_name; 174 const string16& frame_name;
176 175
177 // The ID of the parent application (if any). 176 // The ID of the parent application (if any).
178 const string16& application_id; 177 const string16& application_id;
179 }; 178 };
180 179
181 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 180 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698