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

Side by Side Diff: webkit/glue/webwidget_impl.h

Issue 42495: A tricky fix for Issue 1845 (Take 2).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | « webkit/glue/webwidget.h ('k') | webkit/glue/webwidget_impl.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBWIDGET_IMPL_H__ 5 #ifndef WEBKIT_GLUE_WEBWIDGET_IMPL_H__
6 #define WEBKIT_GLUE_WEBWIDGET_IMPL_H__ 6 #define WEBKIT_GLUE_WEBWIDGET_IMPL_H__
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual bool HandleInputEvent(const WebInputEvent* input_event); 44 virtual bool HandleInputEvent(const WebInputEvent* input_event);
45 virtual void MouseCaptureLost(); 45 virtual void MouseCaptureLost();
46 virtual void SetFocus(bool enable); 46 virtual void SetFocus(bool enable);
47 virtual bool ImeSetComposition(int string_type, 47 virtual bool ImeSetComposition(int string_type,
48 int cursor_position, 48 int cursor_position,
49 int target_start, 49 int target_start,
50 int target_end, 50 int target_end,
51 const std::wstring& ime_string); 51 const std::wstring& ime_string);
52 virtual bool ImeUpdateStatus(bool* enable_ime, 52 virtual bool ImeUpdateStatus(bool* enable_ime,
53 gfx::Rect* caret_rect); 53 gfx::Rect* caret_rect);
54 virtual void SetTextDirection(WebTextDirection direction);
54 55
55 // WebWidgetImpl 56 // WebWidgetImpl
56 void Init(WebCore::FramelessScrollView* widget, const gfx::Rect& bounds); 57 void Init(WebCore::FramelessScrollView* widget, const gfx::Rect& bounds);
57 void InitWithItems(WebCore::FramelessScrollView* widget, 58 void InitWithItems(WebCore::FramelessScrollView* widget,
58 const gfx::Rect& bounds, 59 const gfx::Rect& bounds,
59 int item_height, 60 int item_height,
60 int selected_index, 61 int selected_index,
61 const std::vector<MenuItem>& items); 62 const std::vector<MenuItem>& items);
62 63
63 const gfx::Size& size() const { return size_; } 64 const gfx::Size& size() const { return size_; }
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 114
114 // This is a non-owning ref. The popup will notify us via popupClosed() 115 // This is a non-owning ref. The popup will notify us via popupClosed()
115 // before it is destroyed. 116 // before it is destroyed.
116 WebCore::FramelessScrollView* widget_; 117 WebCore::FramelessScrollView* widget_;
117 118
118 private: 119 private:
119 DISALLOW_COPY_AND_ASSIGN(WebWidgetImpl); 120 DISALLOW_COPY_AND_ASSIGN(WebWidgetImpl);
120 }; 121 };
121 122
122 #endif // WEBKIT_GLUE_WEBWIDGET_IMPL_H__ 123 #endif // WEBKIT_GLUE_WEBWIDGET_IMPL_H__
OLDNEW
« no previous file with comments | « webkit/glue/webwidget.h ('k') | webkit/glue/webwidget_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698