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

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

Issue 7041003: Show composition text on IME panel when Pepper plugin is focused (Linux). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A todo comment is reworded to be more correct. Created 9 years, 6 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 | « content/browser/renderer_host/render_widget_host_view.h ('k') | content/common/view_messages.h » ('j') | 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_TEST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual void Blur() {} 71 virtual void Blur() {}
72 virtual bool HasFocus(); 72 virtual bool HasFocus();
73 virtual void AdvanceFocus(bool reverse) {} 73 virtual void AdvanceFocus(bool reverse) {}
74 virtual void Show(); 74 virtual void Show();
75 virtual void Hide(); 75 virtual void Hide();
76 virtual bool IsShowing(); 76 virtual bool IsShowing();
77 virtual gfx::Rect GetViewBounds() const; 77 virtual gfx::Rect GetViewBounds() const;
78 virtual void SetIsLoading(bool is_loading) {} 78 virtual void SetIsLoading(bool is_loading) {}
79 virtual void UpdateCursor(const WebCursor& cursor) {} 79 virtual void UpdateCursor(const WebCursor& cursor) {}
80 virtual void UpdateCursorIfOverSelf() {} 80 virtual void UpdateCursorIfOverSelf() {}
81 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType state, 81 virtual void ImeUpdateTextInputState(ui::TextInputType state,
82 bool can_compose_inline,
82 const gfx::Rect& caret_rect) {} 83 const gfx::Rect& caret_rect) {}
83 virtual void ImeCancelComposition() {} 84 virtual void ImeCancelComposition() {}
84 virtual void DidUpdateBackingStore( 85 virtual void DidUpdateBackingStore(
85 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 86 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
86 const std::vector<gfx::Rect>& rects) {} 87 const std::vector<gfx::Rect>& rects) {}
87 virtual void RenderViewGone(base::TerminationStatus status, 88 virtual void RenderViewGone(base::TerminationStatus status,
88 int error_code); 89 int error_code);
89 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } 90 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { }
90 virtual void Destroy() {} 91 virtual void Destroy() {}
91 virtual void PrepareToDestroy() {} 92 virtual void PrepareToDestroy() {}
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 MockRenderProcessHostFactory rph_factory_; 318 MockRenderProcessHostFactory rph_factory_;
318 TestRenderViewHostFactory rvh_factory_; 319 TestRenderViewHostFactory rvh_factory_;
319 320
320 private: 321 private:
321 scoped_ptr<TestTabContents> contents_; 322 scoped_ptr<TestTabContents> contents_;
322 323
323 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 324 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
324 }; 325 };
325 326
326 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 327 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698