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

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

Issue 2185823005: Make RenderViewImpl::OnForceRedraw more robust (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments and add tests 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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 void OnSetPageEncoding(const std::string& encoding_name); 628 void OnSetPageEncoding(const std::string& encoding_name);
629 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); 629 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs);
630 void OnSetWebUIProperty(const std::string& name, const std::string& value); 630 void OnSetWebUIProperty(const std::string& name, const std::string& value);
631 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); 631 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level);
632 void OnSuppressDialogsUntilSwapOut(); 632 void OnSuppressDialogsUntilSwapOut();
633 void OnThemeChanged(); 633 void OnThemeChanged();
634 void OnUpdateTargetURLAck(); 634 void OnUpdateTargetURLAck();
635 void OnUpdateWebPreferences(const WebPreferences& prefs); 635 void OnUpdateWebPreferences(const WebPreferences& prefs);
636 void OnSetPageScale(float page_scale_factor); 636 void OnSetPageScale(float page_scale_factor);
637 void OnZoom(PageZoom zoom); 637 void OnZoom(PageZoom zoom);
638 void OnForceRedraw(int request_id); 638 void OnForceRedraw(const ui::LatencyInfo& latency_info);
639 void OnSelectWordAroundCaret(); 639 void OnSelectWordAroundCaret();
640 #if defined(OS_ANDROID) 640 #if defined(OS_ANDROID)
641 void OnUndoScrollFocusedEditableNodeIntoRect(); 641 void OnUndoScrollFocusedEditableNodeIntoRect();
642 void OnUpdateTopControlsState(bool enable_hiding, 642 void OnUpdateTopControlsState(bool enable_hiding,
643 bool enable_showing, 643 bool enable_showing,
644 bool animate); 644 bool animate);
645 void OnExtractSmartClipData(const gfx::Rect& rect); 645 void OnExtractSmartClipData(const gfx::Rect& rect);
646 #elif defined(OS_MACOSX) 646 #elif defined(OS_MACOSX)
647 void OnGetRenderedText(); 647 void OnGetRenderedText();
648 #endif 648 #endif
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 // use the Observer interface to filter IPC messages and receive frame change 925 // use the Observer interface to filter IPC messages and receive frame change
926 // notifications. 926 // notifications.
927 // --------------------------------------------------------------------------- 927 // ---------------------------------------------------------------------------
928 928
929 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 929 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
930 }; 930 };
931 931
932 } // namespace content 932 } // namespace content
933 933
934 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 934 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698