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

Side by Side Diff: third_party/WebKit/public/web/WebFrameClient.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
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | third_party/WebKit/public/web/WebView.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 // WebKit is about to release its reference to a v8 context for a frame. 572 // WebKit is about to release its reference to a v8 context for a frame.
573 virtual void willReleaseScriptContext(WebLocalFrame*, 573 virtual void willReleaseScriptContext(WebLocalFrame*,
574 v8::Local<v8::Context>, 574 v8::Local<v8::Context>,
575 int worldId) {} 575 int worldId) {}
576 576
577 // Geometry notifications ---------------------------------------------- 577 // Geometry notifications ----------------------------------------------
578 578
579 // The main frame scrolled. 579 // The main frame scrolled.
580 virtual void didChangeScrollOffset(WebLocalFrame*) {} 580 virtual void didChangeScrollOffset(WebLocalFrame*) {}
581 581
582 // The main frame restored page scale on load.
583 virtual void didRestorePageScaleFactorOnLoad(float pageScale) {}
584
582 // If the frame is loading an HTML document, this will be called to 585 // If the frame is loading an HTML document, this will be called to
583 // notify that the <body> will be attached soon. 586 // notify that the <body> will be attached soon.
584 virtual void willInsertBody(WebLocalFrame*) {} 587 virtual void willInsertBody(WebLocalFrame*) {}
585 588
586 // Find-in-page notifications ------------------------------------------ 589 // Find-in-page notifications ------------------------------------------
587 590
588 // Notifies how many matches have been found in this frame so far, for a 591 // Notifies how many matches have been found in this frame so far, for a
589 // given identifier. |finalUpdate| specifies whether this is the last 592 // given identifier. |finalUpdate| specifies whether this is the last
590 // update for this frame. 593 // update for this frame.
591 virtual void reportFindInPageMatchCount(int identifier, 594 virtual void reportFindInPageMatchCount(int identifier,
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 // Overwrites the given URL to use an HTML5 embed if possible. 753 // Overwrites the given URL to use an HTML5 embed if possible.
751 // An empty URL is returned if the URL is not overriden. 754 // An empty URL is returned if the URL is not overriden.
752 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { 755 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) {
753 return WebURL(); 756 return WebURL();
754 } 757 }
755 }; 758 };
756 759
757 } // namespace blink 760 } // namespace blink
758 761
759 #endif 762 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | third_party/WebKit/public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698