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

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

Issue 9235002: Enable devtools via context menu in platform apps and popup extensions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: More feedback response Created 8 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_HOST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 virtual void RenderViewReady() OVERRIDE; 118 virtual void RenderViewReady() OVERRIDE;
119 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; 119 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;
120 virtual void DocumentAvailableInMainFrame() OVERRIDE; 120 virtual void DocumentAvailableInMainFrame() OVERRIDE;
121 virtual void DocumentLoadedInFrame(int64 frame_id) OVERRIDE; 121 virtual void DocumentLoadedInFrame(int64 frame_id) OVERRIDE;
122 virtual void DidStopLoading() OVERRIDE; 122 virtual void DidStopLoading() OVERRIDE;
123 123
124 // content::WebContentsDelegate 124 // content::WebContentsDelegate
125 virtual content::WebContents* OpenURLFromTab( 125 virtual content::WebContents* OpenURLFromTab(
126 content::WebContents* source, 126 content::WebContents* source,
127 const content::OpenURLParams& params) OVERRIDE; 127 const content::OpenURLParams& params) OVERRIDE;
128 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE;
129 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 128 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
130 bool* is_keyboard_shortcut) OVERRIDE; 129 bool* is_keyboard_shortcut) OVERRIDE;
131 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) 130 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event)
132 OVERRIDE; 131 OVERRIDE;
133 virtual void UpdatePreferredSize(content::WebContents* source, 132 virtual void UpdatePreferredSize(content::WebContents* source,
134 const gfx::Size& pref_size) OVERRIDE; 133 const gfx::Size& pref_size) OVERRIDE;
135 virtual content::JavaScriptDialogCreator* GetJavaScriptDialogCreator() 134 virtual content::JavaScriptDialogCreator* GetJavaScriptDialogCreator()
136 OVERRIDE; 135 OVERRIDE;
137 virtual void RunFileChooser( 136 virtual void RunFileChooser(
138 content::WebContents* tab, 137 content::WebContents* tab,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // The relevant WebContents associated with this ExtensionHost, if any. 229 // The relevant WebContents associated with this ExtensionHost, if any.
231 content::WebContents* associated_web_contents_; 230 content::WebContents* associated_web_contents_;
232 231
233 // Used to measure how long it's been since the host was created. 232 // Used to measure how long it's been since the host was created.
234 PerfTimer since_created_; 233 PerfTimer since_created_;
235 234
236 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 235 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
237 }; 236 };
238 237
239 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 238 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_host.cc » ('j') | chrome/browser/extensions/platform_app_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698