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

Side by Side Diff: chrome/browser/prerender/prerender_render_widget_host_view.h

Issue 6990072: The first step for enabling off-the-spot IME on Pepper on ChromeOS/Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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) 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 CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_WIDGET_HOST_VIEW_H_ 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_WIDGET_HOST_VIEW_H_
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_WIDGET_HOST_VIEW_H_ 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_WIDGET_HOST_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual void ImeCancelComposition() OVERRIDE; 52 virtual void ImeCancelComposition() OVERRIDE;
53 virtual void DidUpdateBackingStore( 53 virtual void DidUpdateBackingStore(
54 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 54 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
55 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; 55 const std::vector<gfx::Rect>& copy_rects) OVERRIDE;
56 virtual void RenderViewGone(base::TerminationStatus status, 56 virtual void RenderViewGone(base::TerminationStatus status,
57 int error_code) OVERRIDE; 57 int error_code) OVERRIDE;
58 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) OVERRIDE; 58 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) OVERRIDE;
59 virtual void Destroy() OVERRIDE; 59 virtual void Destroy() OVERRIDE;
60 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE; 60 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE;
61 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 61 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
62 62
oshima 2011/05/25 17:18:18 remove empty line
kinaba 2011/05/25 22:23:53 The whole change here is removed from the patch se
63 virtual void PpapiPluginFocusChanged(bool focused) OVERRIDE;
64
63 #if defined(OS_MACOSX) 65 #if defined(OS_MACOSX)
64 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; 66 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE;
65 virtual gfx::Rect GetViewCocoaBounds() const OVERRIDE; 67 virtual gfx::Rect GetViewCocoaBounds() const OVERRIDE;
66 virtual gfx::Rect GetRootWindowRect() OVERRIDE; 68 virtual gfx::Rect GetRootWindowRect() OVERRIDE;
67 virtual void SetActive(bool active) OVERRIDE; 69 virtual void SetActive(bool active) OVERRIDE;
68 virtual void SetWindowVisibility(bool visible) OVERRIDE; 70 virtual void SetWindowVisibility(bool visible) OVERRIDE;
69 virtual void WindowFrameChanged() OVERRIDE; 71 virtual void WindowFrameChanged() OVERRIDE;
70 virtual void PluginFocusChanged(bool focused, int plugin_id) OVERRIDE; 72 virtual void PluginFocusChanged(bool focused, int plugin_id) OVERRIDE;
71 virtual void StartPluginIme() OVERRIDE; 73 virtual void StartPluginIme() OVERRIDE;
72 virtual bool PostProcessEventForPluginIme( 74 virtual bool PostProcessEventForPluginIme(
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 gfx::Rect cocoa_view_bounds_; 126 gfx::Rect cocoa_view_bounds_;
125 gfx::Rect root_window_rect_; 127 gfx::Rect root_window_rect_;
126 #endif // defined(OS_MACOSX) 128 #endif // defined(OS_MACOSX)
127 129
128 DISALLOW_COPY_AND_ASSIGN(PrerenderRenderWidgetHostView); 130 DISALLOW_COPY_AND_ASSIGN(PrerenderRenderWidgetHostView);
129 }; 131 };
130 132
131 } // namespace prerender 133 } // namespace prerender
132 134
133 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_WIDGET_HOST_VIEW_H_ 135 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_WIDGET_HOST_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698