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

Side by Side Diff: chrome/browser/external_tab_container_win.h

Issue 2941001: Removal of TabContentsDelegate::GetBrowser() interface method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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) 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_EXTERNAL_TAB_CONTAINER_WIN_H_ 5 #ifndef CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_
6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ 6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 #include <map> 10 #include <map>
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 virtual bool CanDownload(int request_id); 142 virtual bool CanDownload(int request_id);
143 143
144 virtual bool OnGoToEntryOffset(int offset); 144 virtual bool OnGoToEntryOffset(int offset);
145 145
146 virtual void ShowPageInfo(Profile* profile, 146 virtual void ShowPageInfo(Profile* profile,
147 const GURL& url, 147 const GURL& url,
148 const NavigationEntry::SSLStatus& ssl, 148 const NavigationEntry::SSLStatus& ssl,
149 bool show_history); 149 bool show_history);
150 150
151 virtual Browser* GetBrowser() { return browser_.get(); }
152
153 // Overriden from TabContentsDelegate::AutomationResourceRoutingDelegate 151 // Overriden from TabContentsDelegate::AutomationResourceRoutingDelegate
154 virtual void RegisterRenderViewHost(RenderViewHost* render_view_host); 152 virtual void RegisterRenderViewHost(RenderViewHost* render_view_host);
155 virtual void UnregisterRenderViewHost(RenderViewHost* render_view_host); 153 virtual void UnregisterRenderViewHost(RenderViewHost* render_view_host);
156 154
157 // Overridden from NotificationObserver: 155 // Overridden from NotificationObserver:
158 virtual void Observe(NotificationType type, 156 virtual void Observe(NotificationType type,
159 const NotificationSource& source, 157 const NotificationSource& source,
160 const NotificationDetails& details); 158 const NotificationDetails& details);
161 159
162 // Handles the context menu display operation. This allows external 160 // Handles the context menu display operation. This allows external
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 329
332 views::View* external_tab_view_; 330 views::View* external_tab_view_;
333 331
334 gfx::NativeWindow notification_window_; 332 gfx::NativeWindow notification_window_;
335 int notification_message_; 333 int notification_message_;
336 334
337 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); 335 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer);
338 }; 336 };
339 337
340 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ 338 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_dom_ui.cc ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698