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

Side by Side Diff: content/shell/browser/shell.h

Issue 1905873002: Add content_browsertests for testing cache control flags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove ResourceFetcher change temporarily, fix a nit of #19 Created 4 years, 7 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 | « content/public/test/content_browser_test_utils.cc ('k') | content/shell/browser/shell.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_SHELL_BROWSER_SHELL_H_ 4 #ifndef CONTENT_SHELL_BROWSER_SHELL_H_
5 #define CONTENT_SHELL_BROWSER_SHELL_H_ 5 #define CONTENT_SHELL_BROWSER_SHELL_H_
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const GURL& base_url); 64 const GURL& base_url);
65 65
66 #if defined(OS_ANDROID) 66 #if defined(OS_ANDROID)
67 // Android-only path to allow loading long data strings. 67 // Android-only path to allow loading long data strings.
68 void LoadDataAsStringWithBaseURL(const GURL& url, 68 void LoadDataAsStringWithBaseURL(const GURL& url,
69 const std::string& data, 69 const std::string& data,
70 const GURL& base_url); 70 const GURL& base_url);
71 #endif 71 #endif
72 void GoBackOrForward(int offset); 72 void GoBackOrForward(int offset);
73 void Reload(); 73 void Reload();
74 void ReloadBypassingCache();
74 void Stop(); 75 void Stop();
75 void UpdateNavigationControls(bool to_different_document); 76 void UpdateNavigationControls(bool to_different_document);
76 void Close(); 77 void Close();
77 void ShowDevTools(); 78 void ShowDevTools();
78 void ShowDevToolsForElementAt(int x, int y); 79 void ShowDevToolsForElementAt(int x, int y);
79 void CloseDevTools(); 80 void CloseDevTools();
80 #if defined(OS_MACOSX) 81 #if defined(OS_MACOSX)
81 // Resizes the web content view to the given dimensions. 82 // Resizes the web content view to the given dimensions.
82 void SizeTo(const gfx::Size& content_size); 83 void SizeTo(const gfx::Size& content_size);
83 #endif 84 #endif
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 static base::Callback<void(Shell*)> shell_created_callback_; 270 static base::Callback<void(Shell*)> shell_created_callback_;
270 271
271 // True if the destructur of Shell should post a quit closure on the current 272 // True if the destructur of Shell should post a quit closure on the current
272 // message loop if the destructed Shell object was the last one. 273 // message loop if the destructed Shell object was the last one.
273 static bool quit_message_loop_; 274 static bool quit_message_loop_;
274 }; 275 };
275 276
276 } // namespace content 277 } // namespace content
277 278
278 #endif // CONTENT_SHELL_BROWSER_SHELL_H_ 279 #endif // CONTENT_SHELL_BROWSER_SHELL_H_
OLDNEW
« no previous file with comments | « content/public/test/content_browser_test_utils.cc ('k') | content/shell/browser/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698