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

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

Issue 434046: Support for chrome.experimental.popup API in ExternalTabContainer views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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) 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_TAB_CONTENTS_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "app/gfx/native_widget_types.h" 10 #include "app/gfx/native_widget_types.h"
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/gfx/rect.h" 12 #include "base/gfx/rect.h"
13 #include "chrome/browser/tab_contents/navigation_entry.h" 13 #include "chrome/browser/tab_contents/navigation_entry.h"
14 #include "chrome/common/native_web_keyboard_event.h" 14 #include "chrome/common/native_web_keyboard_event.h"
15 #include "chrome/common/page_transition_types.h" 15 #include "chrome/common/page_transition_types.h"
16 #include "webkit/glue/context_menu.h" 16 #include "webkit/glue/context_menu.h"
17 #include "webkit/glue/window_open_disposition.h" 17 #include "webkit/glue/window_open_disposition.h"
18 18
19 class Browser;
19 class DownloadItem; 20 class DownloadItem;
20 class ExtensionFunctionDispatcher; 21 class ExtensionFunctionDispatcher;
21 class GURL; 22 class GURL;
22 class HtmlDialogUIDelegate; 23 class HtmlDialogUIDelegate;
23 class Profile; 24 class Profile;
24 class RenderViewHost; 25 class RenderViewHost;
25 class TabContents; 26 class TabContents;
26 class TemplateURL; 27 class TemplateURL;
27 28
28 namespace webkit_glue { 29 namespace webkit_glue {
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 } 245 }
245 246
246 // Returns whether this tab contents should add navigations to history. 247 // Returns whether this tab contents should add navigations to history.
247 virtual bool ShouldAddNavigationsToHistory() const { return true; } 248 virtual bool ShouldAddNavigationsToHistory() const { return true; }
248 249
249 // Notification when web app info data is available 250 // Notification when web app info data is available
250 virtual void OnDidGetApplicationInfo(TabContents* tab_contents, 251 virtual void OnDidGetApplicationInfo(TabContents* tab_contents,
251 int32 page_id) { 252 int32 page_id) {
252 } 253 }
253 254
255 // Returns the browser in which the tab contents is being displayed.
256 virtual Browser* GetBrowser() { return NULL; }
Ben Goodger (Google) 2010/06/03 23:21:18 This is a layering violation and is just about the
Jeff Timanus 2010/06/04 18:16:15 Yikes! And I love kittens! (We should be able to
257
258 // Returns the widget framing the view containing the tab contents.
259 virtual gfx::NativeWindow GetFrameNativeWindow() { return NULL; }
Ben Goodger (Google) 2010/06/03 23:21:18 See the above comment. I am not clear on the need
260
254 protected: 261 protected:
255 ~TabContentsDelegate() {} 262 ~TabContentsDelegate() {}
256 }; 263 };
257 264
258 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ 265 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/external_tab_container.cc ('k') | chrome/browser/views/browser_actions_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698