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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 12213066: Use base namespace for FilePath in content/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 virtual void DesktopNotificationPermissionRequestDone( 130 virtual void DesktopNotificationPermissionRequestDone(
131 int callback_context) OVERRIDE; 131 int callback_context) OVERRIDE;
132 virtual void DesktopNotificationPostDisplay(int callback_context) OVERRIDE; 132 virtual void DesktopNotificationPostDisplay(int callback_context) OVERRIDE;
133 virtual void DesktopNotificationPostError(int notification_id, 133 virtual void DesktopNotificationPostError(int notification_id,
134 const string16& message) OVERRIDE; 134 const string16& message) OVERRIDE;
135 virtual void DesktopNotificationPostClose(int notification_id, 135 virtual void DesktopNotificationPostClose(int notification_id,
136 bool by_user) OVERRIDE; 136 bool by_user) OVERRIDE;
137 virtual void DesktopNotificationPostClick(int notification_id) OVERRIDE; 137 virtual void DesktopNotificationPostClick(int notification_id) OVERRIDE;
138 virtual void DirectoryEnumerationFinished( 138 virtual void DirectoryEnumerationFinished(
139 int request_id, 139 int request_id,
140 const std::vector<FilePath>& files) OVERRIDE; 140 const std::vector<base::FilePath>& files) OVERRIDE;
141 virtual void DisableScrollbarsForThreshold(const gfx::Size& size) OVERRIDE; 141 virtual void DisableScrollbarsForThreshold(const gfx::Size& size) OVERRIDE;
142 virtual void DragSourceEndedAt( 142 virtual void DragSourceEndedAt(
143 int client_x, int client_y, int screen_x, int screen_y, 143 int client_x, int client_y, int screen_x, int screen_y,
144 WebKit::WebDragOperation operation) OVERRIDE; 144 WebKit::WebDragOperation operation) OVERRIDE;
145 virtual void DragSourceMovedTo( 145 virtual void DragSourceMovedTo(
146 int client_x, int client_y, int screen_x, int screen_y) OVERRIDE; 146 int client_x, int client_y, int screen_x, int screen_y) OVERRIDE;
147 virtual void DragSourceSystemDragEnded() OVERRIDE; 147 virtual void DragSourceSystemDragEnded() OVERRIDE;
148 virtual void DragTargetDragEnter( 148 virtual void DragTargetDragEnter(
149 const WebDropData& drop_data, 149 const WebDropData& drop_data,
150 const gfx::Point& client_pt, 150 const gfx::Point& client_pt,
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 328
329 // Get html data by serializing all frames of current page with lists 329 // Get html data by serializing all frames of current page with lists
330 // which contain all resource links that have local copy. 330 // which contain all resource links that have local copy.
331 // The parameter links contain original URLs of all saved links. 331 // The parameter links contain original URLs of all saved links.
332 // The parameter local_paths contain corresponding local file paths of 332 // The parameter local_paths contain corresponding local file paths of
333 // all saved links, which matched with vector:links one by one. 333 // all saved links, which matched with vector:links one by one.
334 // The parameter local_directory_name is relative path of directory which 334 // The parameter local_directory_name is relative path of directory which
335 // contain all saved auxiliary files included all sub frames and resouces. 335 // contain all saved auxiliary files included all sub frames and resouces.
336 void GetSerializedHtmlDataForCurrentPageWithLocalLinks( 336 void GetSerializedHtmlDataForCurrentPageWithLocalLinks(
337 const std::vector<GURL>& links, 337 const std::vector<GURL>& links,
338 const std::vector<FilePath>& local_paths, 338 const std::vector<base::FilePath>& local_paths,
339 const FilePath& local_directory_name); 339 const base::FilePath& local_directory_name);
340 340
341 // Notifies the RenderViewHost that its load state changed. 341 // Notifies the RenderViewHost that its load state changed.
342 void LoadStateChanged(const GURL& url, 342 void LoadStateChanged(const GURL& url,
343 const net::LoadStateWithParam& load_state, 343 const net::LoadStateWithParam& load_state,
344 uint64 upload_position, 344 uint64 upload_position,
345 uint64 upload_size); 345 uint64 upload_size);
346 346
347 bool SuddenTerminationAllowed() const; 347 bool SuddenTerminationAllowed() const;
348 void set_sudden_termination_allowed(bool enabled) { 348 void set_sudden_termination_allowed(bool enabled) {
349 sudden_termination_allowed_ = enabled; 349 sudden_termination_allowed_ = enabled;
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 692 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
693 }; 693 };
694 694
695 #if defined(COMPILER_MSVC) 695 #if defined(COMPILER_MSVC)
696 #pragma warning(pop) 696 #pragma warning(pop)
697 #endif 697 #endif
698 698
699 } // namespace content 699 } // namespace content
700 700
701 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 701 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698