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

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

Issue 1203693003: Setting Accurate ScrollResult from Blink for Elastic Scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | content/renderer/render_view_impl.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_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 <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 static Referrer GetReferrerFromRequest( 582 static Referrer GetReferrerFromRequest(
583 blink::WebFrame* frame, 583 blink::WebFrame* frame,
584 const blink::WebURLRequest& request); 584 const blink::WebURLRequest& request);
585 585
586 static WindowOpenDisposition NavigationPolicyToDisposition( 586 static WindowOpenDisposition NavigationPolicyToDisposition(
587 blink::WebNavigationPolicy policy); 587 blink::WebNavigationPolicy policy);
588 588
589 void UpdateSessionHistory(blink::WebFrame* frame); 589 void UpdateSessionHistory(blink::WebFrame* frame);
590 void SendUpdateState(HistoryEntry* entry); 590 void SendUpdateState(HistoryEntry* entry);
591 591
592 void ApplyWebPreferencesInternal(const WebPreferences& prefs,
593 blink::WebView* web_view,
594 CompositorDependencies* compositor_deps);
595
592 // Sends a message and runs a nested message loop. 596 // Sends a message and runs a nested message loop.
593 bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message); 597 bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message);
594 598
595 // IPC message handlers ------------------------------------------------------ 599 // IPC message handlers ------------------------------------------------------
596 // 600 //
597 // The documentation for these functions should be in 601 // The documentation for these functions should be in
598 // content/common/*_messages.h for the message that the function is handling. 602 // content/common/*_messages.h for the message that the function is handling.
599 void OnExecuteEditCommand(const std::string& name, const std::string& value); 603 void OnExecuteEditCommand(const std::string& name, const std::string& value);
600 void OnMoveCaret(const gfx::Point& point); 604 void OnMoveCaret(const gfx::Point& point);
601 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); 605 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect);
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 // use the Observer interface to filter IPC messages and receive frame change 1024 // use the Observer interface to filter IPC messages and receive frame change
1021 // notifications. 1025 // notifications.
1022 // --------------------------------------------------------------------------- 1026 // ---------------------------------------------------------------------------
1023 1027
1024 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1028 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1025 }; 1029 };
1026 1030
1027 } // namespace content 1031 } // namespace content
1028 1032
1029 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1033 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698