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

Side by Side Diff: chrome/browser/extensions/extension_dom_ui.h

Issue 1627024: Add ExtensionFunctionDispatcher::Delegate::GetAssociatedTabContents (Closed)
Patch Set: cr changes Created 10 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_function_dispatcher.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_EXTENSIONS_EXTENSION_DOM_UI_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DOM_UI_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DOM_UI_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DOM_UI_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 29 matching lines...) Expand all
40 virtual void ProcessDOMUIMessage(const std::string& message, 40 virtual void ProcessDOMUIMessage(const std::string& message,
41 const Value* content, 41 const Value* content,
42 const GURL& source_url, 42 const GURL& source_url,
43 int request_id, 43 int request_id,
44 bool has_callback); 44 bool has_callback);
45 45
46 // ExtensionFunctionDispatcher::Delegate 46 // ExtensionFunctionDispatcher::Delegate
47 virtual Browser* GetBrowser() const; 47 virtual Browser* GetBrowser() const;
48 virtual gfx::NativeView GetNativeViewOfHost(); 48 virtual gfx::NativeView GetNativeViewOfHost();
49 virtual gfx::NativeWindow GetCustomFrameNativeWindow(); 49 virtual gfx::NativeWindow GetCustomFrameNativeWindow();
50 50 virtual TabContents* associated_tab_contents() { return tab_contents(); }
51 virtual Profile* GetProfile(); 51 virtual Profile* GetProfile();
52 52
53 virtual ExtensionBookmarkManagerEventRouter* 53 virtual ExtensionBookmarkManagerEventRouter*
54 extension_bookmark_manager_event_router() { 54 extension_bookmark_manager_event_router() {
55 return extension_bookmark_manager_event_router_.get(); 55 return extension_bookmark_manager_event_router_.get();
56 } 56 }
57 57
58 // BrowserURLHandler 58 // BrowserURLHandler
59 static bool HandleChromeURLOverride(GURL* url, Profile* profile); 59 static bool HandleChromeURLOverride(GURL* url, Profile* profile);
60 60
(...skipping 29 matching lines...) Expand all
90 90
91 void ResetExtensionBookmarkManagerEventRouter(); 91 void ResetExtensionBookmarkManagerEventRouter();
92 92
93 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; 93 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
94 94
95 scoped_ptr<ExtensionBookmarkManagerEventRouter> 95 scoped_ptr<ExtensionBookmarkManagerEventRouter>
96 extension_bookmark_manager_event_router_; 96 extension_bookmark_manager_event_router_;
97 }; 97 };
98 98
99 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DOM_UI_H_ 99 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DOM_UI_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_function_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698