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

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

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: Created 6 years, 2 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
« no previous file with comments | « extensions/browser/app_window/app_window.h ('k') | extensions/common/api/_api_features.json » ('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 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 #include "extensions/browser/app_window/app_window.h" 5 #include "extensions/browser/app_window/app_window.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 // AppWindow::CreateParams 146 // AppWindow::CreateParams
147 147
148 AppWindow::CreateParams::CreateParams() 148 AppWindow::CreateParams::CreateParams()
149 : window_type(AppWindow::WINDOW_TYPE_DEFAULT), 149 : window_type(AppWindow::WINDOW_TYPE_DEFAULT),
150 frame(AppWindow::FRAME_CHROME), 150 frame(AppWindow::FRAME_CHROME),
151 has_frame_color(false), 151 has_frame_color(false),
152 active_frame_color(SK_ColorBLACK), 152 active_frame_color(SK_ColorBLACK),
153 inactive_frame_color(SK_ColorBLACK), 153 inactive_frame_color(SK_ColorBLACK),
154 alpha_enabled(false), 154 alpha_enabled(false),
155 is_ime_window(false),
155 creator_process_id(0), 156 creator_process_id(0),
156 state(ui::SHOW_STATE_DEFAULT), 157 state(ui::SHOW_STATE_DEFAULT),
157 hidden(false), 158 hidden(false),
158 resizable(true), 159 resizable(true),
159 focused(true), 160 focused(true),
160 always_on_top(false), 161 always_on_top(false),
161 visible_on_all_workspaces(false) { 162 visible_on_all_workspaces(false) {
162 } 163 }
163 164
164 AppWindow::CreateParams::~CreateParams() {} 165 AppWindow::CreateParams::~CreateParams() {}
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
1064 region.bounds.x(), 1065 region.bounds.x(),
1065 region.bounds.y(), 1066 region.bounds.y(),
1066 region.bounds.right(), 1067 region.bounds.right(),
1067 region.bounds.bottom(), 1068 region.bounds.bottom(),
1068 region.draggable ? SkRegion::kUnion_Op : SkRegion::kDifference_Op); 1069 region.draggable ? SkRegion::kUnion_Op : SkRegion::kDifference_Op);
1069 } 1070 }
1070 return sk_region; 1071 return sk_region;
1071 } 1072 }
1072 1073
1073 } // namespace extensions 1074 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/app_window/app_window.h ('k') | extensions/common/api/_api_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698