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

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

Issue 8402018: Fix build on the "Linux Clang (ChromeOS dbg)" bot. (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
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 // Moves all plugin windows as described in the given list. 103 // Moves all plugin windows as described in the given list.
104 virtual void MovePluginWindows( 104 virtual void MovePluginWindows(
105 const std::vector<webkit::npapi::WebPluginGeometry>& moves) = 0; 105 const std::vector<webkit::npapi::WebPluginGeometry>& moves) = 0;
106 106
107 // Actually set/take focus to/from the associated View component. 107 // Actually set/take focus to/from the associated View component.
108 virtual void Focus() = 0; 108 virtual void Focus() = 0;
109 virtual void Blur() = 0; 109 virtual void Blur() = 0;
110 110
111 // Returns true if the View currently has the focus. 111 // Returns true if the View currently has the focus.
112 virtual bool HasFocus() = 0; 112 virtual bool HasFocus() const = 0;
113 113
114 // Shows/hides the view. These must always be called together in pairs. 114 // Shows/hides the view. These must always be called together in pairs.
115 // It is not legal to call Hide() multiple times in a row. 115 // It is not legal to call Hide() multiple times in a row.
116 virtual void Show() = 0; 116 virtual void Show() = 0;
117 virtual void Hide() = 0; 117 virtual void Hide() = 0;
118 118
119 // Whether the view is showing. 119 // Whether the view is showing.
120 virtual bool IsShowing() = 0; 120 virtual bool IsShowing() = 0;
121 121
122 // Retrieve the bounds of the View, in screen coordinates. 122 // Retrieve the bounds of the View, in screen coordinates.
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 // mouse position just as mouse lock was entered; the movement they report 352 // mouse position just as mouse lock was entered; the movement they report
353 // indicates what the change in position of the mouse would be had it not been 353 // indicates what the change in position of the mouse would be had it not been
354 // locked. 354 // locked.
355 bool mouse_locked_; 355 bool mouse_locked_;
356 356
357 private: 357 private:
358 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); 358 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView);
359 }; 359 };
360 360
361 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 361 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698