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

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

Issue 79070: createWindow api call. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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) 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_EXTERNAL_TAB_CONTAINER_H_ 5 #ifndef CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_
6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_ 6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 virtual void UpdateTargetURL(TabContents* source, const GURL& url); 81 virtual void UpdateTargetURL(TabContents* source, const GURL& url);
82 virtual void ContentsZoomChange(bool zoom_in); 82 virtual void ContentsZoomChange(bool zoom_in);
83 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); 83 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating);
84 virtual void ForwardMessageToExternalHost(const std::string& message, 84 virtual void ForwardMessageToExternalHost(const std::string& message,
85 const std::string& origin, 85 const std::string& origin,
86 const std::string& target); 86 const std::string& target);
87 virtual bool IsExternalTabContainer() const { 87 virtual bool IsExternalTabContainer() const {
88 return true; 88 return true;
89 }; 89 };
90 90
91 // Creates an ExtensionFunctionDispatcher that has no browser
92 virtual ExtensionFunctionDispatcher *CreateExtensionFunctionDispatcher(
93 RenderViewHost* render_view_host,
94 const std::string& extension_id);
95
91 virtual bool TakeFocus(bool reverse); 96 virtual bool TakeFocus(bool reverse);
92 97
93 // Notification service callback. 98 // Notification service callback.
94 virtual void Observe(NotificationType type, 99 virtual void Observe(NotificationType type,
95 const NotificationSource& source, 100 const NotificationSource& source,
96 const NotificationDetails& details); 101 const NotificationDetails& details);
97 102
98 ///////////////////////////////////////////////////////////////////////////// 103 /////////////////////////////////////////////////////////////////////////////
99 // views::Widget 104 // views::Widget
100 ///////////////////////////////////////////////////////////////////////////// 105 /////////////////////////////////////////////////////////////////////////////
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // A failed navigation like a 404 is followed in chrome with a success 162 // A failed navigation like a 404 is followed in chrome with a success
158 // navigation for the 404 page. We need to ignore the next navigation 163 // navigation for the 404 page. We need to ignore the next navigation
159 // to avoid confusing the clients of the external tab. This member variable 164 // to avoid confusing the clients of the external tab. This member variable
160 // is set when we need to ignore the next load notification. 165 // is set when we need to ignore the next load notification.
161 bool ignore_next_load_notification_; 166 bool ignore_next_load_notification_;
162 167
163 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); 168 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer);
164 }; 169 };
165 170
166 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_ 171 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_view_unittest.cc ('k') | chrome/browser/external_tab_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698