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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 1423053002: Make document.activeElement work with OOPIF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@focus-preserve-page-focus-on-subframe-navigations
Patch Set: Remove some plumbing that should instead be introduced in the window.focus() CL. Created 5 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 bool selectWordAroundCaret() override; 172 bool selectWordAroundCaret() override;
173 void selectRange(const WebPoint& base, const WebPoint& extent) override; 173 void selectRange(const WebPoint& base, const WebPoint& extent) override;
174 void selectRange(const WebRange&) override; 174 void selectRange(const WebRange&) override;
175 void moveRangeSelectionExtent(const WebPoint&) override; 175 void moveRangeSelectionExtent(const WebPoint&) override;
176 void moveRangeSelection(const WebPoint& base, const WebPoint& extent, WebFra me::TextGranularity = CharacterGranularity) override; 176 void moveRangeSelection(const WebPoint& base, const WebPoint& extent, WebFra me::TextGranularity = CharacterGranularity) override;
177 void moveCaretSelection(const WebPoint&) override; 177 void moveCaretSelection(const WebPoint&) override;
178 bool setEditableSelectionOffsets(int start, int end) override; 178 bool setEditableSelectionOffsets(int start, int end) override;
179 bool setCompositionFromExistingText(int compositionStart, int compositionEnd , const WebVector<WebCompositionUnderline>& underlines) override; 179 bool setCompositionFromExistingText(int compositionStart, int compositionEnd , const WebVector<WebCompositionUnderline>& underlines) override;
180 void extendSelectionAndDelete(int before, int after) override; 180 void extendSelectionAndDelete(int before, int after) override;
181 void setCaretVisible(bool) override; 181 void setCaretVisible(bool) override;
182 void clearFocus() override;
183 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri de; 182 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri de;
184 float printPage(int pageToPrint, WebCanvas*) override; 183 float printPage(int pageToPrint, WebCanvas*) override;
185 float getPrintPageShrink(int page) override; 184 float getPrintPageShrink(int page) override;
186 void printEnd() override; 185 void printEnd() override;
187 bool isPrintScalingDisabledForPlugin(const WebNode&) override; 186 bool isPrintScalingDisabledForPlugin(const WebNode&) override;
188 bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*) override; 187 bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*) override;
189 bool hasCustomPageSizeStyle(int pageIndex) override; 188 bool hasCustomPageSizeStyle(int pageIndex) override;
190 bool isPageBoxVisible(int pageIndex) override; 189 bool isPageBoxVisible(int pageIndex) override;
191 void pageSizeAndMarginsInPixels( 190 void pageSizeAndMarginsInPixels(
192 int pageIndex, 191 int pageIndex,
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // cleared upon close(). 402 // cleared upon close().
404 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 403 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
405 #endif 404 #endif
406 }; 405 };
407 406
408 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 407 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
409 408
410 } // namespace blink 409 } // namespace blink
411 410
412 #endif 411 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698