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

Side by Side Diff: chrome/browser/ui/libgtk2ui/gtk2_ui.h

Issue 1068093002: Refactoring for InputMethodAuraLinux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removes unexpected 229 keydown for non-IME users. Created 5 years, 8 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_UI_LIBGTK2UI_GTK2_UI_H_ 5 #ifndef CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_
6 #define CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ 6 #define CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 // Draws the GTK button border for state |gtk_state| onto a bitmap. 58 // Draws the GTK button border for state |gtk_state| onto a bitmap.
59 SkBitmap DrawGtkButtonBorder(int gtk_state, 59 SkBitmap DrawGtkButtonBorder(int gtk_state,
60 bool focused, 60 bool focused,
61 bool call_to_action, 61 bool call_to_action,
62 int width, 62 int width,
63 int height) const; 63 int height) const;
64 64
65 // ui::LinuxInputMethodContextFactory: 65 // ui::LinuxInputMethodContextFactory:
66 scoped_ptr<ui::LinuxInputMethodContext> CreateInputMethodContext( 66 scoped_ptr<ui::LinuxInputMethodContext> CreateInputMethodContext(
67 ui::LinuxInputMethodContextDelegate* delegate) const override; 67 ui::LinuxInputMethodContextDelegate* delegate,
68 bool is_simple) const override;
68 69
69 // gfx::LinuxFontDelegate: 70 // gfx::LinuxFontDelegate:
70 gfx::FontRenderParams GetDefaultFontRenderParams() const override; 71 gfx::FontRenderParams GetDefaultFontRenderParams() const override;
71 void GetDefaultFontDescription( 72 void GetDefaultFontDescription(
72 std::string* family_out, 73 std::string* family_out,
73 int* size_pixels_out, 74 int* size_pixels_out,
74 int* style_out, 75 int* style_out,
75 gfx::FontRenderParams* params_out) const override; 76 gfx::FontRenderParams* params_out) const override;
76 77
77 // ui::LinuxShellDialog: 78 // ui::LinuxShellDialog:
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 } // namespace libgtk2ui 275 } // namespace libgtk2ui
275 276
276 // Access point to the GTK2 desktop system. This should be the only symbol that 277 // Access point to the GTK2 desktop system. This should be the only symbol that
277 // is exported in the library; everything else should be used through the 278 // is exported in the library; everything else should be used through the
278 // interface, because eventually this .so will be loaded through dlopen at 279 // interface, because eventually this .so will be loaded through dlopen at
279 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or 280 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or
280 // QT or whatever. 281 // QT or whatever.
281 LIBGTK2UI_EXPORT views::LinuxUI* BuildGtk2UI(); 282 LIBGTK2UI_EXPORT views::LinuxUI* BuildGtk2UI();
282 283
283 #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ 284 #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698