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

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

Issue 134683004: Disabled pinch zooming in non-browser Aura windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | 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) 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 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 content::WebContents* new_contents, 91 content::WebContents* new_contents,
92 WindowOpenDisposition disposition, 92 WindowOpenDisposition disposition,
93 const gfx::Rect& initial_pos, 93 const gfx::Rect& initial_pos,
94 bool user_gesture, 94 bool user_gesture,
95 bool* was_blocked) OVERRIDE; 95 bool* was_blocked) OVERRIDE;
96 virtual void CloseContents(content::WebContents* contents) OVERRIDE; 96 virtual void CloseContents(content::WebContents* contents) OVERRIDE;
97 virtual void RequestMediaAccessPermission( 97 virtual void RequestMediaAccessPermission(
98 content::WebContents* web_contents, 98 content::WebContents* web_contents,
99 const content::MediaStreamRequest& request, 99 const content::MediaStreamRequest& request,
100 const content::MediaResponseCallback& callback) OVERRIDE; 100 const content::MediaResponseCallback& callback) OVERRIDE;
101 virtual bool PreHandleGestureEvent(
102 content::WebContents* source,
103 const blink::WebGestureEvent& event) OVERRIDE;
101 104
102 // content::NotificationObserver 105 // content::NotificationObserver
103 virtual void Observe(int type, 106 virtual void Observe(int type,
104 const content::NotificationSource& source, 107 const content::NotificationSource& source,
105 const content::NotificationDetails& details) OVERRIDE; 108 const content::NotificationDetails& details) OVERRIDE;
106 109
107 protected: 110 protected:
108 content::NotificationRegistrar* registrar() { return &registrar_; } 111 content::NotificationRegistrar* registrar() { return &registrar_; }
109 112
110 // Called after the extension page finishes loading but before the 113 // Called after the extension page finishes loading but before the
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 181
179 // Used to measure how long it's been since the host was created. 182 // Used to measure how long it's been since the host was created.
180 base::ElapsedTimer since_created_; 183 base::ElapsedTimer since_created_;
181 184
182 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 185 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
183 }; 186 };
184 187
185 } // namespace extensions 188 } // namespace extensions
186 189
187 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 190 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698