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

Side by Side Diff: chrome/renderer/render_view.h

Issue 63145: Copy text selection from renderer to browser every time it changes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 // browser process with every little thing that changes. This normally doesn't 828 // browser process with every little thing that changes. This normally doesn't
829 // change but is overridden by tests. 829 // change but is overridden by tests.
830 int delay_seconds_for_form_state_sync_; 830 int delay_seconds_for_form_state_sync_;
831 831
832 // A set of audio renderers registered to use IPC for audio output. 832 // A set of audio renderers registered to use IPC for audio output.
833 IDMap<AudioRendererImpl> audio_renderers_; 833 IDMap<AudioRendererImpl> audio_renderers_;
834 834
835 // Maps pending callback IDs to their frames. 835 // Maps pending callback IDs to their frames.
836 IDMap<WebFrame> pending_extension_callbacks_; 836 IDMap<WebFrame> pending_extension_callbacks_;
837 837
838 // The currently selected text. This is currently only updated on Linux, where
839 // it's for the selection clipboard.
840 std::string selection_text_;
841
842 DISALLOW_COPY_AND_ASSIGN(RenderView); 838 DISALLOW_COPY_AND_ASSIGN(RenderView);
843 }; 839 };
844 840
845 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 841 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698