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

Side by Side Diff: webkit/glue/webframe_impl.h

Issue 164565: Remove WebFrame::selectAll and WebFrame::clearSelection in favor of executeCommand (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « webkit/api/public/WebFrame.h ('k') | webkit/glue/webframe_impl.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 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 const WebKit::WebString& text, unsigned location, unsigned length); 132 const WebKit::WebString& text, unsigned location, unsigned length);
133 virtual void unmarkText(); 133 virtual void unmarkText();
134 virtual bool hasMarkedText() const; 134 virtual bool hasMarkedText() const;
135 virtual WebKit::WebRange markedRange() const; 135 virtual WebKit::WebRange markedRange() const;
136 virtual bool executeCommand(const WebKit::WebString& command); 136 virtual bool executeCommand(const WebKit::WebString& command);
137 virtual bool executeCommand( 137 virtual bool executeCommand(
138 const WebKit::WebString& command, const WebKit::WebString& value); 138 const WebKit::WebString& command, const WebKit::WebString& value);
139 virtual bool isCommandEnabled(const WebKit::WebString& command) const; 139 virtual bool isCommandEnabled(const WebKit::WebString& command) const;
140 virtual void enableContinuousSpellChecking(bool enable); 140 virtual void enableContinuousSpellChecking(bool enable);
141 virtual bool isContinuousSpellCheckingEnabled() const; 141 virtual bool isContinuousSpellCheckingEnabled() const;
142 virtual void selectAll();
143 virtual void clearSelection();
144 virtual bool hasSelection() const; 142 virtual bool hasSelection() const;
145 virtual WebKit::WebRange selectionRange() const; 143 virtual WebKit::WebRange selectionRange() const;
146 virtual WebKit::WebString selectionAsText() const; 144 virtual WebKit::WebString selectionAsText() const;
147 virtual WebKit::WebString selectionAsMarkup() const; 145 virtual WebKit::WebString selectionAsMarkup() const;
148 virtual int printBegin(const WebKit::WebSize& page_size); 146 virtual int printBegin(const WebKit::WebSize& page_size);
149 virtual float printPage(int page_to_print, WebKit::WebCanvas* canvas); 147 virtual float printPage(int page_to_print, WebKit::WebCanvas* canvas);
150 virtual float getPrintPageShrink(int page); 148 virtual float getPrintPageShrink(int page);
151 virtual void printEnd(); 149 virtual void printEnd();
152 virtual bool find( 150 virtual bool find(
153 int identifier, const WebKit::WebString& search_text, 151 int identifier, const WebKit::WebString& search_text,
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 // The input fields that are interested in edit events and their associated 365 // The input fields that are interested in edit events and their associated
368 // listeners. 366 // listeners.
369 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, 367 typedef HashMap<RefPtr<WebCore::HTMLInputElement>,
370 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; 368 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap;
371 PasswordListenerMap password_listeners_; 369 PasswordListenerMap password_listeners_;
372 370
373 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); 371 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl);
374 }; 372 };
375 373
376 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ 374 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/api/public/WebFrame.h ('k') | webkit/glue/webframe_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698