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

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

Issue 8432011: Move RendererPreferences to content/public/common and also put in the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_host.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 virtual RenderViewHostDelegate::View* GetViewDelegate() OVERRIDE; 132 virtual RenderViewHostDelegate::View* GetViewDelegate() OVERRIDE;
133 virtual WebPreferences GetWebkitPrefs() OVERRIDE; 133 virtual WebPreferences GetWebkitPrefs() OVERRIDE;
134 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, 134 virtual void RunJavaScriptMessage(const RenderViewHost* rvh,
135 const string16& message, 135 const string16& message,
136 const string16& default_prompt, 136 const string16& default_prompt,
137 const GURL& frame_url, 137 const GURL& frame_url,
138 const int flags, 138 const int flags,
139 IPC::Message* reply_msg, 139 IPC::Message* reply_msg,
140 bool* did_suppress_message) OVERRIDE; 140 bool* did_suppress_message) OVERRIDE;
141 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; 141 virtual void Close(RenderViewHost* render_view_host) OVERRIDE;
142 virtual RendererPreferences GetRendererPrefs( 142 virtual content::RendererPreferences GetRendererPrefs(
143 content::BrowserContext* browser_context) const OVERRIDE; 143 content::BrowserContext* browser_context) const OVERRIDE;
144 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 144 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
145 bool* is_keyboard_shortcut) OVERRIDE; 145 bool* is_keyboard_shortcut) OVERRIDE;
146 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) 146 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event)
147 OVERRIDE; 147 OVERRIDE;
148 virtual void HandleMouseMove() OVERRIDE; 148 virtual void HandleMouseMove() OVERRIDE;
149 virtual void HandleMouseDown() OVERRIDE; 149 virtual void HandleMouseDown() OVERRIDE;
150 virtual void HandleMouseLeave() OVERRIDE; 150 virtual void HandleMouseLeave() OVERRIDE;
151 virtual void HandleMouseUp() OVERRIDE; 151 virtual void HandleMouseUp() OVERRIDE;
152 virtual void HandleMouseActivate() OVERRIDE; 152 virtual void HandleMouseActivate() OVERRIDE;
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // The relevant TabContents associated with this ExtensionHost, if any. 285 // The relevant TabContents associated with this ExtensionHost, if any.
286 TabContents* associated_tab_contents_; 286 TabContents* associated_tab_contents_;
287 287
288 // Used to measure how long it's been since the host was created. 288 // Used to measure how long it's been since the host was created.
289 PerfTimer since_created_; 289 PerfTimer since_created_;
290 290
291 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 291 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
292 }; 292 };
293 293
294 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 294 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698