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

Side by Side Diff: extensions/browser/app_window/app_window.h

Issue 503383002: Allow component IME extension use app.window and add 'ime' window type for app window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reviews Created 6 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_
6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ 6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 CreateParams(); 143 CreateParams();
144 ~CreateParams(); 144 ~CreateParams();
145 145
146 WindowType window_type; 146 WindowType window_type;
147 Frame frame; 147 Frame frame;
148 148
149 bool has_frame_color; 149 bool has_frame_color;
150 SkColor active_frame_color; 150 SkColor active_frame_color;
151 SkColor inactive_frame_color; 151 SkColor inactive_frame_color;
152 bool alpha_enabled; 152 bool alpha_enabled;
153 bool is_ime_window;
jackhou1 2014/09/15 03:49:33 I think you can remove this too if it's not used a
bshe 2014/09/16 12:44:56 This is still used in app_window_api.cc to remembe
153 154
154 // The initial content/inner bounds specification (excluding any window 155 // The initial content/inner bounds specification (excluding any window
155 // decorations). 156 // decorations).
156 BoundsSpecification content_spec; 157 BoundsSpecification content_spec;
157 158
158 // The initial window/outer bounds specification (including window 159 // The initial window/outer bounds specification (including window
159 // decorations). 160 // decorations).
160 BoundsSpecification window_spec; 161 BoundsSpecification window_spec;
161 162
162 std::string window_key; 163 std::string window_key;
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 547
547 // Whether |alpha_enabled| was set in the CreateParams. 548 // Whether |alpha_enabled| was set in the CreateParams.
548 bool requested_alpha_enabled_; 549 bool requested_alpha_enabled_;
549 550
550 DISALLOW_COPY_AND_ASSIGN(AppWindow); 551 DISALLOW_COPY_AND_ASSIGN(AppWindow);
551 }; 552 };
552 553
553 } // namespace extensions 554 } // namespace extensions
554 555
555 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ 556 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698