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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view.h

Issue 8430025: Add a couple of linux-specific exports for the content component build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/plugin_loader_posix.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(OS_MACOSX) 9 #if defined(OS_MACOSX)
10 #include <OpenGL/OpenGL.h> 10 #include <OpenGL/OpenGL.h>
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 int error_code) = 0; 165 int error_code) = 0;
166 166
167 // Tells the View to destroy itself. 167 // Tells the View to destroy itself.
168 virtual void Destroy() = 0; 168 virtual void Destroy() = 0;
169 169
170 // Tells the View that the tooltip text for the current mouse position over 170 // Tells the View that the tooltip text for the current mouse position over
171 // the page has changed. 171 // the page has changed.
172 virtual void SetTooltipText(const string16& tooltip_text) = 0; 172 virtual void SetTooltipText(const string16& tooltip_text) = 0;
173 173
174 // Notifies the View that the renderer text selection has changed. 174 // Notifies the View that the renderer text selection has changed.
175 virtual void SelectionChanged(const string16& text, 175 CONTENT_EXPORT virtual void SelectionChanged(const string16& text,
176 size_t offset, 176 size_t offset,
177 const ui::Range& range); 177 const ui::Range& range);
178 178
179 // Notifies the View that the renderer selection bounds has changed. 179 // Notifies the View that the renderer selection bounds has changed.
180 // |start_rect| and |end_rect| are the bounds end of the selection in the 180 // |start_rect| and |end_rect| are the bounds end of the selection in the
181 // coordinate system of the render view. 181 // coordinate system of the render view.
182 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, 182 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect,
183 const gfx::Rect& end_rect) {} 183 const gfx::Rect& end_rect) {}
184 184
185 // Tells the View whether the context menu is showing. This is used on Linux 185 // Tells the View whether the context menu is showing. This is used on Linux
186 // to suppress updates to webkit focus for the duration of the show. 186 // to suppress updates to webkit focus for the duration of the show.
187 virtual void ShowingContextMenu(bool showing) {} 187 virtual void ShowingContextMenu(bool showing) {}
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 size_t selection_text_offset_; 362 size_t selection_text_offset_;
363 363
364 // The current selection range relative to the start of the web page. 364 // The current selection range relative to the start of the web page.
365 ui::Range selection_range_; 365 ui::Range selection_range_;
366 366
367 private: 367 private:
368 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); 368 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView);
369 }; 369 };
370 370
371 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 371 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
OLDNEW
« no previous file with comments | « content/browser/plugin_loader_posix.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698