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

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

Issue 2323983003: DO NOT SUBMIT: Bundle IME-related messages into one for batch edit (Closed)
Patch Set: fixed nits and fixed blimp test Created 4 years, 3 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/test/test_render_frame.cc ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('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) 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 WebRange selectionRange() const override; 158 WebRange selectionRange() const override;
159 WebString selectionAsText() const override; 159 WebString selectionAsText() const override;
160 WebString selectionAsMarkup() const override; 160 WebString selectionAsMarkup() const override;
161 bool selectWordAroundCaret() override; 161 bool selectWordAroundCaret() override;
162 void selectRange(const WebPoint& base, const WebPoint& extent) override; 162 void selectRange(const WebPoint& base, const WebPoint& extent) override;
163 void selectRange(const WebRange&) override; 163 void selectRange(const WebRange&) override;
164 WebString rangeAsText(const WebRange&) override; 164 WebString rangeAsText(const WebRange&) override;
165 void moveRangeSelectionExtent(const WebPoint&) override; 165 void moveRangeSelectionExtent(const WebPoint&) override;
166 void moveRangeSelection(const WebPoint& base, const WebPoint& extent, WebFra me::TextGranularity = CharacterGranularity) override; 166 void moveRangeSelection(const WebPoint& base, const WebPoint& extent, WebFra me::TextGranularity = CharacterGranularity) override;
167 void moveCaretSelection(const WebPoint&) override; 167 void moveCaretSelection(const WebPoint&) override;
168 bool setEditableSelectionOffsets(int start, int end) override;
169 bool setCompositionFromExistingText(int compositionStart, int compositionEnd , const WebVector<WebCompositionUnderline>& underlines) override;
170 void extendSelectionAndDelete(int before, int after) override;
171 void setCaretVisible(bool) override; 168 void setCaretVisible(bool) override;
172 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri de; 169 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri de;
173 float printPage(int pageToPrint, WebCanvas*) override; 170 float printPage(int pageToPrint, WebCanvas*) override;
174 float getPrintPageShrink(int page) override; 171 float getPrintPageShrink(int page) override;
175 void printEnd() override; 172 void printEnd() override;
176 bool isPrintScalingDisabledForPlugin(const WebNode&) override; 173 bool isPrintScalingDisabledForPlugin(const WebNode&) override;
177 bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*) override; 174 bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*) override;
178 bool hasCustomPageSizeStyle(int pageIndex) override; 175 bool hasCustomPageSizeStyle(int pageIndex) override;
179 bool isPageBoxVisible(int pageIndex) override; 176 bool isPageBoxVisible(int pageIndex) override;
180 void pageSizeAndMarginsInPixels( 177 void pageSizeAndMarginsInPixels(
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 // Accomplish that by keeping a self-referential Persistent<>. It is 390 // Accomplish that by keeping a self-referential Persistent<>. It is
394 // cleared upon close(). 391 // cleared upon close().
395 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 392 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
396 }; 393 };
397 394
398 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 395 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
399 396
400 } // namespace blink 397 } // namespace blink
401 398
402 #endif 399 #endif
OLDNEW
« no previous file with comments | « content/test/test_render_frame.cc ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698