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

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

Issue 10544103: Chromium change of sharing some WebKit API between Android/Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update Created 8 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 | Annotate | Revision Log
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 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 // Dispatches the current navigation state to the browser. Called on a 1071 // Dispatches the current navigation state to the browser. Called on a
1072 // periodic timer so we don't send too many messages. 1072 // periodic timer so we don't send too many messages.
1073 void SyncNavigationState(); 1073 void SyncNavigationState();
1074 1074
1075 // Dispatches the current state of selection on the webpage to the browser if 1075 // Dispatches the current state of selection on the webpage to the browser if
1076 // it has changed. 1076 // it has changed.
1077 // TODO(varunjain): delete this method once we figure out how to keep 1077 // TODO(varunjain): delete this method once we figure out how to keep
1078 // selection handles in sync with the webpage. 1078 // selection handles in sync with the webpage.
1079 void SyncSelectionIfRequired(); 1079 void SyncSelectionIfRequired();
1080 1080
1081 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) 1081 #if defined(OS_POSIX) && !defined(OS_MACOSX)
1082 void UpdateFontRenderingFromRendererPrefs(); 1082 void UpdateFontRenderingFromRendererPrefs();
1083 #else 1083 #else
1084 void UpdateFontRenderingFromRendererPrefs() {} 1084 void UpdateFontRenderingFromRendererPrefs() {}
1085 #endif 1085 #endif
1086 1086
1087 // Update the target url and tell the browser that the target URL has changed. 1087 // Update the target url and tell the browser that the target URL has changed.
1088 // If |url| is empty, show |fallback_url|. 1088 // If |url| is empty, show |fallback_url|.
1089 void UpdateTargetURL(const GURL& url, const GURL& fallback_url); 1089 void UpdateTargetURL(const GURL& url, const GURL& fallback_url);
1090 1090
1091 // --------------------------------------------------------------------------- 1091 // ---------------------------------------------------------------------------
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1430 // bunch of stuff, you should probably create a helper class and put your 1430 // bunch of stuff, you should probably create a helper class and put your
1431 // data and methods on that to avoid bloating RenderView more. You can 1431 // data and methods on that to avoid bloating RenderView more. You can
1432 // use the Observer interface to filter IPC messages and receive frame change 1432 // use the Observer interface to filter IPC messages and receive frame change
1433 // notifications. 1433 // notifications.
1434 // --------------------------------------------------------------------------- 1434 // ---------------------------------------------------------------------------
1435 1435
1436 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1436 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1437 }; 1437 };
1438 1438
1439 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1439 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698