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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_win.h

Issue 7618036: mac: Only let two-finger-scrolling trigger history if web doesn't swallow gesture (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: TestRenderViewHost Created 9 years, 4 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) 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlapp.h> 10 #include <atlapp.h>
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 virtual void RenderViewGone(base::TerminationStatus status, 159 virtual void RenderViewGone(base::TerminationStatus status,
160 int error_code) OVERRIDE; 160 int error_code) OVERRIDE;
161 // called by TabContents before DestroyWindow 161 // called by TabContents before DestroyWindow
162 virtual void WillWmDestroy() OVERRIDE; 162 virtual void WillWmDestroy() OVERRIDE;
163 virtual void Destroy() OVERRIDE; 163 virtual void Destroy() OVERRIDE;
164 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE; 164 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE;
165 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 165 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
166 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 166 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
167 virtual void SetVisuallyDeemphasized(const SkColor* color, 167 virtual void SetVisuallyDeemphasized(const SkColor* color,
168 bool animate) OVERRIDE; 168 bool animate) OVERRIDE;
169 virtual void UnhandledWheelEvent(
170 const WebKit::WebMouseWheelEvent& event) OVERRIDE;
171 virtual void SetHasHorizontalScrollbar(
172 bool has_horizontal_scrollbar) OVERRIDE;
173 virtual void SetScrollOffsetPinning(
174 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
169 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; 175 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE;
170 virtual void ShowCompositorHostWindow(bool show) OVERRIDE; 176 virtual void ShowCompositorHostWindow(bool show) OVERRIDE;
171 virtual void OnAccessibilityNotifications( 177 virtual void OnAccessibilityNotifications(
172 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params 178 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params
173 ) OVERRIDE; 179 ) OVERRIDE;
174 180
175 // Implementation of NotificationObserver: 181 // Implementation of NotificationObserver:
176 virtual void Observe(int type, 182 virtual void Observe(int type,
177 const NotificationSource& source, 183 const NotificationSource& source,
178 const NotificationDetails& details) OVERRIDE; 184 const NotificationDetails& details) OVERRIDE;
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 377
372 ScopedVector<ui::ViewProp> props_; 378 ScopedVector<ui::ViewProp> props_;
373 379
374 // Is the widget fullscreen? 380 // Is the widget fullscreen?
375 bool is_fullscreen_; 381 bool is_fullscreen_;
376 382
377 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 383 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
378 }; 384 };
379 385
380 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 386 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698