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

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

Issue 5741001: Even more virtual method deinlining. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (windows) Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 BackgroundContents(SiteInstance* site_instance, 51 BackgroundContents(SiteInstance* site_instance,
52 int routing_id, 52 int routing_id,
53 Delegate* delegate); 53 Delegate* delegate);
54 virtual ~BackgroundContents(); 54 virtual ~BackgroundContents();
55 55
56 // Provide access to the RenderViewHost for the 56 // Provide access to the RenderViewHost for the
57 // RenderViewHostDelegateViewHelper 57 // RenderViewHostDelegateViewHelper
58 RenderViewHost* render_view_host() { return render_view_host_; } 58 RenderViewHost* render_view_host() { return render_view_host_; }
59 59
60 // RenderViewHostDelegate implementation. 60 // RenderViewHostDelegate implementation.
61 virtual BackgroundContents* GetAsBackgroundContents() { return this; } 61 virtual BackgroundContents* GetAsBackgroundContents();
62 virtual RenderViewHostDelegate::View* GetViewDelegate() { return this; } 62 virtual RenderViewHostDelegate::View* GetViewDelegate();
63 virtual const GURL& GetURL() const { return url_; } 63 virtual const GURL& GetURL() const;
64 virtual ViewType::Type GetRenderViewType() const; 64 virtual ViewType::Type GetRenderViewType() const;
65 virtual int GetBrowserWindowID() const; 65 virtual int GetBrowserWindowID() const;
66 virtual void DidNavigate(RenderViewHost* render_view_host, 66 virtual void DidNavigate(RenderViewHost* render_view_host,
67 const ViewHostMsg_FrameNavigate_Params& params); 67 const ViewHostMsg_FrameNavigate_Params& params);
68 virtual WebPreferences GetWebkitPrefs(); 68 virtual WebPreferences GetWebkitPrefs();
69 virtual void ProcessDOMUIMessage(const ViewHostMsg_DomMessage_Params& params); 69 virtual void ProcessDOMUIMessage(const ViewHostMsg_DomMessage_Params& params);
70 virtual void RunJavaScriptMessage(const std::wstring& message, 70 virtual void RunJavaScriptMessage(const std::wstring& message,
71 const std::wstring& default_prompt, 71 const std::wstring& default_prompt,
72 const GURL& frame_url, 72 const GURL& frame_url,
73 const int flags, 73 const int flags,
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 BackgroundContents* contents; 171 BackgroundContents* contents;
172 172
173 // The name of the parent frame for these contents. 173 // The name of the parent frame for these contents.
174 const string16& frame_name; 174 const string16& frame_name;
175 175
176 // The ID of the parent application (if any). 176 // The ID of the parent application (if any).
177 const string16& application_id; 177 const string16& application_id;
178 }; 178 };
179 179
180 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 180 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_closeable_state_watcher.cc ('k') | chrome/browser/tab_contents/background_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698