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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 25336003: Use root window's coordinates when updating cursor in Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win-specific hack removed Created 7 years 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 | content/browser/renderer_host/render_widget_host_view_aura.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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, SetCompositionText); 390 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, SetCompositionText);
391 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, TouchEventState); 391 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, TouchEventState);
392 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, TouchEventSyncAsync); 392 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, TouchEventSyncAsync);
393 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, SwapNotifiesWindow); 393 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, SwapNotifiesWindow);
394 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, 394 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest,
395 SkippedDelegatedFrames); 395 SkippedDelegatedFrames);
396 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, OutputSurfaceIdChange); 396 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, OutputSurfaceIdChange);
397 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, 397 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest,
398 DiscardDelegatedFrames); 398 DiscardDelegatedFrames);
399 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, SoftwareDPIChange); 399 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, SoftwareDPIChange);
400 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest,
401 UpdateCursorIfOverSelf);
400 402
401 class WindowObserver; 403 class WindowObserver;
402 friend class WindowObserver; 404 friend class WindowObserver;
403 405
404 // Overridden from ImageTransportFactoryObserver: 406 // Overridden from ImageTransportFactoryObserver:
405 virtual void OnLostResources() OVERRIDE; 407 virtual void OnLostResources() OVERRIDE;
406 408
407 // Overridden from BrowserAccessibilityDelegate: 409 // Overridden from BrowserAccessibilityDelegate:
408 virtual void SetAccessibilityFocus(int acc_obj_id) OVERRIDE; 410 virtual void SetAccessibilityFocus(int acc_obj_id) OVERRIDE;
409 virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE; 411 virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE;
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 // passed to windowless plugins like Flash/Silverlight, etc as the 787 // passed to windowless plugins like Flash/Silverlight, etc as the
786 // container window. 788 // container window.
787 HWND plugin_parent_window_; 789 HWND plugin_parent_window_;
788 #endif 790 #endif
789 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 791 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
790 }; 792 };
791 793
792 } // namespace content 794 } // namespace content
793 795
794 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 796 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698