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

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

Issue 7006006: Replace OS_LINUX ifdefs with OS_POSIX & !OS_MACOSX, TOOLKIT_USES_GTK, or (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 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
« no previous file with comments | « content/renderer/render_thread.cc ('k') | content/renderer/render_view_browsertest.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 const WebKit::WebURLError& error, 874 const WebKit::WebURLError& error,
875 bool replace); 875 bool replace);
876 876
877 // Starts nav_state_sync_timer_ if it isn't already running. 877 // Starts nav_state_sync_timer_ if it isn't already running.
878 void StartNavStateSyncTimerIfNecessary(); 878 void StartNavStateSyncTimerIfNecessary();
879 879
880 // Dispatches the current navigation state to the browser. Called on a 880 // Dispatches the current navigation state to the browser. Called on a
881 // periodic timer so we don't send too many messages. 881 // periodic timer so we don't send too many messages.
882 void SyncNavigationState(); 882 void SyncNavigationState();
883 883
884 #if defined(OS_LINUX) 884 #if defined(OS_POSIX) && !defined(OS_MACOSX)
885 void UpdateFontRenderingFromRendererPrefs(); 885 void UpdateFontRenderingFromRendererPrefs();
886 #else 886 #else
887 void UpdateFontRenderingFromRendererPrefs() {} 887 void UpdateFontRenderingFromRendererPrefs() {}
888 #endif 888 #endif
889 889
890 // Update the target url and tell the browser that the target URL has changed. 890 // Update the target url and tell the browser that the target URL has changed.
891 // If |url| is empty, show |fallback_url|. 891 // If |url| is empty, show |fallback_url|.
892 void UpdateTargetURL(const GURL& url, const GURL& fallback_url); 892 void UpdateTargetURL(const GURL& url, const GURL& fallback_url);
893 893
894 // --------------------------------------------------------------------------- 894 // ---------------------------------------------------------------------------
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
1158 // bunch of stuff, you should probably create a helper class and put your 1158 // bunch of stuff, you should probably create a helper class and put your
1159 // data and methods on that to avoid bloating RenderView more. You can use 1159 // data and methods on that to avoid bloating RenderView more. You can use
1160 // the Observer interface to filter IPC messages and receive frame change 1160 // the Observer interface to filter IPC messages and receive frame change
1161 // notifications. 1161 // notifications.
1162 // --------------------------------------------------------------------------- 1162 // ---------------------------------------------------------------------------
1163 1163
1164 DISALLOW_COPY_AND_ASSIGN(RenderView); 1164 DISALLOW_COPY_AND_ASSIGN(RenderView);
1165 }; 1165 };
1166 1166
1167 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1167 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « content/renderer/render_thread.cc ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698