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

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

Issue 126137: Part 1 of merging Extensions and DOMUI (Closed)
Patch Set: add test and rebase Created 11 years, 5 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
« no previous file with comments | « chrome/browser/extensions/extensions_ui.cc ('k') | chrome/browser/external_tab_container.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <vector> 8 #include <vector>
9 9
10 #include "chrome/browser/tab_contents/tab_contents_delegate.h" 10 #include "chrome/browser/tab_contents/tab_contents_delegate.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 virtual void UpdateTargetURL(TabContents* source, const GURL& url); 80 virtual void UpdateTargetURL(TabContents* source, const GURL& url);
81 virtual void ContentsZoomChange(bool zoom_in); 81 virtual void ContentsZoomChange(bool zoom_in);
82 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); 82 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating);
83 virtual void ForwardMessageToExternalHost(const std::string& message, 83 virtual void ForwardMessageToExternalHost(const std::string& message,
84 const std::string& origin, 84 const std::string& origin,
85 const std::string& target); 85 const std::string& target);
86 virtual bool IsExternalTabContainer() const { 86 virtual bool IsExternalTabContainer() const {
87 return true; 87 return true;
88 }; 88 };
89 89
90 virtual ExtensionFunctionDispatcher *CreateExtensionFunctionDispatcher(
91 RenderViewHost* render_view_host,
92 const std::string& extension_id);
93 virtual bool TakeFocus(bool reverse); 90 virtual bool TakeFocus(bool reverse);
94 91
95 // Overridden from NotificationObserver: 92 // Overridden from NotificationObserver:
96 virtual void Observe(NotificationType type, 93 virtual void Observe(NotificationType type,
97 const NotificationSource& source, 94 const NotificationSource& source,
98 const NotificationDetails& details); 95 const NotificationDetails& details);
99 96
100 // Overridden from views::KeystrokeListener: 97 // Overridden from views::KeystrokeListener:
101 virtual bool ProcessKeyStroke(HWND window, UINT message, WPARAM wparam, 98 virtual bool ProcessKeyStroke(HWND window, UINT message, WPARAM wparam,
102 LPARAM lparam); 99 LPARAM lparam);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 137
141 // Contains the list of disabled context menu identifiers. 138 // Contains the list of disabled context menu identifiers.
142 std::vector<int> disabled_context_menu_ids_; 139 std::vector<int> disabled_context_menu_ids_;
143 140
144 scoped_ptr<RenderViewContextMenuExternalWin> external_context_menu_; 141 scoped_ptr<RenderViewContextMenuExternalWin> external_context_menu_;
145 142
146 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); 143 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer);
147 }; 144 };
148 145
149 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_ 146 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extensions_ui.cc ('k') | chrome/browser/external_tab_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698