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

Side by Side Diff: chrome/browser/devtools/devtools_window.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, 11 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
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_DEVTOOLS_DEVTOOLS_WINDOW_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 virtual content::JavaScriptDialogManager* 282 virtual content::JavaScriptDialogManager*
283 GetJavaScriptDialogManager() OVERRIDE; 283 GetJavaScriptDialogManager() OVERRIDE;
284 virtual content::ColorChooser* OpenColorChooser( 284 virtual content::ColorChooser* OpenColorChooser(
285 content::WebContents* web_contents, 285 content::WebContents* web_contents,
286 SkColor color, 286 SkColor color,
287 const std::vector<content::ColorSuggestion>& suggestions) OVERRIDE; 287 const std::vector<content::ColorSuggestion>& suggestions) OVERRIDE;
288 virtual void RunFileChooser( 288 virtual void RunFileChooser(
289 content::WebContents* web_contents, 289 content::WebContents* web_contents,
290 const content::FileChooserParams& params) OVERRIDE; 290 const content::FileChooserParams& params) OVERRIDE;
291 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; 291 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE;
292 virtual bool PreHandleGestureEvent(
293 content::WebContents* source,
294 const blink::WebGestureEvent& event) OVERRIDE;
292 295
293 // content::DevToolsFrontendHostDelegate override: 296 // content::DevToolsFrontendHostDelegate override:
294 virtual void DispatchOnEmbedder(const std::string& message) OVERRIDE; 297 virtual void DispatchOnEmbedder(const std::string& message) OVERRIDE;
295 298
296 // DevToolsEmbedderMessageDispatcher::Delegate overrides: 299 // DevToolsEmbedderMessageDispatcher::Delegate overrides:
297 virtual void ActivateWindow() OVERRIDE; 300 virtual void ActivateWindow() OVERRIDE;
298 virtual void ActivateContents(content::WebContents* contents) OVERRIDE; 301 virtual void ActivateContents(content::WebContents* contents) OVERRIDE;
299 virtual void CloseWindow() OVERRIDE; 302 virtual void CloseWindow() OVERRIDE;
300 virtual void SetContentsInsets( 303 virtual void SetContentsInsets(
301 int left, int top, int right, int bottom) OVERRIDE; 304 int left, int top, int right, int bottom) OVERRIDE;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 // True if we're in the process of handling a beforeunload event originating 387 // True if we're in the process of handling a beforeunload event originating
385 // from the inspected webcontents, see InterceptPageBeforeUnload for details. 388 // from the inspected webcontents, see InterceptPageBeforeUnload for details.
386 bool intercepted_page_beforeunload_; 389 bool intercepted_page_beforeunload_;
387 390
388 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; 391 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_;
389 base::WeakPtrFactory<DevToolsWindow> weak_factory_; 392 base::WeakPtrFactory<DevToolsWindow> weak_factory_;
390 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 393 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
391 }; 394 };
392 395
393 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 396 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698