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

Side by Side Diff: content/browser/renderer_host/test_render_view_host.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 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 virtual void DidUpdateBackingStore( 84 virtual void DidUpdateBackingStore(
85 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 85 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
86 const std::vector<gfx::Rect>& rects) {} 86 const std::vector<gfx::Rect>& rects) {}
87 virtual void RenderViewGone(base::TerminationStatus status, 87 virtual void RenderViewGone(base::TerminationStatus status,
88 int error_code); 88 int error_code);
89 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } 89 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { }
90 virtual void Destroy() {} 90 virtual void Destroy() {}
91 virtual void PrepareToDestroy() {} 91 virtual void PrepareToDestroy() {}
92 virtual void SetTooltipText(const std::wstring& tooltip_text) {} 92 virtual void SetTooltipText(const std::wstring& tooltip_text) {}
93 virtual BackingStore* AllocBackingStore(const gfx::Size& size); 93 virtual BackingStore* AllocBackingStore(const gfx::Size& size);
94 virtual void PpapiPluginFocusChanged(bool focused) {}
94 #if defined(OS_MACOSX) 95 #if defined(OS_MACOSX)
95 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) {} 96 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) {}
96 virtual void ShowPopupWithItems(gfx::Rect bounds, 97 virtual void ShowPopupWithItems(gfx::Rect bounds,
97 int item_height, 98 int item_height,
98 double item_font_size, 99 double item_font_size,
99 int selected_item, 100 int selected_item,
100 const std::vector<WebMenuItem>& items, 101 const std::vector<WebMenuItem>& items,
101 bool right_aligned); 102 bool right_aligned);
102 virtual gfx::Rect GetViewCocoaBounds() const; 103 virtual gfx::Rect GetViewCocoaBounds() const;
103 virtual gfx::Rect GetRootWindowRect(); 104 virtual gfx::Rect GetRootWindowRect();
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 MockRenderProcessHostFactory rph_factory_; 316 MockRenderProcessHostFactory rph_factory_;
316 TestRenderViewHostFactory rvh_factory_; 317 TestRenderViewHostFactory rvh_factory_;
317 318
318 private: 319 private:
319 scoped_ptr<TestTabContents> contents_; 320 scoped_ptr<TestTabContents> contents_;
320 321
321 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 322 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
322 }; 323 };
323 324
324 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 325 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698