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

Side by Side Diff: content/renderer/render_widget.h

Issue 2883033003: Propagate inert state to OOPIFs when a modal dialog is active (Closed)
Patch Set: Account for Inert attribute Created 3 years, 6 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_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 virtual void OnDeviceScaleFactorChanged(); 528 virtual void OnDeviceScaleFactorChanged();
529 529
530 void OnRepaint(gfx::Size size_to_paint); 530 void OnRepaint(gfx::Size size_to_paint);
531 void OnSyntheticGestureCompleted(); 531 void OnSyntheticGestureCompleted();
532 void OnSetTextDirection(blink::WebTextDirection direction); 532 void OnSetTextDirection(blink::WebTextDirection direction);
533 void OnGetFPS(); 533 void OnGetFPS();
534 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, 534 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
535 const gfx::Rect& window_screen_rect); 535 const gfx::Rect& window_screen_rect);
536 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); 536 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect);
537 void OnSetViewportIntersection(const gfx::Rect& viewport_intersection); 537 void OnSetViewportIntersection(const gfx::Rect& viewport_intersection);
538 void OnSetIsInert(bool);
538 // Real data that is dragged is not included at DragEnter time. 539 // Real data that is dragged is not included at DragEnter time.
539 void OnDragTargetDragEnter( 540 void OnDragTargetDragEnter(
540 const std::vector<DropData::Metadata>& drop_meta_data, 541 const std::vector<DropData::Metadata>& drop_meta_data,
541 const gfx::Point& client_pt, 542 const gfx::Point& client_pt,
542 const gfx::Point& screen_pt, 543 const gfx::Point& screen_pt,
543 blink::WebDragOperationsMask operations_allowed, 544 blink::WebDragOperationsMask operations_allowed,
544 int key_modifiers); 545 int key_modifiers);
545 void OnDragTargetDragOver(const gfx::Point& client_pt, 546 void OnDragTargetDragOver(const gfx::Point& client_pt,
546 const gfx::Point& screen_pt, 547 const gfx::Point& screen_pt,
547 blink::WebDragOperationsMask operations_allowed, 548 blink::WebDragOperationsMask operations_allowed,
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 scoped_refptr<MainThreadEventQueue> input_event_queue_; 893 scoped_refptr<MainThreadEventQueue> input_event_queue_;
893 894
894 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 895 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
895 896
896 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 897 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
897 }; 898 };
898 899
899 } // namespace content 900 } // namespace content
900 901
901 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 902 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698