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

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

Issue 2201853002: Blink handle selection handle visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing aura problems Created 4 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 // Called when the parent window bounds change. 518 // Called when the parent window bounds change.
519 void HandleParentBoundsChanged(); 519 void HandleParentBoundsChanged();
520 520
521 // Called when the parent window hierarchy for our window changes. 521 // Called when the parent window hierarchy for our window changes.
522 void ParentHierarchyChanged(); 522 void ParentHierarchyChanged();
523 523
524 // Helper function to be called whenever new selection information is 524 // Helper function to be called whenever new selection information is
525 // received. It will update selection controller. 525 // received. It will update selection controller.
526 void SelectionUpdated(bool is_editable, 526 void SelectionUpdated(bool is_editable,
527 bool is_empty_text_form_control, 527 bool is_empty_text_form_control,
528 bool is_handle_visible,
528 const gfx::SelectionBound& start, 529 const gfx::SelectionBound& start,
529 const gfx::SelectionBound& end); 530 const gfx::SelectionBound& end);
530 531
531 // Helper function to create a selection controller. 532 // Helper function to create a selection controller.
532 void CreateSelectionController(); 533 void CreateSelectionController();
533 534
534 // Performs gesture handling needed for touch text selection. Sets event as 535 // Performs gesture handling needed for touch text selection. Sets event as
535 // handled if it should not be further processed. 536 // handled if it should not be further processed.
536 void HandleGestureForTouchSelection(ui::GestureEvent* event); 537 void HandleGestureForTouchSelection(ui::GestureEvent* event);
537 538
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 bool disable_input_event_router_for_testing_; 689 bool disable_input_event_router_for_testing_;
689 690
690 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 691 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
691 692
692 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 693 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
693 }; 694 };
694 695
695 } // namespace content 696 } // namespace content
696 697
697 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 698 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698