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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoaderClient.h

Issue 2417783005: [Master/Overview CL] Make PageScaleFactor work for oopif subframe.
Patch Set: Rebase to master@{#429656}. Created 4 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2012 Google Inc. All rights reserved. 4 * Copyright (C) 2012 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 int extensionGroup, 215 int extensionGroup,
216 int worldId) = 0; 216 int worldId) = 0;
217 virtual void willReleaseScriptContext(v8::Local<v8::Context>, 217 virtual void willReleaseScriptContext(v8::Local<v8::Context>,
218 int worldId) = 0; 218 int worldId) = 0;
219 virtual bool allowScriptExtension(const String& extensionName, 219 virtual bool allowScriptExtension(const String& extensionName,
220 int extensionGroup, 220 int extensionGroup,
221 int worldId) = 0; 221 int worldId) = 0;
222 222
223 virtual void didChangeScrollOffset() {} 223 virtual void didChangeScrollOffset() {}
224 virtual void didUpdateCurrentHistoryItem() {} 224 virtual void didUpdateCurrentHistoryItem() {}
225 virtual void didRestorePageScaleFactorOnLoad(float pageScale) {}
225 226
226 virtual bool allowScript(bool enabledPerSettings) { 227 virtual bool allowScript(bool enabledPerSettings) {
227 return enabledPerSettings; 228 return enabledPerSettings;
228 } 229 }
229 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&) { 230 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&) {
230 return enabledPerSettings; 231 return enabledPerSettings;
231 } 232 }
232 virtual bool allowPlugins(bool enabledPerSettings) { 233 virtual bool allowPlugins(bool enabledPerSettings) {
233 return enabledPerSettings; 234 return enabledPerSettings;
234 } 235 }
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 } 332 }
332 333
333 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is 334 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is
334 // returned if the URL is not overriden. 335 // returned if the URL is not overriden.
335 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } 336 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
336 }; 337 };
337 338
338 } // namespace blink 339 } // namespace blink
339 340
340 #endif // FrameLoaderClient_h 341 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698